CVE-2026-98059
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| Linux | Linux | 6.13 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b2fc4b17fc13810ef440fb323fad3981cd174985, 838a10bd2ebfe11a60dd67687533a7cfc220cc86, 838a10bd2ebfe11a60dd67687533a7cfc220cc86 |
| Linux | Linux | 6.13, 0, 6.12.111 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| Linux | Linux | 7.3, *, 838a10bd2ebfe11a60dd67687533a7cfc220cc86 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-livepatch-6.12.111-136.204 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| linux | linux_kernel | 6.12.6, 6.13, 6.13 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
…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