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

Published Oct 18, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

perf/core: Fix NULL pmuctx passed to pmu->schedtask()

perfpmuschedtask() returns early when cpuctx->taskctx is set, and cpc->taskepc is only non-NULL while a task context is scheduled in on this CPU. perfpmuschedtask() therefore always passes NULL:

Unable to handle kernel NULL pointer dereference at virtual address 00 pc : armv8pmuschedtask+0x14/0x50 Call trace: armv8pmuschedtask+0x14/0x50 (P) perfpmuschedtask+0xac/0x108 perfeventtaskschedout+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.

armv8pmuschedtask() 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 Software

1 affected component
Linux Linux kernel

Event History

Oct 18, 2026
CVE Published
via MITRE·03:15 PM
Data Sourced
via MITRE·03:15 PM
Description
Data Sourced
via NVD·04:16 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203