Description
In the Linux kernel, the following vulnerability has been resolved:

bpf: Mark sched_process_wait argument as nullable

do_wait() passes wo->wo_pid to the sched_process_wait tracepoint.
kernel_wait4() leaves wo_pid NULL for wait4(-1), and
kernel_waitid_prepare() does likewise for waitid(P_ALL).

btf_ctx_access() currently types argument 0 as PTR_TO_BTF_ID |
PTR_TRUSTED. Without PTR_MAYBE_NULL, the verifier accepts an unchecked
dereference. Trusted pointer loads have no fault protection, so a wait for
any child can then cause a NULL pointer dereference in JITed BPF code.

Add sched_process_wait to raw_tp_null_args[] with argument 0 marked
nullable. The verifier rejects an unchecked dereference while preserving
access after the program checks the pointer for NULL.
Published: 2026-09-25
Score: n/a
EPSS: n/a
KEV: No
Impact: Kernel crash leading to denial of service
Action: Patch Kernel
AI Analysis

Impact

The vulnerability resides in the Linux kernel’s BPF subsystem where the sched_process_wait tracepoint receives a PID argument that may be NULL. The BPF verifier assumes the pointer is non‑nullable and therefore allows an unchecked dereference in JIT‑compiled BPF code. When such a program dereferences the NULL pointer, the kernel crashes, resulting in a denial of service. The flaw does not provide code execution or privilege escalation beyond the ability to load or manipulate BPF programs.

Affected Systems

All Linux kernel releases prior to the inclusion of the patch that marks the sched_process_wait argument as nullable are affected. The affected distribution is any Linux kernel shipped by any vendor that has not yet incorporated this fix; no specific version range is provided, so the vulnerability applies to all kernels before the patch.

Risk and Exploitability

The CVSS score is not supplied, and the EPSS score is unavailable, with no listing in CISA’s KEV catalog. Exploitation requires the ability to load BPF programs with sufficient privileges (e.g., CAP_SYS_ADMIN or other BPF capabilities). Attackers manipulating trusted BPF code can trigger a kernel crash, causing service disruption. The risk is therefore significant for environments where non‑trusted or uncontrolled BPF programs are allowed; however, it is limited to local privilege or the ability to inject BPF code.

Generated by OpenCVE AI on September 25, 2026 at 16:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the security fix for sched_process_wait nullability.
  • Limit BPF program loading to trusted users only, enforcing CAP_SYS_ADMIN boundaries or applying BPF capability filters to prevent untrusted code from executing.
  • If the affected functionality is not required, disable the raw BPF subsystem or the specific sched_process_wait tracepoint via kernel configuration or runtime controls to reduce the attack surface.

Generated by OpenCVE AI on September 25, 2026 at 16:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Weaknesses CWE-476

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 sched_process_wait argument as nullable do_wait() passes wo->wo_pid to the sched_process_wait tracepoint. kernel_wait4() leaves wo_pid NULL for wait4(-1), and kernel_waitid_prepare() does likewise for waitid(P_ALL). btf_ctx_access() currently types argument 0 as PTR_TO_BTF_ID | PTR_TRUSTED. Without PTR_MAYBE_NULL, the verifier accepts an unchecked dereference. Trusted pointer loads have no fault protection, so a wait for any child can then cause a NULL pointer dereference in JITed BPF code. Add sched_process_wait to raw_tp_null_args[] with argument 0 marked nullable. The verifier rejects an unchecked dereference while preserving access after the program checks the pointer for NULL.
Title bpf: Mark sched_process_wait argument as nullable
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:24:04.788Z

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

Link: CVE-2026-98059

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-98059

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T16:30:15Z

Weaknesses