CVE-2026-99775: xfrm: interface: validate the IP header on xmit
In the Linux kernel, the following vulnerability has been resolved:
xfrm: interface: validate the IP header on xmit
Packets injected into an xfrm interface (e.g. AFPACKET on an xfrmi device) reach the xfrm output path without IP header validation, but xfrm4transportoutput() uses iph->ihl for skbpull() and memmove() and expects the header to be valid.
vtitunnelxmit() already calls pskbinetmaypull() before handing packets to the xfrm output path. Do the same in xfrmixmit() and perform the header checks iprcvcore()/ip6rcvcore() do on entry to the IP stack: reject wrong IP versions and malformed IPv4 header lengths.
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.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.5 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.5-1
Event History
Frequently Asked Questions
Which deployments are most relevant to this issue?
Systems using xfrm interfaces are the relevant exposure area, particularly where packets can be injected into an xfrmi device, such as through AF_PACKET.
What does a malformed packet need to contain to reach the vulnerable handling?
The packet must reach the xfrm output path through an xfrm interface with an invalid IP header. The fix rejects incorrect IP versions and malformed IPv4 header lengths before xfrm output processing.
Are specific affected kernel versions identified?
No affected version ranges are provided in the available data. Three stable-kernel commit references are listed as fixes.