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-23294

CVE-2026-23294: Linux Kernel Race Condition Vulnerability

CVE-2026-23294 is a race condition vulnerability in the Linux kernel's BPF devmap on PREEMPT_RT kernels. It causes use-after-free and corruption issues. This article covers technical details, affected systems, and fixes.

Published: March 27, 2026

CVE-2026-23294 Overview

A race condition vulnerability has been identified in the Linux kernel's BPF devmap implementation affecting PREEMPT_RT kernels. The vulnerability exists in the per-CPU xdp_dev_bulk_queue (bq) which can be accessed concurrently by multiple preemptible tasks on the same CPU, leading to use-after-free conditions and memory corruption.

The original code assumes bq_enqueue() and __dev_flush() run atomically with respect to each other on the same CPU, relying on local_bh_disable() to prevent preemption. However, on PREEMPT_RT kernels, local_bh_disable() only calls migrate_disable() and does not disable preemption, which allows CFS scheduling to preempt a task during bq_xmit_all(), enabling another task on the same CPU to enter bq_enqueue() and operate on the same per-CPU bq concurrently.

Critical Impact

This race condition can lead to double-free, use-after-free, memory corruption, and potential kernel crashes on systems running PREEMPT_RT kernels with XDP/BPF devmap functionality enabled.

Affected Products

  • Linux Kernel (PREEMPT_RT configurations)
  • Systems using XDP (eXpress Data Path) with BPF devmap redirects
  • Real-time Linux distributions with PREEMPT_RT patches

Discovery Timeline

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

Technical Details for CVE-2026-23294

Vulnerability Analysis

This vulnerability is a classic race condition (TOCTOU - Time-of-Check Time-of-Use) that manifests specifically on PREEMPT_RT Linux kernel configurations. The root cause lies in the assumption that local_bh_disable() provides sufficient synchronization for per-CPU data structures. On standard kernels, this assumption holds true as bottom-half processing is disabled and preemption is effectively blocked. However, PREEMPT_RT kernels fundamentally change this behavior to achieve real-time scheduling guarantees.

The vulnerability produces multiple dangerous race scenarios:

Double-free / Use-after-free on bq->q[]: When bq_xmit_all() snapshots cnt = bq->count and then iterates bq->q[0..cnt-1] to transmit frames, a preemption can occur. A second task can then call bq_enqueue() -> bq_xmit_all() on the same bq, transmitting and freeing the same frames. When the first task resumes, it operates on stale pointers in bq->q[], causing use-after-free.

bq->count and bq->q[] corruption: Concurrent bq_enqueue() modifying bq->count and bq->q[] while bq_xmit_all() is reading them leads to inconsistent state.

dev_rx/xdp_prog teardown race: When __dev_flush() clears bq->dev_rx and bq->xdp_prog after bq_xmit_all(), a preemption between bq_xmit_all() return and bq->dev_rx = NULL allows a preempting bq_enqueue() to see dev_rx still set, skip adding bq to the flush_list, and enqueue a frame that becomes orphaned.

Root Cause

The fundamental issue is the behavioral difference of local_bh_disable() between standard and PREEMPT_RT kernels. On PREEMPT_RT, when PREEMPT_RT_NEEDS_BH_LOCK is not set, local_bh_disable() only calls migrate_disable() rather than disabling preemption entirely. This allows the Completely Fair Scheduler (CFS) to preempt tasks during critical sections that manipulate the per-CPU xdp_dev_bulk_queue structure.

The code incorrectly assumed that operations within local_bh_disable() / local_bh_enable() pairs would be atomic with respect to other code running on the same CPU, which is not guaranteed on PREEMPT_RT configurations.

Attack Vector

The vulnerability is triggered through normal XDP operation on PREEMPT_RT systems when:

  1. Task A enters __dev_flush() which calls bq_xmit_all() and snapshots the current count
  2. CFS scheduler preempts Task A during frame transmission iteration
  3. Task B begins XDP redirect operations, calling bq_enqueue() which triggers bq_xmit_all() on the same per-CPU queue
  4. Task B transmits and the driver frees the frames that Task A still holds references to
  5. Task A resumes and attempts to transmit already-freed frames, causing use-after-free

This race window exists during normal high-throughput XDP processing on real-time systems. The condition requires concurrent XDP redirect operations and specific scheduler timing, making it probabilistic but reproducible under load.

Detection Methods for CVE-2026-23294

Indicators of Compromise

  • Kernel panics or oops messages referencing bq_xmit_all, bq_enqueue, or __dev_flush functions
  • KASAN (Kernel Address Sanitizer) reports showing use-after-free in devmap-related code paths
  • Unexpected system crashes on PREEMPT_RT systems under XDP workloads
  • Memory corruption warnings in kernel logs associated with BPF or XDP subsystems

Detection Strategies

  • Enable KASAN (Kernel Address Sanitizer) on development and testing systems to detect use-after-free conditions
  • Monitor kernel logs for BPF/XDP-related crash reports using dmesg or centralized log aggregation
  • Implement kernel live patching detection to identify when vulnerable code paths are executed
  • Use kernel tracing tools like ftrace or bpftrace to monitor bq_enqueue and __dev_flush function calls for anomalous patterns

Monitoring Recommendations

  • Deploy SentinelOne Singularity agents to detect kernel-level anomalies and exploitation attempts
  • Configure alerting for kernel crash patterns specific to XDP/BPF subsystems on PREEMPT_RT hosts
  • Monitor system stability metrics on real-time Linux deployments using XDP functionality
  • Implement continuous vulnerability scanning to identify unpatched kernel versions in your environment

How to Mitigate CVE-2026-23294

Immediate Actions Required

  • Update the Linux kernel to a patched version containing the fix (commits referenced below)
  • If immediate patching is not possible, consider temporarily disabling XDP devmap redirect functionality on PREEMPT_RT systems
  • Evaluate whether PREEMPT_RT is required for affected workloads; standard kernels are not affected by this specific race
  • Prioritize patching for systems running real-time Linux configurations with active XDP/BPF network processing

Patch Information

The vulnerability has been resolved by adding a local_lock_t to xdp_dev_bulk_queue and acquiring it in bq_enqueue() and __dev_flush(). The fix uses local_lock_nested_bh() which on non-RT kernels is a pure annotation with no overhead, while on PREEMPT_RT it provides a per-CPU sleeping lock that properly serializes access to the bq structure.

Official patches are available in the kernel stable tree:

  • Kernel Git Commit 1872e75
  • Kernel Git Commit 6c10b01
  • Kernel Git Commit ab1a56c

Workarounds

  • Disable XDP redirect to devmap on affected PREEMPT_RT systems until patching is possible
  • Switch to non-PREEMPT_RT kernel configurations if real-time guarantees are not strictly required
  • Reduce XDP processing load to minimize the window for race condition exploitation
  • Implement network traffic isolation to limit exposure of affected systems
bash
# Check if system is running PREEMPT_RT kernel
uname -v | grep -i preempt

# Check current kernel version
uname -r

# Verify if XDP devmap is in use
bpftool prog list | grep -i xdp

# After updating kernel, verify patch is applied by checking kernel version
# against the fixed versions in your distribution's security advisories

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 1872e75

  • Kernel Git Commit 6c10b01

  • Kernel Git Commit ab1a56c
  • 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