CVE-2026-143289: ipmr, ip6mr: queue netlink route queries out of band

Published Dec 3, 2026
·
Updated

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.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:21 AM
Data Sourced
via MITRE·09:21 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203