CVE-2026-139317
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().
Affected versions
Linux kernel versions
7.0
and later are affected. Fixed in
7.3.6,
7.4-rc1
and their respective stable series.
References
2 totalFrequently asked questions
-
What is CVE-2026-139317?
CVE-2026-139317 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 7.0 onward and has been patched in 7.3.6 and 7.4-rc1. CVE-2026-139317 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2026-139317?
Yes. CVE-2026-139317 has been patched. Fixed versions include 7.3.6 and 7.4-rc1. If you are running Linux kernel 7.0 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-139317 actively exploited?
No. CVE-2026-139317 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.