Linux Kernel: Race in perf event overflow handling
CVE-2026-23271 Published on March 20, 2026
perf: Fix __perf_event_overflow() vs perf_remove_from_context() race
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.
Products Associated with CVE-2026-23271
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 592903cdcbf606a838056bae6d03fc557806c914 and below 5c48fdc4b4623533d86e279f51531a7ba212eb87 is affected.
- Version 592903cdcbf606a838056bae6d03fc557806c914 and below 3f89b61dd504c5b6711de9759e053b082f9abf12 is affected.
- Version 592903cdcbf606a838056bae6d03fc557806c914 and below bb190628fe5f2a73ba762a9972ba16c5e895f73e is affected.
- Version 592903cdcbf606a838056bae6d03fc557806c914 and below c9bc1753b3cc41d0e01fbca7f035258b5f4db0ae is affected.
- Version 2.6.31 is affected.
- Before 2.6.31 is unaffected.
- Version 6.12.77, <= 6.12.* is unaffected.
- Version 6.18.17, <= 6.18.* is unaffected.
- Version 6.19.7, <= 6.19.* is unaffected.
- Version 7.0-rc2, <= * is unaffected.