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: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel crash leading to denial of service
Action: Patch Kernel
AI Analysis

Impact

The Linux kernel’s BPF verifier incorrectly treats the first argument of the sched_process_wait tracepoint as a non‑nullable pointer. A BPF program that does not perform a NULL check can cause the kernel to dereference a NULL value, leading to a kernel panic and system-wide denial of service. The flaw does not grant remote code execution or privilege escalation beyond the ability to load a BPF program, which typically requires CAP_SYS_ADMIN or root privileges. Based on the description, it is inferred that an attacker must be able to load BPF programs, so the exploit is limited to local or privileged contexts.

Affected Systems

All Linux kernel releases that have not yet incorporated the patch that marks the sched_process_wait argument as nullable are affected. No specific version range is provided; therefore, any kernel build before the fix, regardless of distribution, is vulnerable.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, while the EPSS < 1% points to a low likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires the ability to load BPF programs with sufficient privileges; without such privileges, the flaw cannot be leveraged. The overall risk is thus moderate in environments where untrusted or uncontrolled BPF programs are allowed and where local privileged access is possible.

Generated by OpenCVE AI on September 30, 2026 at 09:29 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that incorporates the fix for sched_process_wait nullability.
  • Restrict BPF program loading to users with CAP_SYS_ADMIN or root, preventing untrusted users from injecting potentially dangerous programs.
  • If the sched_process_wait tracepoint is not required, disable or restrict access to the raw BPF subsystem via kernel configuration or runtime sysctl to reduce the attack surface.

Generated by OpenCVE AI on September 30, 2026 at 09:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


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 : Awaiting Analysis

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

Modified: 2026-09-30T14:10:59.253

Link: CVE-2026-98059

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-98059 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T09:30:18Z

Weaknesses