Skip to main content
VulnerabilityPublished

CVE-2026-139312: Linux kernel · bpf: Fix NULL deref in the sk_storage map iterator

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited : upgrade to cf71608b8ac11bca93da9f961d88c27c5f07d918 or 6186c9711ac6fb984f6c2093c52bf4e827cc50b1 when convenient.

Data as of 30 Nov 2026, 13:46 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in cf71608b8ac11bca93da9f961d88c27c5f07d918, 6186c9711ac6fb984f6c2093c52bf4e827cc50b1

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 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 30 Nov 2026.

What to do

Upgrade Linux kernel to cf71608b8ac11bca93da9f961d88c27c5f07d918 or 6186c9711ac6fb984f6c2093c52bf4e827cc50b1.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 0be08389c7f2f9db0194ee666d2e4870886e6ffb, < cf71608b8ac11bca93da9f961d88c27c5f07d918
Fixed in
  • cf71608b8ac11bca93da9f961d88c27c5f07d918
LinuxLinuxAffected
  • ≥ 0be08389c7f2f9db0194ee666d2e4870886e6ffb, < 6186c9711ac6fb984f6c2093c52bf4e827cc50b1
Fixed in
  • 6186c9711ac6fb984f6c2093c52bf4e827cc50b1
LinuxLinuxAffected
  • =7.0
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix NULL deref in the sk_storage map iterator bpf_sk_storage_map_seq_find_next() hands out an element only if its local_storage pointer is set. __bpf_sk_storage_map_seq_show() then reads the pointer a second time and dereferences it without a test. Since bpf_local_storage_destroy() unlinks the elements with bpf_selem_unlink_nofail(), the pointer is reset to NULL when the socket which owns the element is destroyed, so it can change between the two reads. Reading the iterator while sockets with an element in the map are closed ends in a NULL pointer dereference. The sockets need not belong to the reader: where a program gives every new socket an element, an unprivileged user who opens and closes sockets is enough. Skip such an element, as the TCP and UDP iterators skip a socket which has been unhashed.

References

Community reviews

Loading reviews…