A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-23159

CVE-2026-23159: Linux Kernel Use-After-Free Vulnerability

CVE-2026-23159 is a use-after-free vulnerability in the Linux kernel's perf scheduler that causes crashes when accessing freed memory during task exit. This article covers technical details, affected versions, and mitigation.

Published: February 20, 2026

CVE-2026-23159 Overview

CVE-2026-23159 is a vulnerability in the Linux kernel's performance monitoring subsystem (perf) that can cause a system crash due to a NULL pointer dereference. The vulnerability exists in the scheduler profiling functionality when attempting to perform user space stack traces during a specific race condition window when a task exits and frees its memory management (mm) field.

The flaw stems from an incomplete check when determining whether a task is a user task. While previous implementations checked for the PF_KTHREAD and PF_USER_WORKER flags to identify kernel threads, these checks alone are insufficient. During task exit, there exists a brief window where the flags indicate a user space task, but the mm field has already been set to NULL, leading to a kernel crash when perf attempts to read from it.

Critical Impact

Local denial of service condition through kernel NULL pointer dereference crash when perf profiling triggers during task exit race condition window.

Affected Products

  • Linux kernel (multiple versions with perf scheduler profiling functionality)
  • Systems utilizing perf for user space stack tracing
  • Systems with io-uring enabled (uses PF_USER_WORKER flag)

Discovery Timeline

  • 2026-02-14 - CVE-2026-23159 published to NVD
  • 2026-02-18 - Last updated in NVD database

Technical Details for CVE-2026-23159

Vulnerability Analysis

The vulnerability resides in how the Linux kernel's perf subsystem determines whether a task is a user task before attempting to read user space memory for stack traces. Historically, this determination was made by checking if the task_struct->mm field was non-NULL. However, kernel evolution introduced complexity: some kernel tasks now have their own mm field, and the PF_KTHREAD flag check was adopted as the primary method.

Further complications arose when io-uring helpers were introduced, which set PF_USER_WORKER instead of PF_KTHREAD. The current implementation checks these flags to determine task type, but a critical race condition exists during task exit.

When a task exits, it frees its mm field and sets it to NULL before certain exit flags are set. If perf triggers profiling during this narrow window, the flags-based check incorrectly identifies the exiting task as a valid user space task. Subsequently, when perf attempts to read from the NULL mm pointer for stack tracing, the kernel crashes with a NULL pointer dereference.

Root Cause

The root cause is an incomplete task type validation that relies solely on process flags (PF_KTHREAD and PF_USER_WORKER) without also verifying the validity of the mm field. The fix introduces a new is_user_task() helper function that performs comprehensive validation by checking both the process flags and ensuring the mm field is non-NULL before allowing user space memory access.

Attack Vector

An attacker with local access could potentially trigger this vulnerability by:

  1. Initiating perf profiling with user space stack trace collection enabled
  2. Repeatedly creating and terminating processes to increase the probability of hitting the race condition window
  3. Causing a kernel panic when perf attempts to dereference the NULL mm pointer

The vulnerability requires local access and the ability to use perf profiling tools. It is primarily a denial of service condition affecting system availability through kernel crashes.

Detection Methods for CVE-2026-23159

Indicators of Compromise

  • Kernel panic messages containing NULL pointer dereference errors in perf-related code paths
  • System crashes occurring during heavy process creation/termination while perf is active
  • Kernel logs showing crashes in perf_callchain_user or related scheduler profiling functions
  • Unexpected system reboots when running performance profiling tools

Detection Strategies

  • Monitor kernel logs for NULL pointer dereference exceptions in the perf subsystem
  • Implement kernel crash dump analysis to identify perf-related stack traces during crashes
  • Track system stability issues when performance profiling is enabled on production systems
  • Review crash reports for patterns matching task exit race conditions

Monitoring Recommendations

  • Enable kernel crash dump collection (kdump) to capture diagnostic information during crashes
  • Configure system monitoring to alert on unexpected kernel panics or reboots
  • Monitor perf subsystem usage across systems to identify potential trigger conditions
  • Implement centralized logging for kernel error messages related to memory access violations

How to Mitigate CVE-2026-23159

Immediate Actions Required

  • Apply the latest kernel patches that introduce the is_user_task() helper function
  • Consider temporarily disabling user space stack tracing in perf on critical production systems
  • Review and update kernel versions on affected systems to patched releases
  • Restrict perf tool access to trusted users via system permissions

Patch Information

The fix introduces a new is_user_task() helper function that performs comprehensive validation before allowing user space memory access. This helper checks both the process flags (PF_KTHREAD and PF_USER_WORKER) and verifies the mm field is non-NULL, eliminating the race condition window.

Multiple kernel patches have been released to address this vulnerability:

  • Kernel Git Commit 5aac392fcd3d
  • Kernel Git Commit 76ed27608f7d
  • Kernel Git Commit a28fce0365e1
  • Kernel Git Commit d84a4836dc24

Workarounds

  • Disable perf user space stack tracing temporarily using perf configuration options
  • Limit perf profiling to kernel-only stack traces until patches are applied
  • Restrict access to perf tools to reduce exposure surface
  • Implement process isolation for critical workloads to minimize profiling exposure
bash
# Restrict perf access to root only (temporary mitigation)
sudo sysctl kernel.perf_event_paranoid=2

# Verify current perf access level
cat /proc/sys/kernel/perf_event_paranoid

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

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

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

  • Kernel Git Commit Details

  • Kernel Git Commit Details

  • Kernel Git Commit Details
  • Related CVEs
  • CVE-2026-23221: Linux Kernel Use-After-Free Vulnerability

  • CVE-2025-71236: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23166: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-23162: Linux Kernel Use-After-Free Vulnerability
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
  • English
  • 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