CVE-2026-142955

Source
https://cve.org/CVERecord?id=CVE-2026-142955
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142955.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142955
Downstream
Published
2026-12-03T09:16:43Z
Modified
2026-12-03T11:00:28Z
Summary
fou: reserve headroom before pushing the encap header
Details

In the Linux kernel, the following vulnerability has been resolved:

fou: reserve headroom before pushing the encap header

ip_tunnel_xmit() and ip_md_tunnel_xmit() push the encap header before reserving headroom. A packet redirected into the tunnel (tc mirred, nft fwd/dup) keeps the headroom of its original device, so fou_build_udp() panics:

kernel BUG at net/core/skbuff.c:214! Call Trace: skb_push+0xcc/0xf0 fou_build_udp+0x2f/0x380 gue_build_header+0xfa/0x150 ip_tunnel_xmit+0x87f/0x21c0

With a mirred mirror, the push overwrites the original packet instead. Reachable with CAP_NET_ADMIN in a user namespace.

Reserve the headroom in fou_build_header() and gue_build_header(); GUE sizes and builds the header from one copy of the encap fields. The skb head may move, so reload inner_iph after ip_tunnel_encap() and read tnl_params, which points into the head for GRE with header_ops, before the call. sit's ipip6_tunnel_xmit() holds no head pointer across it.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142955.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"