CVE-2026-97960
Received Received - Intake

Buffer Overflow in Linux Kernel perf/x86/intel

Vulnerability report for CVE-2026-97960, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-25

Last updated on: 2026-09-25

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: perf/x86/intel: Prevent drain_pebs() reentry The PEBS buffer is shared by all events on a CPU, so drain_pebs() must not be reentered. If so, one instance may observe stale buffer state and potentially access out-of-bound memory. Most invocations happen in NMI context, which naturally prevents reentry. However, drain_pebs() is also reachable from process context via intel_pmu_drain_pebs_buffer(). In those paths, the PMU is often already disabled, but not guaranteed. For example, __intel_pmu_pebs_disable() only disables the target counter, so other active counters can still raise a PMI and interrupt an in-flight drain_pebs(). Here is an example, __perf_addr_filters_adjust() perf_event_stop() __perf_event_stop() x86_pmu_stop() (event->pmu->stop) intel_pmu_disable_event() intel_pmu_pebs_disable() __intel_pmu_pebs_disable() intel_pmu_drain_large_pebs() intel_pmu_drain_pebs_buffer() Introduce __intel_pmu_quiesce() and __intel_pmu_resume() helpers and use them in intel_pmu_drain_large_pebs() to disable the full PMU around the intel_pmu_drain_pebs_buffer() call, preventing reentry. Also add a warning in intel_pmu_drain_pebs_buffer() when the full PMU is not disabled.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-25
Last Modified
2026-09-25
Generated
2026-09-25
AI Q&A
2026-09-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a race condition in the PEBS (Precise Event-Based Sampling) buffer handling. The drain_pebs() function, which processes PEBS data, can be reentered unexpectedly when called from process context. This reentry may cause one instance to see outdated buffer state and potentially access memory outside its bounds.

Detection Guidance

This vulnerability is specific to the Linux kernel's perf/x86/intel subsystem and may not have direct detection commands. Monitor kernel logs for PEBS-related errors or warnings. Check if perf_event_open() or related profiling tools show unusual behavior. Ensure your kernel is updated to a patched version.

Impact Analysis

This flaw could lead to memory corruption or crashes in systems using the Linux kernel. Attackers might exploit it to cause denial-of-service conditions or execute arbitrary code with kernel privileges, depending on the system configuration and usage.

Mitigation Strategies

Update your Linux kernel to the latest stable version that includes the fix for CVE-2026-97960. Avoid using perf_event_open() or related profiling tools in untrusted environments until patched. Monitor system logs for PEBS-related errors or crashes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-97960. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart