CVE-2026-98268: perf: Fix null pointer access in is_include_guest_event()

Published Oct 6, 2026
·
Updated

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

perf: Fix null pointer access in isincludeguestevent()

A typical module unload occurring event when there is an active perf connection leads to freeing of the pmu pointer. The call log is something like: .. pmudetachevent pmudetachevent pmudetachevents perfpmuunregister ..

pmudetachevent() sets event->pmu to null. When the perf connection finally is closed, the following stack trace is observed:

Oops: general protection fault, kernel NULL pointer dereference ... RIP: 0010:freeevent+0x3e/0x370 ... Call Trace: ... perfeventreleasekernel+0x260/0x2d0 perfrelease+0x12/0x20

A call to mediatedpmuunaccountevent() inside freeevent() is the root cause of this crash. Adding a check inside isincludeguestevent() ensures we don't accidentally access a null pmu ptr. In addition to this, we will now call mediatedpmuunaccountevent() before clearing the pmu ptr so that nrincludeguestevents counts are maintained correctly.

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 6, 2026
CVE Published
via MITRE·08:45 AM
Data Sourced
via MITRE·08:45 AM
Description
Data Sourced
via NVD·09:18 AM
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