# CVE-2026-98045: bpf: Mark faultable stack helpers as sleepable

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 6% of CVEs (2026-11-30)
- Published: 2026-09-25T10:23:56.089Z
- Modified: 2026-10-19T10:17:58.390Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d4dd9775ec242425576af93daadb80a34083a53c before 44b8d370f2725bad215da3e67668e98ba96671bd; from d4dd9775ec242425576af93daadb80a34083a53c before 3014e8a8bdad55075d89836ad9c10710a9a69837; from d4dd9775ec242425576af93daadb80a34083a53c before 19e8d5a98afd071d8c1c5adeccf92b3c42eddc70; from d4dd9775ec242425576af93daadb80a34083a53c before 9d02927fdf4e930893c92e35fed01a2704496900; 6.12 (not affected: before 6.12; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/44b8d370f2725bad215da3e67668e98ba96671bd>
- <https://git.kernel.org/stable/c/3014e8a8bdad55075d89836ad9c10710a9a69837>
- <https://git.kernel.org/stable/c/19e8d5a98afd071d8c1c5adeccf92b3c42eddc70>
- <https://git.kernel.org/stable/c/9d02927fdf4e930893c92e35fed01a2704496900>

## Sources

- CVE List: [CVE-2026-98045](https://www.cve.org/CVERecord?id=CVE-2026-98045), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98045](https://nvd.nist.gov/vuln/detail/CVE-2026-98045), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98045 · Whole record: https://cve.day/CVE-2026-98045.json · Rebuilt by cve.day 2026-11-25T22:59:41.034Z
