bpf: Mark faultable stack helpers as sleepable
Summary
| CVE | CVE-2026-98045 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-25 11:17:33 UTC |
| Updated | 2026-09-25 11:17:33 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
bpf: Mark faultable stack helpers as sleepable
The faultable variants of bpf_get_stack() and bpf_get_task_stack() pass
may_fault=true into the common stack collection code. Resolving user-space
build IDs may then call build_id_parse_file() and block on filesystem
reads.
Neither helper prototype sets might_sleep. Since prototype selection uses
the sleepability of the whole program, the verifier can still allow these
helpers from a non-sleepable region within that program, such as an
explicit RCU or preemption-disabled region. The task-stack helper can also
be called from a non-sleepable timer callback of a sleepable program.
Mark both faultable prototypes as sleepable. The existing helper context
check then rejects these calls while continuing to allow them in genuinely
sleepable contexts. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected d4dd9775ec242425576af93daadb80a34083a53c 44b8d370f2725bad215da3e67668e98ba96671bd git |
Not specified |
| CNA |
Linux |
Linux |
affected d4dd9775ec242425576af93daadb80a34083a53c 3014e8a8bdad55075d89836ad9c10710a9a69837 git |
Not specified |
| CNA |
Linux |
Linux |
affected d4dd9775ec242425576af93daadb80a34083a53c 19e8d5a98afd071d8c1c5adeccf92b3c42eddc70 git |
Not specified |
| CNA |
Linux |
Linux |
affected d4dd9775ec242425576af93daadb80a34083a53c 9d02927fdf4e930893c92e35fed01a2704496900 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.12 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.111 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.53 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.7 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3-rc2 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/19e8d5a98afd071d8c1c5adeccf92b3c42eddc70 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/3014e8a8bdad55075d89836ad9c10710a9a69837 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/44b8d370f2725bad215da3e67668e98ba96671bd |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/9d02927fdf4e930893c92e35fed01a2704496900 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.