CVE-2026-98477
perf/core: Fix NULL pmu_ctx passed to pmu->sched_task()
Reported by linux · Published October 18, 2026
In the Linux kernel, the following vulnerability has been resolved: perf/core: Fix NULL pmu_ctx passed to pmu->sched_task() perf_pmu_sched_task() returns early when cpuctx->task_ctx is set, and cpc->task_epc is only non-NULL while a task context is scheduled in on this CPU. __perf_pmu_sched_task() therefore always passes NULL: Unable to handle kernel NULL pointer dereference at virtual address 00 pc : armv8pmu_sched_task+0x14/0x50 Call trace: armv8pmu_sched_task+0x14/0x50 (P) perf_pmu_sched_task+0xac/0x108 __perf_event_task_sched_out+0x6c/0xe0 Pass &cpc->epc instead, the CPU-wide context for this PMU, which the function already dereferences a few lines up to find pmu. armv8pmu_sched_task() is the only in-tree implementation that dereferences the argument, and it only reads ->pmu, so the oops needs BRBE, added in v6.17.
EPSS 0.17% · 6.2th 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 |
|---|---|---|
| kernel6.18 | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.113-138.209.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | bd27568117664b8b3e259721393df420ed51f57b, bd27568117664b8b3e259721393df420ed51f57b, bd27568117664b8b3e259721393df420ed51f57b |
| Linux | Linux | 6.2, 0, 6.6.160 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| linux | linux_kernel | 6.2, 6.2, 6.2 |
| amazon:2023 | kernel-livepatch-6.12.113-138.209 | 0 |
| Linux | Linux | 7.2.9, *, * |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
…and 7 more
Timeline
- Oct 18, 2026 Coalition ESS Score
- Oct 18, 2026 CVE Published
- Oct 19, 2026 EPSS Score (3 in total, the first dated here)
- Oct 21, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98477
vulnetix vdb fixes CVE-2026-98477
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-98477/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart