CVE-2026-98045

bpf: Mark faultable stack helpers as sleepable

State
Published
Severity
Not scored
Published
Sep 25, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d4dd9775ec242425576af93daadb80a34083a53c to before 44b8d370f2725bad215da3e67668e98ba96671bdAffected
  • d4dd9775ec242425576af93daadb80a34083a53c to before 3014e8a8bdad55075d89836ad9c10710a9a69837Affected
  • d4dd9775ec242425576af93daadb80a34083a53c to before 19e8d5a98afd071d8c1c5adeccf92b3c42eddc70Affected
  • d4dd9775ec242425576af93daadb80a34083a53c to before 9d02927fdf4e930893c92e35fed01a2704496900Affected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.