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

perf: Fix null pointer access in is_include_guest_event()

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:
..
__pmu_detach_event
pmu_detach_event
pmu_detach_events
perf_pmu_unregister
..

__pmu_detach_event() 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:_free_event+0x3e/0x370
...
Call Trace:
...
perf_event_release_kernel+0x260/0x2d0
perf_release+0x12/0x20

A call to mediated_pmu_unaccount_event() inside _free_event() is the root
cause of this crash. Adding a check inside is_include_guest_event() ensures
we don't accidentally access a null pmu ptr. In addition to this, we will
now call mediated_pmu_unaccount_event() before clearing the pmu ptr so that
nr_include_guest_events counts are maintained correctly.
Published: 2026-10-06
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via kernel crash
Action: Immediate patch
AI Analysis

Impact

The vulnerability stems from a null pointer dereference in the Linux kernel’s perf subsystem during the cleanup of active perf events. When a module unload occurs while a perf connection is still open, the event’s pmu pointer is cleared to null and later referenced, triggering a general protection fault and bringing the system down. An attacker controlling or manipulating perf events could therefore cause a kernel panic, leading to loss of availability of the affected system. The flaw is rooted in an unchecked null pointer use.

Affected Systems

All Linux kernel releases prior to the application of the commits referenced in the advisory (c/7fa9a465ae8f07c0e4685db6b6a6f984dbd784 and c/88aed0422f39b22406f35f1e758cea25e7bbcfb5) are affected. The issue exists across all architectures where the perf event handling code is compiled and has not yet been patched. No specific kernel version numbers are listed, so administrators should verify that their current kernel incorporates the fixes from the cited commits.

Risk and Exploitability

Based on the description, the likely attack vector is local: a local actor with permission to create and unload perf events can trigger a general protection fault that brings the system down. The EPSS score is < 1%, indicating a very low probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog, suggesting no known public exploitation. The risk remains serious when perf events are enabled, but the low exploitation probability and lack of remote vectors reduce the overall threat level. The CVSS score of 5.5 indicates moderate severity.

Generated by OpenCVE AI on October 11, 2026 at 04:40 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that contains the commit fixing a null pointer dereference in perf’s is_include_guest_event() logic.
  • If using a custom or embedded kernel build, recompile it including the corrective changes before deploying to production.
  • Where rapid upgrade is not feasible, limit or disable the use of perf events on the vulnerable kernel to mitigate the crash risk.

Generated by OpenCVE AI on October 11, 2026 at 04:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 11 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Tue, 06 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: perf: Fix null pointer access in is_include_guest_event() 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: .. __pmu_detach_event pmu_detach_event pmu_detach_events perf_pmu_unregister .. __pmu_detach_event() 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:_free_event+0x3e/0x370 ... Call Trace: ... perf_event_release_kernel+0x260/0x2d0 perf_release+0x12/0x20 A call to mediated_pmu_unaccount_event() inside _free_event() is the root cause of this crash. Adding a check inside is_include_guest_event() ensures we don't accidentally access a null pmu ptr. In addition to this, we will now call mediated_pmu_unaccount_event() before clearing the pmu ptr so that nr_include_guest_events counts are maintained correctly.
Title perf: Fix null pointer access in is_include_guest_event()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:16:39.095Z

Reserved: 2026-09-25T10:25:14.333Z

Link: CVE-2026-98268

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:16.227

Modified: 2026-10-19T10:18:28.043

Link: CVE-2026-98268

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98268 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-11T04:45:17Z

Weaknesses