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.
Published: 2026-09-25
Score: n/a
EPSS: n/a
KEV: No
Impact: Kernel Denial of Service
Action: Patch Kernel
AI Analysis

Impact

The Linux kernel BPF subsystem did not correctly mark the faultable stack helpers bpf_get_stack() and bpf_get_task_stack() as sleepable. These helpers can trigger filesystem reads during build‑ID resolution, which may block if the filesystem is slow or unavailable. Because the prototypes lacked the may_sleep flag, the verifier could permit their use from non‑sleepable contexts such as RCU or preemption‑disabled regions. The likely effect is that the kernel could hang or become unresponsive when such a helper is invoked from a non‑sleepable context, resulting in a denial of service for the entire system.

Affected Systems

All Linux kernel releases prior to the application of the relevant patch commit are affected. The vulnerability is present in the core Linux kernel itself; no specific distribution version is enumerated, so any running system with an unpatched kernel that includes the vulnerable helper prototypes is at risk.

Risk and Exploitability

Exploitation requires that an attacker be able to load a BPF program that calls the affected helpers from a non‑sleepable region, such as a preemption‑disabled or RCU context. This typically demands elevated privileges, for example root or an entity with the ability to load privileged eBPF programs. The vulnerability is therefore not remotely exploitable by unprivileged users, but it can be leveraged by attackers who compromise the kernel. The EPSS score is not available and the vulnerability is not listed in CISA's KEV catalogue. The CVSS score was not supplied in the data, but the nature of the flaw—causing kernel blocking and a full system denial of service—implies at least medium to high severity for a privileged attacker.

Generated by OpenCVE AI on September 25, 2026 at 19:17 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the system to a Linux kernel version that includes the patch marking faultable stack helpers as sleepable.
  • Audit existing BPF programs and remove or modify any that invoke bpf_get_stack or bpf_get_task_stack from non‑sleepable contexts, ensuring that such helpers are only used in genuinely sleepable code paths.
  • Configure kernel logging and monitoring to capture BPF verifier errors or prolonged blocking events, and alert administrators to potential hangs during BPF execution.

Generated by OpenCVE AI on September 25, 2026 at 19:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
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.
Title bpf: Mark faultable stack helpers as sleepable
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-25T10:23:56.089Z

Reserved: 2026-09-25T10:19:56.071Z

Link: CVE-2026-98045

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:33.330

Modified: 2026-09-25T11:17:33.330

Link: CVE-2026-98045

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T19:30:20Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling