Skip to main content
VulnerabilityPublished

CVE-2026-139317: Linux kernel · bpf: Don't saturate owner_refcnt on the last unpin

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited : upgrade to f2c55a9b936da22525988d9040f528d6feb78359 or 30a140c9d479974021f5c3eecb64415c96419c3f when convenient.

Data as of 30 Nov 2026, 14:00 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in f2c55a9b936da22525988d9040f528d6feb78359, 30a140c9d479974021f5c3eecb64415c96419c3f

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 f2c55a9b936da22525988d9040f528d6feb78359 or 30a140c9d479974021f5c3eecb64415c96419c3f.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 5d800f87d0a5ea1b156c47a4b9fd128479335153, < f2c55a9b936da22525988d9040f528d6feb78359
Fixed in
  • f2c55a9b936da22525988d9040f528d6feb78359
LinuxLinuxAffected
  • ≥ 5d800f87d0a5ea1b156c47a4b9fd128479335153, < 30a140c9d479974021f5c3eecb64415c96419c3f
Fixed in
  • 30a140c9d479974021f5c3eecb64415c96419c3f
LinuxLinuxAffected
  • =7.0
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Don't saturate owner_refcnt on the last unpin bpf_local_storage_map_free() pins the owner with refcount_inc_not_zero() while it uncharges an element. The pin counts when bpf_local_storage_destroy() could not get local_storage->lock: destroy() then goes on, drops the owner's reference and spins until the count is zero. So the pin is the last reference whenever it is needed, and refcount_dec() takes that for a bug: it warns "decrement hit 0; leaking memory" and saturates the count. Unless destroy() happens to read the count between the two stores it spins for ever, under rcu_read_lock(). Drop the pin with refcount_dec_and_test().

References

Community reviews

Loading reviews…