Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-23025

CVE-2026-23025: Linux Kernel Race Condition Vulnerability

CVE-2026-23025 is a race condition flaw in the Linux kernel's memory management that can corrupt per-cpu page allocator structures. This article covers the technical details, affected versions, and mitigation steps.

Published: February 6, 2026

CVE-2026-23025 Overview

CVE-2026-23025 is a race condition vulnerability in the Linux kernel's memory management subsystem, specifically affecting the per-CPU page allocator (mm/page_alloc) when compiled with SMP=n (uniprocessor configuration). The vulnerability allows for corruption of the per-CPU pages (pcp) structure due to improper spinlock handling during interrupt-driven memory operations.

Critical Impact

Kernel memory corruption affecting systems compiled with SMP=n can lead to system instability, denial of service, and potential exploitation of corrupted memory structures.

Affected Products

  • Linux kernel version 6.18.0-rc5 and potentially earlier versions
  • Systems compiled with SMP=n (uniprocessor) configuration
  • Systems with the memory compaction daemon (kcompactd) active

Discovery Timeline

  • 2026-01-31 - CVE CVE-2026-23025 published to NVD
  • 2026-02-03 - Last updated in NVD database

Technical Details for CVE-2026-23025

Vulnerability Analysis

This vulnerability stems from a design flaw in the per-CPU page allocator's locking mechanism when the kernel is compiled without symmetric multiprocessing support (SMP=n). The kernel test robot identified a spinlock trylock failure during the execution of the kcompactd0 memory compaction daemon.

In the affected code path, when drain_pages_zone() holds spin_lock(&pcp->lock), an interrupt can occur that eventually calls __free_frozen_pages() which attempts spin_trylock() on the same lock. While this design is intended to work on SMP systems by allowing the trylock to fail with a fallback mechanism, the uniprocessor spinlock implementation assumes spin_trylock() will always succeed, making it effectively a no-op.

The issue was introduced by commit 574907741599 ("mm/page_alloc: leave IRQs enabled for per-cpu page allocations"), which optimized the pcp locking scheme but failed to account for the nesting scenario in spin_lock() sections on SMP=n configurations.

Root Cause

The root cause is the asymmetric behavior between SMP and SMP=n spinlock implementations. The pcp locking scheme recognized the need to disable IRQs to prevent nesting spin_trylock() sections on uniprocessor systems, but the code did not account for the same nesting requirement when using spin_lock(). On SMP=n systems, both spin_lock() and spin_trylock() are simplified implementations that don't handle the case where an interrupt handler attempts to acquire a lock already held by the interrupted context.

Attack Vector

The vulnerability is triggered through normal kernel operations rather than external attack vectors. When the memory compaction daemon (kcompactd) is draining pages and an interrupt occurs that triggers memory freeing operations through the RCU callback mechanism, the lock nesting condition manifests. The call chain involves:

  1. kcompactd calls drain_pages_zone() holding pcp->lock
  2. An APIC timer interrupt fires during this critical section
  3. The interrupt handler processes softirqs including RCU callbacks
  4. tlb_remove_table_rcu() eventually calls __free_frozen_pages()
  5. The free operation attempts spin_trylock() on the already-held pcp->lock

While exploitation requires specific timing conditions, the corruption of pcp structures could potentially be leveraged for privilege escalation or denial of service attacks on affected systems.

Detection Methods for CVE-2026-23025

Indicators of Compromise

  • Kernel log messages showing "BUG: spinlock trylock failure on UP" errors
  • Stack traces referencing __free_frozen_pages, drain_pages_zone, and kcompactd in the call chain
  • System crashes or hangs during heavy memory operations
  • Unexpected behavior in memory compaction operations

Detection Strategies

  • Monitor kernel logs (dmesg) for spinlock debugging messages containing "trylock failure on UP"
  • Enable CONFIG_DEBUG_SPINLOCK kernel option to catch lock violations
  • Track system stability issues on uniprocessor kernel configurations
  • Review kernel configuration for SMP=n setting in /proc/config.gz or kernel config files

Monitoring Recommendations

  • Implement kernel log monitoring for spinlock-related error messages
  • Set up alerts for kernel panics or oops involving mm/page_alloc.c
  • Monitor memory subsystem health through /proc/vmstat and /proc/buddyinfo
  • Track kcompactd process behavior and resource utilization

How to Mitigate CVE-2026-23025

Immediate Actions Required

  • Apply the kernel patches from the official kernel git repository
  • Consider recompiling the kernel with SMP=y if hardware supports multiple processors
  • Monitor affected systems closely for signs of memory corruption
  • Schedule maintenance windows for kernel updates on production systems

Patch Information

The fix introduces local wrapper functions that change spin_lock() to spin_lock_irqsave() specifically for SMP=n configurations. These wrappers with the pcp_ prefix are applied to all code paths that acquire spin_lock(&pcp->lock), ensuring IRQs are disabled during the critical section and preventing the lock nesting issue.

Multiple patch commits are available from the kernel git repository:

  • Kernel Git Commit 038a102
  • Kernel Git Commit 3098f8f
  • Kernel Git Commit 4a04ff9
  • Kernel Git Commit df63d31

Workarounds

  • Compile kernel with CONFIG_SMP=y to use the full SMP-aware spinlock implementation
  • Disable memory compaction temporarily by setting /proc/sys/vm/compact_memory to 0
  • Enable kernel lock debugging (CONFIG_DEBUG_SPINLOCK) to detect issues early
  • Consider limiting memory pressure to reduce compaction daemon activity
bash
# Check if kernel is compiled with SMP support
zcat /proc/config.gz | grep CONFIG_SMP

# Temporarily disable memory compaction (workaround)
echo 0 > /proc/sys/vm/compact_memory

# Monitor for spinlock issues in kernel logs
dmesg -w | grep -i "spinlock\|trylock"

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 038a102

  • Kernel Git Commit 3098f8f

  • Kernel Git Commit 4a04ff9

  • Kernel Git Commit df63d31
  • Related CVEs
  • CVE-2026-31456: Linux Kernel Race Condition Vulnerability

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

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

  • CVE-2026-31436: Linux Kernel Race Condition Vulnerability
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