VDB

CVE-2026-98477

CVE-2026-98477 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.18Amazon Linux1:6.18.56-125.164.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.12-develAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.56-125.164.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.56-125.164.amzn2023
perf6.18Amazon Linux1:6.18.56-125.164.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.56-125.164.amzn2023

Risk scores

EPSS Score
0.17%
6.2th percentile

Affected products

VendorProductVersions
LinuxLinuxbd27568117664b8b3e259721393df420ed51f57b, bd27568117664b8b3e259721393df420ed51f57b, bd27568117664b8b3e259721393df420ed51f57b
LinuxLinux6.2, 0, 6.6.160
amazon:2023kernel6.180
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.180
amazon:2023microvm-kernel6.180
linuxlinux_kernel6.2, 6.2, 6.2
amazon:2023kernel-livepatch-6.12.113-138.2090
LinuxLinux7.2.9, *, *
amazon:2023perf6.120
amazon:2023bpftool6.180
amazon:2023kernel6.18-headers0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-devel0
amazon:2023python3-perf6.180

…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

References

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