CVE-2026-23311
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2026-23311 is an improper locking vulnerability in the Linux kernel's perf/core subsystem, specifically in the ctx_sched_in() function. When a pinned perf event fails and attempts to wake up threads in the ring buffer, the code improperly attempts to acquire a wait-queue lock while already holding a perf-context lock, causing a lockdep violation. The vulnerability affects Linux kernel versions 6.15.x through 6.18.16, 6.19.x through 6.19.6, and 7.0-rc1. It was disclosed on March 25, 2026, and carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat Advisory, Red Hat Bugzilla).

Technical details

The root cause is classified under CWE-413 (Improper Resource Locking) and CWE-667 (Improper Locking). During event scheduling in ctx_sched_in(), when a pinned event fails, the code path calls perf_event_wakeup() which attempts to grab event->waitq (a wait-queue lock with spinlock depth 3:3) while already holding cpuctx_lock and ctx->lock (both raw spinlocks at depth 2:2) under an RCU read lock. This invalid lock nesting is detected by the kernel's lockdep validator and can result in a kernel panic or system hang. The fix replaces the direct wait-queue wakeup with deferred irq_work to avoid acquiring the wait-queue lock in an improper context (Red Hat Bugzilla, Red Hat Advisory).

Impact

Successful exploitation results in a denial of service — specifically a kernel panic or system hang — due to the lockdep violation triggered in the performance monitoring subsystem. There is no confidentiality or integrity impact; the vulnerability is limited to availability. A local attacker with low privileges can crash or hang the affected system by crafting specific perf events that trigger the invalid lock sequence (Red Hat Advisory).

Indicators of compromise

  • Logs: Kernel log messages containing [ BUG: Invalid wait context ] or lockdep splat output referencing ctx_sched_in, __perf_event_task_sched_in, or perf_event_wakeup.
  • System Behavior: Unexpected kernel panic, system hang, or soft lockup warnings on systems running affected kernel versions (6.15.x–6.18.16, 6.19.x–6.19.6, 7.0-rc1) with perf event usage.
  • Process: Processes using the perf_event_open syscall with pinned events that coincide with system instability events.

Mitigation and workarounds

Update the Linux kernel to version 6.18.17 or later, 6.19.7 or later, or 7.0-rc2 or later, which include the fix that replaces the direct wait-queue wakeup with irq_work in ctx_sched_in(). Patches are available in the upstream stable kernel tree. As a temporary workaround where patching is not immediately possible, restricting unprivileged access to perf_event_open (e.g., via kernel.perf_event_paranoid sysctl set to a restrictive value) can reduce exposure (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