CVE-2026-98477

Source
https://cve.org/CVERecord?id=CVE-2026-98477
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98477.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98477
Downstream
Published
2026-10-18T15:15:51Z
Modified
2026-10-19T02:46:10Z
Summary
perf/core: Fix NULL pmu_ctx passed to pmu->sched_task()
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98477.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bd27568117664b8b3e259721393df420ed51f57b
Fixed
b5409311b606d536cc485f3706c242c2afa93edb
Fixed
249a2bd87a0e57dc28f36e992807edc9cae309b5
Fixed
ec15f6a50183fc01f470af74ad49900fb3731fca
Fixed
36bb85cf36cab15fb611cb44b78a5df06e4e69a2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98477.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.12.112
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.55
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98477.json"