The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-23311

CVE-2026-23311: Linux Kernel Race Condition Vulnerability

CVE-2026-23311 is a race condition flaw in the Linux kernel's perf/core component that causes invalid wait context during event scheduling. This article covers the technical details, affected systems, and remediation.

Published: March 27, 2026

CVE-2026-23311 Overview

CVE-2026-23311 is a race condition vulnerability in the Linux kernel's performance monitoring subsystem (perf/core). The vulnerability exists in the ctx_sched_in() function where an invalid wait context is triggered during event scheduling. Specifically, when a pinned event fails and attempts to wake up threads in the ring buffer, the code improperly grabs a wait-queue lock while already holding the perf-context lock, leading to a lock ordering violation detected by lockdep.

Critical Impact

This vulnerability can lead to system instability, potential deadlocks, or denial of service conditions on affected Linux systems when the performance monitoring subsystem is in use.

Affected Products

  • Linux kernel versions prior to patched releases
  • Systems utilizing the perf performance monitoring subsystem
  • Linux distributions running vulnerable kernel versions

Discovery Timeline

  • 2026-03-25 - CVE CVE-2026-23311 published to NVD
  • 2026-03-25 - Last updated in NVD database

Technical Details for CVE-2026-23311

Vulnerability Analysis

This vulnerability stems from a lock ordering issue in the kernel's performance event scheduling code. The ctx_sched_in() function, which handles scheduling of performance monitoring contexts, attempts to acquire a wait-queue lock (&event->waitq) while already holding multiple locks including the perf-context lock (&ctx->lock) and CPU context lock (&cpuctx_lock).

The lockdep subsystem identified that this creates an invalid wait context scenario. When a pinned performance event fails, the code path calls __wake_up() to notify waiting threads in the ring buffer. However, this operation requires acquiring lock class {3:3} while already in context-{5:5}, which violates the kernel's locking hierarchy rules.

The fix involves deferring the wake-up operation using irq_work, which allows the wait-queue lock acquisition to occur outside the critical section where the perf-context locks are held.

Root Cause

The root cause is improper lock ordering in the performance event wake-up path. The kernel holds four locks when the issue occurs:

  1. rcu_read_lock - held during __perf_event_task_sched_in()
  2. &cpuctx_lock - CPU context lock
  3. &ctx->lock - Performance context lock
  4. rcu_read_lock - held during perf_event_wakeup()

Attempting to acquire the wait-queue lock (&event->waitq) while holding these locks creates an invalid context that can lead to deadlock or system instability.

Attack Vector

The vulnerability is triggered through local access when the performance monitoring subsystem is active. An attacker or normal user process utilizing perf events could potentially trigger this condition, leading to system instability or denial of service. The attack vector requires local access to the system and the ability to use performance monitoring interfaces.

The vulnerability manifests during event scheduling when pinned events fail. The kernel's lockdep mechanism detects the invalid wait context when the code attempts to wake up threads waiting on the event's ring buffer. See the kernel git commits for technical implementation details.

Detection Methods for CVE-2026-23311

Indicators of Compromise

  • Kernel log messages containing "BUG: Invalid wait context" from lockdep
  • System instability or hangs when performance monitoring tools are in use
  • Kernel warnings referencing ctx_sched_in() or perf_event_wakeup() in stack traces

Detection Strategies

  • Monitor kernel logs (dmesg) for lockdep warnings related to perf subsystem
  • Enable lockdep in development/testing kernels to proactively detect the condition
  • Review system stability issues occurring during performance monitoring workloads

Monitoring Recommendations

  • Configure syslog monitoring for kernel lockdep messages and invalid wait context errors
  • Implement alerting on kernel BUG messages related to perf/core subsystem
  • Monitor for unexpected system reboots or kernel panics on systems using perf extensively

How to Mitigate CVE-2026-23311

Immediate Actions Required

  • Update to a patched Linux kernel version containing the fix
  • Review and apply vendor-specific kernel updates for your Linux distribution
  • Consider temporarily limiting use of performance monitoring tools on critical systems until patched

Patch Information

The vulnerability has been resolved in the Linux kernel through multiple commits that defer the wake-up operation using irq_work. The fix ensures that the wait-queue lock is not acquired while holding the perf-context locks.

Patched versions are available through the following kernel git commits:

  • Commit 486ff5ad49bc
  • Commit 825f218ca70e
  • Commit c67ab059953e

Workarounds

  • Restrict access to perf_event_open syscall using kernel.perf_event_paranoid sysctl settings
  • Limit performance monitoring usage to privileged users only until patches are applied
  • Monitor systems for signs of instability and have recovery procedures ready
bash
# Restrict perf_event access as a temporary mitigation
echo 3 > /proc/sys/kernel/perf_event_paranoid

# Make setting persistent across reboots
echo "kernel.perf_event_paranoid = 3" >> /etc/sysctl.conf
sysctl -p

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit Change

  • Kernel Git Commit Change

  • Kernel Git Commit Change
  • Related CVEs
  • CVE-2026-23440: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23434: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23436: Linux Kernel Race Condition Vulnerability

  • CVE-2026-23463: Linux Kernel QBMAN Race Condition Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English