CVE-2026-139305

Not scored yetLast modified Nov 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Count sleepable callbacks as sleepable map users

map->sleepable_refcnt tells bpf_map_fd_put_ptr() whether an inner map that is taken out of its outer map has to wait for an RCU Tasks Trace grace period as well. It counts the sleepable programs that use the outer map. The bpf_wq or bpf_task_work callback of a program that is not sleepable runs under rcu_read_lock_trace() only, and is not counted.

Such a callback can look an inner map up and keep it while user space deletes it from the outer map. The inner map is freed behind a plain RCU grace period, under the callback:

BUG: KASAN: slab-use-after-free in array_map_update_elem+0x6bc/0x7d0

Count a program with such a callback. The maps are bound before the verifier meets the callback, so raise the count of those that are bound when it does.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139306In the Linux kernel, the following vulnerability has been resolved: bpf: Keep a program until its bpf_wq callback has ended bpf_wq_work() CVE-2026-139307In the Linux kernel, the following vulnerability has been resolved: bpf: Don't bind a program to a netdev that goes away bpf_prog_dev_bounCVE-2026-139308In the Linux kernel, the following vulnerability has been resolved: bpf: Fix stale offload->prog pointer after realloc bpf_prog_realloc() CVE-2026-139309In the Linux kernel, the following vulnerability has been resolved: bpf: Bound the nesting that the BTF show code follows btf_struct_show(CVE-2026-139316.5Inappropriate implementation in Media in Google Chrome on Windows prior to 150.0.7871.47 allowed a remote attacker who had compromised the rCVE-2026-139310In the Linux kernel, the following vulnerability has been resolved: bpf: Hold the socket in the sk_storage map iterator The iterator over CVE-2026-139311In the Linux kernel, the following vulnerability has been resolved: bpf: Link the first element after its storage is published bpf_local_sCVE-2026-139312In the Linux kernel, the following vulnerability has been resolved: bpf: Fix NULL deref in the sk_storage map iterator bpf_sk_storage_map_CVE-2026-139313In the Linux kernel, the following vulnerability has been resolved: bpf: Clear sk_refcnt of a clone before its storage is linked sk_clone(CVE-2026-139314In the Linux kernel, the following vulnerability has been resolved: bpf: Update the SRH state if End.B6 fails late For SEG6_LOCAL_ACTION_ECVE-2026-139315In the Linux kernel, the following vulnerability has been resolved: bpf: Pull the inner header for End.DT6 in End.BPF bpf_lwt_seg6_action(CVE-2026-1393168.1In the Linux kernel, the following vulnerability has been resolved: bpf: Validate the SRH which End.DT6 uncovers in End.BPF input_action_e
CVE-2026-139305: Unscored | Vulnix