# CVE-2026-143289

- Bağlantı: https://www.allsafe.com.tr/cve-2026-143289/
- Yayımlanma: 2026-12-03T13:18:13+03:00
- Yazar: Postmaster

In the Linux kernel, the following vulnerability has been resolved:

ipmr, ip6mr: queue netlink route queries out of band

ipmr_get_route() and ip6mr_get_route() queue synthetic skbs on the
 unresolved MFC
entry to answer RTM_GETROUTE requests once the route is resolved. These skbs carry
a fake IP header with version 0, and ipmr_cache_resolve(), ipmr_destroy_unres(),
ip6mr_cache_resolve() and ip6mr_destroy_unres() rely on this in-band tag to tell
them apart from regular packets queued by the input and output paths.

The IP version is only validated once, in ip_rcv_core() and
 ip6_rcv_core(). A netfilter
hook running later, for instance an nftables payload statement in a PREROUTING chain
owned by an unprivileged user namespace, can rewrite the first header byte to zero.
The SRv6 End.DX6 action also passes the decapsulated packet to ip6_mr_input() without
checking that the inner header version is 6. If no MFC entry exists, the packet 
is queued and later handled as a netlink request: its payload is treated as an nlmsghdr
and written to, mr_fill_mroute() may call skb_put() on a nonlinear skb (hitting 
SKB_LINEAR_ASSERT()), and the skb is unicast to a netlink portid taken from stale
IPCB/IP6CB bytes in skb->cb[].

ipmr_cache_report() also relies on the same tag since
 commit 94a6736bb5ab ("ipmr:
only copy pktinfo to cache reports").

Stop trusting packet contents: queue route queries on a dedicated
 nl_queries list
in the unresolved MFC entry, and pass an explicit nl_query flag from the callers.

The per-entry limit of four queued skbs now applies to both lists
 combined, as 
before. The synthetic header keeps version 0, since it is copied into the NOCACHE
report delivered to the mroute socket.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-143289)
