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
    • 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-23068

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

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

Published: February 6, 2026

CVE-2026-23068 Overview

A double free vulnerability has been identified in the Linux kernel's spi-sprd-adi driver. The flaw exists in the error handling path during device probe initialization, where incorrect memory management leads to the spi_controller structure being freed twice. This memory corruption issue arises from a mismatch between the allocation method (spi_alloc_host()) and the registration method (devm_spi_register_controller()), causing both manual and automatic cleanup routines to attempt deallocation of the same resource.

Critical Impact

Exploitation of this double free condition can lead to kernel memory corruption, potentially enabling denial of service through kernel panic or, in certain scenarios, privilege escalation if an attacker can control the memory allocation patterns.

Affected Products

  • Linux kernel with spi-sprd-adi driver enabled
  • Systems using Spreadtrum/Unisoc ADI SPI interfaces
  • Embedded Linux devices utilizing the affected SPI subsystem

Discovery Timeline

  • February 4, 2026 - CVE CVE-2026-23068 published to NVD
  • February 5, 2026 - Last updated in NVD database

Technical Details for CVE-2026-23068

Vulnerability Analysis

The vulnerability resides in the spi-sprd-adi driver's probe function error handling logic. When the driver initializes, it allocates an SPI controller using spi_alloc_host(), which performs a standard allocation requiring manual cleanup. However, the driver subsequently registers this controller using devm_spi_register_controller(), which is a device-managed (devm) function that automatically handles cleanup when the device is removed or when probe fails.

This creates a critical inconsistency: if devm_register_restart_handler() fails after successful controller registration, the error path explicitly calls spi_controller_put() via the put_ctlr label. Since the controller was registered with a devm function, the device core will also invoke spi_controller_put() automatically during cleanup. This results in the reference count being decremented twice, ultimately causing a double free of the spi_controller structure.

The consequences of a double free in kernel space are severe. The memory previously occupied by the controller structure may be reallocated for other purposes, and when the second free operation occurs, it can corrupt kernel heap metadata or overwrite legitimate data structures.

Root Cause

The root cause is an API mismatch between allocation and registration functions. The driver uses spi_alloc_host() for allocation but devm_spi_register_controller() for registration. The devm (device-managed) API assumes it owns the resource lifecycle and will automatically release resources on device removal or probe failure. When combined with manual cleanup in the error path, this leads to duplicate deallocation attempts. The fix correctly switches to devm_spi_alloc_host() for allocation, ensuring consistent device-managed lifecycle handling, and removes the now-redundant manual spi_controller_put() call.

Attack Vector

The attack vector for this vulnerability is local, requiring an attacker to have the ability to trigger driver probe failures on the target system. Potential exploitation scenarios include:

  1. Module Loading/Unloading: Triggering repeated module load/unload cycles with conditions that cause probe failures
  2. Device Hot-plug Events: Manipulating hardware or device tree configurations to create error conditions during device enumeration
  3. Resource Exhaustion: Creating conditions where devm_register_restart_handler() fails, such as memory pressure

Successful exploitation could allow a local attacker to corrupt kernel memory structures, potentially leading to privilege escalation or denial of service through kernel panic.

Detection Methods for CVE-2026-23068

Indicators of Compromise

  • Kernel panic messages referencing double free or invalid memory access in SPI subsystem
  • KASAN (Kernel Address Sanitizer) reports indicating use-after-free in spi_controller related functions
  • Unexpected system reboots or crashes when loading or unloading the spi-sprd-adi module
  • Kernel oops messages with stack traces involving spi_controller_put() or related SPI functions

Detection Strategies

  • Enable KASAN and SLUB debugging in kernel configuration to detect double free conditions at runtime
  • Monitor kernel logs for patterns matching spi-sprd-adi errors combined with memory corruption indicators
  • Deploy kernel livepatching detection tools to identify systems running vulnerable kernel versions
  • Use SentinelOne's kernel protection capabilities to detect anomalous memory operations in the SPI subsystem

Monitoring Recommendations

  • Configure syslog monitoring for kernel panic and oops messages related to SPI subsystem components
  • Implement automated kernel version tracking across fleet to identify systems requiring patching
  • Enable kernel crash dump collection (kdump) for post-incident forensic analysis
  • Monitor for unusual patterns of module loading/unloading activity that could indicate exploitation attempts

How to Mitigate CVE-2026-23068

Immediate Actions Required

  • Update the Linux kernel to a patched version that includes the fix for the spi-sprd-adi driver
  • If immediate patching is not possible, consider disabling or blacklisting the spi-sprd-adi module if not required for system operation
  • Review system configurations to assess exposure to this vulnerability based on hardware usage
  • Enable kernel hardening features such as KASAN to detect exploitation attempts

Patch Information

Multiple patches have been released to address this vulnerability. The fix involves switching from spi_alloc_host() to devm_spi_alloc_host() for controller allocation, ensuring consistent device-managed resource handling and removing the manual spi_controller_put() call from the error path.

Available patches:

  • Kernel Patch 346775f
  • Kernel Patch 383d4f5
  • Kernel Patch 417cdfd
  • Kernel Patch f6d6b3f

Workarounds

  • Blacklist the spi-sprd-adi module by adding blacklist spi-sprd-adi to /etc/modprobe.d/blacklist.conf if the hardware is not in use
  • Restrict module loading capabilities using kernel lockdown features or SELinux/AppArmor policies
  • Limit local access to systems where the vulnerable driver is required until patching can be completed
  • Enable SLUB debugging with slub_debug=FZP kernel parameter to help detect exploitation attempts
bash
# Configuration example
# Blacklist the vulnerable module until patching is complete
echo "blacklist spi-sprd-adi" | sudo tee /etc/modprobe.d/blacklist-spi-sprd-adi.conf

# Verify the module is not loaded
lsmod | grep spi_sprd_adi

# If loaded, remove the module (only if not required)
sudo modprobe -r spi_sprd_adi

# Update initramfs to apply blacklist on boot
sudo update-initramfs -u

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 Patch 346775f

  • Kernel Patch 383d4f5

  • Kernel Patch 417cdfd

  • Kernel Patch f6d6b3f
  • Related CVEs
  • CVE-2026-23462: Linux Kernel Use-After-Free Vulnerability

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

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

  • CVE-2026-23456: 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