# CVE-2026-23271: perf: Fix __perf_event_overflow() vs perf_remove_from_context() race

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-02)
- Published: 2026-03-20T08:08:46.711Z
- Modified: 2026-11-10T13:18:38.023Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 592903cdcbf606a838056bae6d03fc557806c914 before 4df1a45819e50993cb351682a6ae8e7ed2d233a0; from 592903cdcbf606a838056bae6d03fc557806c914 before 4f8d5812337871227bb2c98669a87c306a2f86ef; from 592903cdcbf606a838056bae6d03fc557806c914 before 5c48fdc4b4623533d86e279f51531a7ba212eb87; from 592903cdcbf606a838056bae6d03fc557806c914 before 3f89b61dd504c5b6711de9759e053b082f9abf12; from 592903cdcbf606a838056bae6d03fc557806c914 before bb190628fe5f2a73ba762a9972ba16c5e895f73e; from 592903cdcbf606a838056bae6d03fc557806c914 before c9bc1753b3cc41d0e01fbca7f035258b5f4db0ae; 2.6.31 (not affected: before 2.6.31; from 6.1.167 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.77 up to 6.12.*; from 6.18.17 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 2.6.31 before 6.1.167; from 6.2 before 6.6.130; from 6.7 before 6.12.77; from 6.13 before 6.18.17; from 6.19 before 6.19.7; 7.0

## References

- <https://git.kernel.org/stable/c/4df1a45819e50993cb351682a6ae8e7ed2d233a0> (patch)
- <https://git.kernel.org/stable/c/4f8d5812337871227bb2c98669a87c306a2f86ef> (patch)
- <https://git.kernel.org/stable/c/5c48fdc4b4623533d86e279f51531a7ba212eb87> (patch)
- <https://git.kernel.org/stable/c/3f89b61dd504c5b6711de9759e053b082f9abf12> (patch)
- <https://git.kernel.org/stable/c/bb190628fe5f2a73ba762a9972ba16c5e895f73e> (patch)
- <https://git.kernel.org/stable/c/c9bc1753b3cc41d0e01fbca7f035258b5f4db0ae> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-23271](https://www.cve.org/CVERecord?id=CVE-2026-23271), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-23271](https://nvd.nist.gov/vuln/detail/CVE-2026-23271), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-23271 · Whole record: https://cve.day/CVE-2026-23271.json · Rebuilt by cve.day 2026-11-25T22:59:16.296Z
