CVE-2026-142822: ipmr: drop packets with unknown ingress VIF
In the Linux kernel, the following vulnerability has been resolved:
ipmr: drop packets with unknown ingress VIF
A packet can race with VIF publication and make ipmrfindvif() return -1 even though the VIF device pointer is already visible. The parent VIF device check can then pass with an invalid ingress VIF. For (,G) entries, this can also let the packet be forwarded back out its ingress VIF.
Drop packets whose ingress VIF lookup fails in both IPv4 and IPv6 forwarding, before checking the MFC parent device. This prevents forwarding with an unknown ingress VIF and avoids the (,G) hairpin.
Without the early check, the negative index can reach the IPv4 offload lookup only for an skb marked for L3 forwarding offload, currently done by mlxsw. The race is rare; the supplied PoC reports only the UBSAN negative-index diagnostic.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.64 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4
Event History
Frequently Asked Questions
Which systems are most likely to be exposed to this issue?
Systems using IPv4 or IPv6 multicast forwarding with virtual interfaces (VIFs) are relevant, because the flaw occurs during VIF publication. The negative-index reachability in the IPv4 offload lookup is currently associated with packets marked for L3 forwarding offload by mlxsw.
What must occur for the flaw to be triggered?
A packet must race with VIF publication so that the VIF device pointer is visible but the ingress VIF lookup still returns -1. This can allow forwarding to proceed with an unknown ingress VIF; for (*,G) multicast entries, it can forward the packet back through its ingress VIF.
How can an affected system be identified?
The supplied proof of concept reports a UBSAN negative-index diagnostic. The race is described as rare, and no other detection indicator is provided.