CVE-2026-23271
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-23271 is a race condition vulnerability in the Linux kernel's performance event (perf) subsystem, specifically between __perf_event_overflow() and perf_remove_from_context(). The flaw arises because software perf events can invoke __perf_event_overflow() with only preemption disabled rather than IRQs disabled, creating a window where perf_event_exit_event() may concurrently free resources — such as BPF programs — that the overflow handler expects to still be present. Affected kernel versions span from 2.6.31 through multiple stable branches, with fixes targeting versions before 6.1.167, 6.6.130, 6.12.77, 6.18.17, and 6.19.7. It carries a CVSS v3.1 base score of 7.8 (High) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is improper synchronization (CWE-362 / CWE-367 TOCTOU) in the kernel's perf event overflow handling path. When software perf events trigger __perf_event_overflow(), the function may execute with only preemption disabled rather than with IRQs fully disabled, as required for safe access to shared kernel structures. This creates a time-of-check to time-of-use window: a concurrent call to perf_event_exit_event() or related teardown functions can free resources — most notably attached BPF programs — between the time the overflow handler checks for their presence and the time it dereferences them, resulting in a use-after-free condition. The fix ensures IRQs are disabled across all callchains that invoke __perf_event_overflow() (Red Hat Bugzilla, Red Hat Advisory).

Impact

Successful exploitation can lead to kernel memory corruption via use-after-free, potentially enabling a local attacker to execute arbitrary code with kernel privileges, escalate from a low-privileged user to root, or cause a kernel panic resulting in a denial of service. The confidentiality, integrity, and availability impacts are all rated High, as kernel-level code execution grants full control over the affected system, including access to all data in memory and the ability to persist malicious modifications (Red Hat Advisory, Feedly).

Mitigation and workarounds

Update the Linux kernel to a patched stable version: 6.1.167 or later, 6.6.130 or later, 6.12.77 or later, 6.18.17 or later, or 6.19.7 or later. Patches are available via the upstream kernel stable branches and have been incorporated into distributions including Red Hat, SUSE, Debian, and Amazon Linux 2023. As a temporary workaround where immediate patching is not feasible, restrict access to perf event capabilities using Linux Security Modules (e.g., SELinux, AppArmor) or by setting kernel.perf_event_paranoid to a restrictive value (e.g., 3) via sysctl to limit which users can create performance monitoring events (Red Hat Advisory, Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management