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

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

CVE-2026-23306 is a use-after-free vulnerability in the Linux kernel's pm8001 SCSI driver that causes a double free condition. This article covers the technical details, affected versions, security impact, and mitigation.

Published: March 27, 2026

CVE-2026-23306 Overview

A use-after-free vulnerability has been identified in the Linux kernel's pm8001 SCSI driver, specifically within the pm8001_queue_command() function. This memory corruption issue was introduced by commit e29c47fe8946 ("scsi: pm8001: Simplify pm8001_task_exec()") which refactored the command queuing logic but inadvertently created a double-free scenario when handling PHY down or device gone states.

The vulnerability occurs when pm8001_queue_command() returns -ENODEV in response to a PHY down or device gone condition. In this code path, the function updates the task status and calls task_done to signal to the upper layer that the task has been handled, which frees the underlying SAS task. However, by returning -ENODEV, the calling function sas_ata_qc_issue() in libsas assumes the task wasn't handled by the Low-Level Device Driver (LLDD) and proceeds to clean up and free the task again, resulting in a double-free condition.

Critical Impact

This use-after-free vulnerability in the Linux kernel SCSI subsystem can lead to kernel memory corruption, system instability, and potential privilege escalation on systems utilizing PMC-Sierra pm8001 SAS/SATA Host Bus Adapters.

Affected Products

  • Linux kernel with pm8001 SCSI driver enabled
  • Systems utilizing PMC-Sierra pm8001 SAS/SATA Host Bus Adapters
  • Enterprise storage servers and data center infrastructure using affected kernel versions

Discovery Timeline

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

Technical Details for CVE-2026-23306

Vulnerability Analysis

The vulnerability resides in the error handling logic of the pm8001_queue_command() function within the pm8001 SCSI driver. When a SAS task needs to be executed but the target PHY is down or the device has been removed, the function attempts to gracefully handle this situation by completing the task with an error status and notifying the upper layer via the task_done callback.

The core issue lies in the interaction between the pm8001 driver and the libsas layer. When task_done is called, the SAS task structure is freed by the upper layer. The function then returns -ENODEV to indicate the device is unavailable. However, the libsas sas_ata_qc_issue() function interprets this return value as an indication that the LLDD did not handle or queue the task, leading it to perform its own cleanup routine which attempts to free the already-freed task structure.

This double-free condition corrupts kernel memory allocator metadata, which can lead to system crashes, kernel panics, or potentially be exploited for privilege escalation by a sophisticated attacker who can control the contents of the freed memory regions.

Root Cause

The root cause is an incorrect return value in the error handling path of pm8001_queue_command(). When the function handles a SAS task by calling task_done (which frees the task), it should return 0 to indicate to the caller that the task has been successfully handled. Instead, returning -ENODEV signals to libsas that the task was not processed, causing libsas to attempt cleanup on an already-freed memory structure.

The fix is straightforward: change the return value from -ENODEV to 0 in the PHY down/device gone code path, correctly communicating to the upper layer that the task has been handled by the LLDD.

Attack Vector

The attack vector involves triggering a device disconnection or PHY down event while SAS/SATA I/O operations are in flight. An attacker with physical access to the storage infrastructure could manipulate SAS connections, or a malicious privileged user could potentially craft sequences of I/O operations and device state changes to trigger the race condition.

The vulnerability is primarily exploitable in the following scenarios:

  1. During hot-plug/hot-unplug events of SAS devices
  2. When a device experiences a link failure during active I/O
  3. Through coordinated timing attacks on device state transitions

Detection Methods for CVE-2026-23306

Indicators of Compromise

  • Kernel panic or oops messages referencing pm8001_queue_command or sas_ata_qc_issue functions
  • KASAN (Kernel Address Sanitizer) reports indicating use-after-free in SCSI subsystem
  • Unexpected system crashes during SAS/SATA device hot-plug operations
  • Memory corruption warnings in kernel logs related to slab allocator

Detection Strategies

  • Enable KASAN (Kernel Address Sanitizer) to detect memory corruption issues during testing
  • Monitor for kernel oops or panics with backtraces involving pm8001 driver functions
  • Implement kernel log monitoring for SCSI driver errors and memory allocation failures
  • Deploy crash dump analysis to identify signatures of the double-free condition

Monitoring Recommendations

  • Configure continuous monitoring of kernel logs for SCSI subsystem anomalies
  • Set up automated alerts for kernel panics and system crashes on affected servers
  • Enable kernel debugging features in non-production environments to detect memory corruption early
  • Monitor storage controller events and device state transitions for abnormal patterns

How to Mitigate CVE-2026-23306

Immediate Actions Required

  • Apply the kernel patches from the official Linux kernel stable tree immediately
  • Schedule maintenance windows to reboot systems with patched kernels
  • Limit physical access to SAS infrastructure to reduce exploitation risk
  • Consider temporarily disabling hot-plug functionality on critical systems if patching is delayed

Patch Information

The Linux kernel development team has released patches to address this vulnerability across multiple kernel versions. The fix modifies pm8001_queue_command() to return 0 instead of -ENODEV when the task is handled via task_done, correctly signaling to libsas that the task cleanup has already been performed.

Official patches are available in the following kernel commits:

  • Kernel Git Commit 227ff4af00abc
  • Kernel Git Commit 38353c26db28
  • Kernel Git Commit 824a7672e354
  • Kernel Git Commit 8b00427317ba
  • Kernel Git Commit c5dc39f8ae05
  • Kernel Git Commit ebbb852ffbc9

Workarounds

  • Avoid hot-plug operations on SAS devices until patches are applied
  • Implement strict change control procedures for storage infrastructure modifications
  • Consider using alternative SCSI drivers if available for the hardware
  • Enable kernel memory debugging options to detect exploitation attempts

The definitive fix requires modifying the return value in the error path. Organizations running affected kernels should update their systems using their distribution's package manager or by compiling a patched kernel from source:

bash
# Check current kernel version
uname -r

# Update kernel on Debian/Ubuntu systems
sudo apt update && sudo apt upgrade linux-image-$(uname -r)

# Update kernel on RHEL/CentOS systems
sudo yum update kernel

# Reboot to apply the patched kernel
sudo reboot

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 Update 1

  • Kernel Git Commit Update 2

  • Kernel Git Commit Update 3

  • Kernel Git Commit Update 4

  • Kernel Git Commit Update 5

  • Kernel Git Commit Update 6
  • Related CVEs
  • CVE-2026-31414: Linux Kernel Use-After-Free Vulnerability

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

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

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