What is CVE-2026-139317?
CVE-2026-139317 is a vulnerability in Linux, published on 30 Nov 2026.
Official 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().
Which versions are affected by CVE-2026-139317?
How do I fix CVE-2026-139317?
Upgrade to a fixed version.
Is CVE-2026-139317 being exploited?
There is no known exploitation of CVE-2026-139317 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-139317, GHSA-c3rw-f82g-955x, UBUNTU-CVE-2026-139317.