Skip to main content
VulnerabilityPublished

CVE-2026-143350: Linux kernel · bpf: lwt: Free the skb when bpf_xmit() fails to expand the headroom

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in eeb76b21f13aea28d9123feaeaf03cde7db681c0 : update Linux kernel when convenient.

Data as of 3 Dec 2026, 10:00 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in eeb76b21f13aea28d9123feaeaf03cde7db681c0, e874c6f8d3dd0369764b44db40b01011821cfadc, 02315d8352c9dc80075a6cfa493f62369324ec4c +3

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2, < eeb76b21f13aea28d9123feaeaf03cde7db681c0
Fixed in
  • eeb76b21f13aea28d9123feaeaf03cde7db681c0
LinuxLinuxAffected
  • ≥ 3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2, < e874c6f8d3dd0369764b44db40b01011821cfadc
Fixed in
  • e874c6f8d3dd0369764b44db40b01011821cfadc
LinuxLinuxAffected
  • ≥ 3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2, < 02315d8352c9dc80075a6cfa493f62369324ec4c
Fixed in
  • 02315d8352c9dc80075a6cfa493f62369324ec4c
LinuxLinuxAffected
  • ≥ 3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2, < 28aaef6f21fe0288bd7f0472af07df30df89647d
Fixed in
  • 28aaef6f21fe0288bd7f0472af07df30df89647d
LinuxLinuxAffected
  • ≥ 3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2, < 5fe7b2bdf2784d5b3614208d4f9d0c37a5137f9a
Fixed in
  • 5fe7b2bdf2784d5b3614208d4f9d0c37a5137f9a
LinuxLinuxAffected
  • ≥ 3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2, < 5e96760b25fdedbbf9312827f1f237d6b18b03e8
Fixed in
  • 5e96760b25fdedbbf9312827f1f237d6b18b03e8

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: lwt: Free the skb when bpf_xmit() fails to expand the headroom When an LWT xmit program returns BPF_OK, bpf_xmit() makes sure that the skb still has room for the link layer header. If pskb_expand_head() fails there, bpf_xmit() returns -ENOMEM without freeing the skb. Its callers, lwtunnel_xmit() and then ip_finish_output2() or ip6_finish_output2(), take any return value other than LWTUNNEL_XMIT_CONTINUE to mean that the skb has been consumed, so nothing frees it. Each such failure leaks the skb, together with what it holds: its dst and its charge to the sending socket, so the socket is never freed either. The other error paths of bpf_xmit() (BPF_DROP, an illegal return code, a changed protocol, a failed reroute) all free the skb. Free it here too. The leak was found with kbound, a static analysis prototype for ownership mismatches at kernel interfaces, on v7.2.12; it is present in mainline. Build-tested with x86_64 and arm64 allmodconfig (W=1, sparse): no new warnings. Run-tested on QEMU (x86_64, KVM) with KASAN: a route through a dummy device with an LWT xmit program that pushes one byte with bpf_skb_change_head(), so the headroom check has to expand the head, and failslab limited to allocations under bpf_xmit(). Each of 10 pings then fails with ENOMEM. Without this patch each leaves a raw socket behind (RAW slab objects 6 -> 16); with it none does (6 -> 6), and nothing else is reported. Without injection both kernels go from 6 to 6.

References

Community reviews

Loading reviews…