# CVE-2026-98477: perf/core: Fix NULL pmu\_ctx passed to pmu-\>sched\_task()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-18T15:15:51.475Z
- **Modified:** 2026-10-21T13:21:31.320Z

## Who should check

- Anyone running Linux \>= bd27568117664b8b3e259721393df420ed51f57b, \< 98181f9721f75f1a544dc563b0d8fed1d5c398d5; \>= bd27568117664b8b3e259721393df420ed51f57b, \< b5409311b606d536cc485f3706c242c2afa93edb; \>= bd27568117664b8b3e259721393df420ed51f57b, \< 249a2bd87a0e57dc28f36e992807edc9cae309b5; \>= bd27568117664b8b3e259721393df420ed51f57b, \< ec15f6a50183fc01f470af74ad49900fb3731fca; \>= bd27568117664b8b3e259721393df420ed51f57b, \< 36bb85cf36cab15fb611cb44b78a5df06e4e69a2
- Anyone running Linux 6.2

## 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.

## Affected and fixed versions

- Linux: \>= bd27568117664b8b3e259721393df420ed51f57b, \< 98181f9721f75f1a544dc563b0d8fed1d5c398d5; \>= bd27568117664b8b3e259721393df420ed51f57b, \< b5409311b606d536cc485f3706c242c2afa93edb; \>= bd27568117664b8b3e259721393df420ed51f57b, \< 249a2bd87a0e57dc28f36e992807edc9cae309b5; \>= bd27568117664b8b3e259721393df420ed51f57b, \< ec15f6a50183fc01f470af74ad49900fb3731fca; \>= bd27568117664b8b3e259721393df420ed51f57b, \< 36bb85cf36cab15fb611cb44b78a5df06e4e69a2 (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- Upgrade Linux to 36bb85cf36cab15fb611cb44b78a5df06e4e69a2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98477. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98477.md
Affected: Linux >= bd27568117664b8b3e259721393df420ed51f57b, < 98181f9721f75f1a544dc563b0d8fed1d5c398d5; >= bd27568117664b8b3e259721393df420ed51f57b, < b5409311b606d536cc485f3706c242c2afa93edb; >= bd27568117664b8b3e259721393df420ed51f57b, < 249a2bd87a0e57dc28f36e992807edc9cae309b5; >= bd27568117664b8b3e25972…
Fixed in: Linux 98181f9721f75f1a544dc563b0d8fed1d5c398d5, Linux 249a2bd87a0e57dc28f36e992807edc9cae309b5, Linux 36bb85cf36cab15fb611cb44b78a5df06e4e69a2

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98477 being exploited?

There is no confirmed exploitation: CVE-2026-98477 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98477?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98477?

Linux \>= bd27568117664b8b3e259721393df420ed51f57b, \< 98181f9721f75f1a544dc563b0d8fed1d5c398d5; \>= bd27568117664b8b3e259721393df420ed51f57b, \< b5409311b606d536cc485f3706c242c2afa93edb; \>= bd27568117664b8b3e259721393df420ed51f57b, \< 249a2bd87a0e57dc28f36e992807edc9cae309b5; \>= bd27568117664b8b3e259721393df420ed51f57b, \< ec15f6a50183fc01f470af74ad49900fb3731fca; \>= bd27568117664b8b3e259721393df420ed51f57b, \< 36bb85cf36cab15fb611cb44b78a5df06e4e69a2; Linux 6.2.

### Is there a fix for CVE-2026-98477?

Yes. Fixed in Linux 98181f9721f75f1a544dc563b0d8fed1d5c398d5, Linux 249a2bd87a0e57dc28f36e992807edc9cae309b5, Linux 36bb85cf36cab15fb611cb44b78a5df06e4e69a2. Upgrade Linux to 36bb85cf36cab15fb611cb44b78a5df06e4e69a2 or later.

### How do I check if I'm affected by CVE-2026-98477?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/98181f9721f75f1a544dc563b0d8fed1d5c398d5>
- other: <https://git.kernel.org/stable/c/b5409311b606d536cc485f3706c242c2afa93edb>
- other: <https://git.kernel.org/stable/c/249a2bd87a0e57dc28f36e992807edc9cae309b5>
- other: <https://git.kernel.org/stable/c/ec15f6a50183fc01f470af74ad49900fb3731fca>
- other: <https://git.kernel.org/stable/c/36bb85cf36cab15fb611cb44b78a5df06e4e69a2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98477>

HTML: <https://flawdb.com/CVE-2026-98477> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98477>
