CVE-2026-139305
publishedbpf: Count sleepable callbacks as sleepable map users
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8e83da9732d91c60fdc651b2486c8e5935eb0ca2 to < dcbbe0e979d766ed4eddf25308eb54cd13c10b62 · 8e83da9732d91c60fdc651b2486c8e5935eb0ca2 to < 29c908a15d033256d9434cce335db4f8f6719d7f · 8e83da9732d91c60fdc651b2486c8e5935eb0ca2 to < dfe90eecac8eb29071dc66418f15f550d6ddff0e · 8e83da9732d91c60fdc651b2486c8e5935eb0ca2 to < 927c9c985f3ef4d30c086884b7e0ecb933f742ef · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.12.120 through 6.12.* (unaffected · semver) · 6.18.66 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8e83da9732d91c60fdc651b2486c8e5935eb0ca2 to < dcbbe0e979d766ed4eddf25308eb54cd13c10b62 (affected · git)8e83da9732d91c60fdc651b2486c8e5935eb0ca2 to < 29c908a15d033256d9434cce335db4f8f6719d7f (affected · git)8e83da9732d91c60fdc651b2486c8e5935eb0ca2 to < dfe90eecac8eb29071dc66418f15f550d6ddff0e (affected · git)8e83da9732d91c60fdc651b2486c8e5935eb0ca2 to < 927c9c985f3ef4d30c086884b7e0ecb933f742ef (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.12.120 through 6.12.* (unaffected · semver)6.18.66 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
bpf: Count sleepable callbacks as sleepable map users
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f8b591d57535be87ed82132ac605a41ace1c934f672c01c8e6c44a47ebe2e0df
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record