{"id":"CVE-2026-142955","summary":"fou: reserve headroom before pushing the encap header","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfou: reserve headroom before pushing the encap header\n\nip_tunnel_xmit() and ip_md_tunnel_xmit() push the encap header before\nreserving headroom. A packet redirected into the tunnel (tc mirred, nft\nfwd/dup) keeps the headroom of its original device, so fou_build_udp()\npanics:\n\n  kernel BUG at net/core/skbuff.c:214!\n  Call Trace:\n   skb_push+0xcc/0xf0\n   fou_build_udp+0x2f/0x380\n   gue_build_header+0xfa/0x150\n   ip_tunnel_xmit+0x87f/0x21c0\n\nWith a mirred mirror, the push overwrites the original packet instead.\nReachable with CAP_NET_ADMIN in a user namespace.\n\nReserve the headroom in fou_build_header() and gue_build_header(); GUE\nsizes and builds the header from one copy of the encap fields. The skb\nhead may move, so reload inner_iph after ip_tunnel_encap() and read\ntnl_params, which points into the head for GRE with header_ops, before\nthe call. sit's ipip6_tunnel_xmit() holds no head pointer across it.","modified":"2026-12-03T11:00:28.889724692Z","published":"2026-12-03T09:16:43.722Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142955.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0b5b7546a7f5c0f8806d213dd3991fe4b358c97d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/20401d3a2a551512c5bdc2cf02311ef1eec475af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bcb42672751a8786dce871a35bde363b041cb2f7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f81bb46c2c053b7553f1efa9841d67dc52315c17"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142955.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142955"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"56328486539ddd07cbaafec7a542a2c8a3043623"},{"fixed":"0b5b7546a7f5c0f8806d213dd3991fe4b358c97d"},{"fixed":"f81bb46c2c053b7553f1efa9841d67dc52315c17"},{"fixed":"20401d3a2a551512c5bdc2cf02311ef1eec475af"},{"fixed":"bcb42672751a8786dce871a35bde363b041cb2f7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142955.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.18.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142955.json"}}],"schema_version":"1.9.2"}