AZL-118505: CVE-2026-143289 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ipmr, ip6mr: queue netlink route queries out of band
ipmrgetroute() and ip6mrgetroute() queue synthetic skbs on the unresolved MFC entry to answer RTMGETROUTE requests once the route is resolved. These skbs carry a fake IP header with version 0, and ipmrcacheresolve(), ipmrdestroyunres(), ip6mrcacheresolve() and ip6mrdestroyunres() 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 iprcvcore() and ip6rcvcore(). 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 ip6mrinput() 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, mrfillmroute() may call skbput() on a nonlinear skb (hitting SKBLINEARASSERT()), and the skb is unicast to a netlink portid taken from stale IPCB/IP6CB bytes in skb->cb[].
ipmrcachereport() 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 nlqueries list in the unresolved MFC entry, and pass an explicit nlquery 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.
Affected Software
Event History
Frequently Asked Questions
What conditions make systems realistically exposed to this issue?
Exposure requires IPv4 multicast routing (ipmr) or IPv6 multicast routing (ip6mr) to process a packet for which no multicast forwarding cache entry exists. The described paths include a netfilter PREROUTING hook that can alter the first IP header byte, such as an nftables payload statement in an unprivileged user namespace, or an SRv6 End.DX6 decapsulation path lacking an inner IPv6 version check.
What does an attacker need to do to trigger the vulnerable handling?
An attacker needs to cause a packet queued on an unresolved multicast forwarding cache entry to have its IP version byte changed to zero after the normal IP version validation. This can make the kernel mistake the packet for a synthetic netlink route query when the cache entry is later resolved or destroyed.
What could indicate that this issue has been triggered?
The description identifies a possible SKB_LINEAR_ASSERT() hit when mr_fill_mroute() calls skb_put() on a nonlinear skb. The affected handling can also unicast packet contents to a netlink port ID derived from stale IPCB/IP6CB data.