# CVE-2026-97960: perf/x86/intel: Prevent drain\_pebs() reentry

> 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-09-25T10:23:04.943Z
- **Modified:** 2026-10-21T13:21:17.560Z

## Who should check

- Anyone running Linux \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< 9882068ed242fcd4743f53027e8c790e88dcafff; \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< 999e482fdf89400cc1ae937680fc05096b4c915b; \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< a5fe19dd8b3ed5fad6e5e0f0c58c7245043ee4af; \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< c55599c0ec2aa020e41a0599c3044c56d8a2e7d9; \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< a56c03a397e2cd0c4cf8da96dcd6214f7d0e7d8c; a9165207b2b07415eeb01b3ac8bb84976ec96984; \>= 6.3.7, \< 6.4
- Anyone running Linux 6.4

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

## Affected and fixed versions

- Linux: \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< 9882068ed242fcd4743f53027e8c790e88dcafff; \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< 999e482fdf89400cc1ae937680fc05096b4c915b; \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< a5fe19dd8b3ed5fad6e5e0f0c58c7245043ee4af; \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< c55599c0ec2aa020e41a0599c3044c56d8a2e7d9; \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< a56c03a397e2cd0c4cf8da96dcd6214f7d0e7d8c; a9165207b2b07415eeb01b3ac8bb84976ec96984; \>= 6.3.7, \< 6.4 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 6.4 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-97960. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97960.md
Affected: Linux >= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, < 9882068ed242fcd4743f53027e8c790e88dcafff; >= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, < 999e482fdf89400cc1ae937680fc05096b4c915b; >= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, < a5fe19dd8b3ed5fad6e5e0f0c58c7245043ee4af; >= b752ea0c28e3f7f0aaaad6a…
Fixed in: Linux 9882068ed242fcd4743f53027e8c790e88dcafff, Linux 999e482fdf89400cc1ae937680fc05096b4c915b, Linux 6.4

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-97960 being exploited?

There is no confirmed exploitation: CVE-2026-97960 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-97960?

It has no CVSS score yet. Unknown.

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

Linux \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< 9882068ed242fcd4743f53027e8c790e88dcafff; \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< 999e482fdf89400cc1ae937680fc05096b4c915b; \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< a5fe19dd8b3ed5fad6e5e0f0c58c7245043ee4af; \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< c55599c0ec2aa020e41a0599c3044c56d8a2e7d9; \>= b752ea0c28e3f7f0aaaad6abf84f735eebc37a60, \< a56c03a397e2cd0c4cf8da96dcd6214f7d0e7d8c; a9165207b2b07415eeb01b3ac8bb84976ec96984; \>= 6.3.7, \< 6.4; Linux 6.4.

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

Yes. Fixed in Linux 9882068ed242fcd4743f53027e8c790e88dcafff, Linux 999e482fdf89400cc1ae937680fc05096b4c915b, Linux 6.4. Upgrade Linux to 6.4 or later.

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

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/9882068ed242fcd4743f53027e8c790e88dcafff>
- other: <https://git.kernel.org/stable/c/999e482fdf89400cc1ae937680fc05096b4c915b>
- other: <https://git.kernel.org/stable/c/a5fe19dd8b3ed5fad6e5e0f0c58c7245043ee4af>
- other: <https://git.kernel.org/stable/c/c55599c0ec2aa020e41a0599c3044c56d8a2e7d9>
- other: <https://git.kernel.org/stable/c/a56c03a397e2cd0c4cf8da96dcd6214f7d0e7d8c>

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

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