CVE-2026-98477

perf/core: Fix NULL pmu_ctx passed to pmu->sched_task()

Description

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.

Key facts

Published
18 Oct 2026
Last changed
21 Oct 2026
Assigned by
Linux
EPSS
0.168% likely to be exploited in the next 30 days, higher than 6.146% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • bd27568117664b8b3e259721393df420ed51f57b up to but excluding 98181f9721f75f1a544dc563b0d8fed1d5c398d5 (affected)
  • bd27568117664b8b3e259721393df420ed51f57b up to but excluding b5409311b606d536cc485f3706c242c2afa93edb (affected)
  • bd27568117664b8b3e259721393df420ed51f57b up to but excluding 249a2bd87a0e57dc28f36e992807edc9cae309b5 (affected)
  • bd27568117664b8b3e259721393df420ed51f57b up to but excluding ec15f6a50183fc01f470af74ad49900fb3731fca (affected)
  • bd27568117664b8b3e259721393df420ed51f57b up to but excluding 36bb85cf36cab15fb611cb44b78a5df06e4e69a2 (affected)
LinuxLinux
  • Default status: affected
  • 6.2 (affected)
  • 0 up to but excluding 6.2 (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.12.112 up to and including 6.12.* (unaffected)
  • 6.18.55 up to and including 6.18.* (unaffected)
  • 7.2.9 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References