VDB

CVE-2026-98059

CVE-2026-98059 PUBLISHED

bpf: Mark sched_process_wait argument as nullable

Reported by linux · Published September 25, 2026

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.

EPSS 0.12% · 2.0th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perf6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.111-136.204.amzn2023
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.54-121.166.amzn2023
LinuxLinux6.13

Risk scores

EPSS Score
0.12%
2.0th percentile

Affected products

VendorProductVersions
LinuxLinuxb2fc4b17fc13810ef440fb323fad3981cd174985, 838a10bd2ebfe11a60dd67687533a7cfc220cc86, 838a10bd2ebfe11a60dd67687533a7cfc220cc86
LinuxLinux6.13, 0, 6.12.111
amazon:2023perf6.120
amazon:2023kernel6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-modules-extra0
LinuxLinux7.3, *, 838a10bd2ebfe11a60dd67687533a7cfc220cc86
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-headers0
amazon:2023kernel-livepatch-6.12.111-136.2040
amazon:2023kernel6.18-tools0
amazon:2023bpftool6.180
amazon:2023perf6.180
linuxlinux_kernel6.12.6, 6.13, 6.13
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.180
amazon:2023kernel-livepatch-6.18.54-121.1660

…and 7 more

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (6 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98059
vulnetix vdb fixes CVE-2026-98059

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98059/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›