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

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

CVE-2026-23428 is a use-after-free vulnerability in the Linux kernel's ksmbd component that can cause memory corruption in compound requests. This article covers the technical details, affected versions, and mitigation.

Published: April 10, 2026

CVE-2026-23428 Overview

CVE-2026-23428 is a use-after-free vulnerability in the Linux kernel's ksmbd (in-kernel SMB server) component. The vulnerability exists in the handling of compound SMB2 requests, where smb2_get_ksmbd_tcon() reuses the work->tcon structure without properly validating the tcon->t_state field. This allows a specially crafted compound request to trigger a use-after-free condition when accessing share_conf after it has been freed by a preceding tree disconnect operation.

Critical Impact

Attackers can exploit this use-after-free vulnerability in the Linux kernel's ksmbd SMB server to potentially achieve arbitrary code execution or cause a denial of service condition by sending malicious compound SMB2 requests.

Affected Products

  • Linux kernel with ksmbd (in-kernel SMB server) enabled
  • Systems running ksmbd with compound SMB2 request processing
  • Multiple Linux kernel versions prior to the security patches

Discovery Timeline

  • April 3, 2026 - CVE CVE-2026-23428 published to NVD
  • April 7, 2026 - Last updated in NVD database

Technical Details for CVE-2026-23428

Vulnerability Analysis

This use-after-free vulnerability occurs in the ksmbd SMB server's compound request handling logic. The core issue lies in the smb2_get_ksmbd_tcon() function, which is responsible for retrieving the tree connection context during SMB2 operations.

Under normal operation, ksmbd_tree_conn_lookup() performs a state validation check to ensure that t_state == TREE_CONNECTED before processing requests. However, when handling compound requests (multiple SMB2 commands bundled together), the function takes a shortcut by reusing the previously cached work->tcon pointer without re-validating the connection state.

This creates a dangerous race condition when a compound request contains an SMB2_TREE_DISCONNECT command followed by subsequent commands that reference the same tree connection. The disconnect command sets t_state to TREE_DISCONNECTED and calls ksmbd_share_config_put(), which frees the share_conf structure. Subsequent commands in the compound request then dereference the already-freed share_conf through work->tcon->share_conf, resulting in a use-after-free condition.

The KASAN (Kernel Address Sanitizer) report included in the vulnerability disclosure confirms this behavior, showing a slab-use-after-free error in smb2_write() when reading from a freed 96-byte memory region in the kmalloc-96 cache.

Root Cause

The root cause is a missing state validation check in the compound request reuse path within smb2_get_ksmbd_tcon(). While the initial lookup path properly validates tcon->t_state, the compound request optimization path bypasses this critical security check entirely. This allows operations to proceed on a tree connection that has already been disconnected and had its associated resources freed.

Attack Vector

An attacker with network access to a ksmbd SMB server can exploit this vulnerability by sending a specially crafted compound SMB2 request. The attack sequence would involve:

  1. Establishing a valid tree connection to the SMB server
  2. Constructing a compound SMB2 request containing multiple chained commands
  3. Including an SMB2_TREE_DISCONNECT command early in the compound sequence
  4. Following with additional commands (such as SMB2_WRITE) that reference the same tree connection
  5. The disconnect command frees share_conf while subsequent commands attempt to access it through the stale work->tcon pointer

The vulnerability is exploitable remotely over the network through the SMB protocol, making it accessible to any authenticated user with basic file sharing permissions.

Detection Methods for CVE-2026-23428

Indicators of Compromise

  • Kernel crash or panic messages referencing smb2_write, handle_ksmbd_work, or ksmbd-io workqueue
  • KASAN reports indicating slab-use-after-free in ksmbd-related functions
  • Unusual compound SMB2 request patterns in network traffic containing tree disconnect operations

Detection Strategies

  • Enable KASAN (Kernel Address Sanitizer) in development/test environments to detect use-after-free conditions
  • Monitor kernel logs for crash dumps or oops messages originating from ksmbd worker threads
  • Deploy network intrusion detection rules to identify malformed or suspicious compound SMB2 request sequences
  • Audit SMB server logs for unusual tree connect/disconnect patterns within rapid succession

Monitoring Recommendations

  • Configure kernel crash dump collection (kdump) to capture diagnostic information if exploitation occurs
  • Enable enhanced SMB audit logging to track compound request processing
  • Monitor for abnormal ksmbd worker thread behavior or resource consumption patterns

How to Mitigate CVE-2026-23428

Immediate Actions Required

  • Update the Linux kernel to a patched version containing the fix
  • If patching is not immediately possible, consider disabling ksmbd and using userspace Samba instead
  • Restrict network access to SMB services to trusted networks only
  • Monitor ksmbd-enabled systems for signs of exploitation attempts

Patch Information

The Linux kernel developers have released patches to address this vulnerability. The fix involves adding proper t_state validation in the compound request reuse path to ensure that disconnected tree connections are not accessed. Multiple kernel stable branches have received the fix:

  • Linux Kernel Commit 7f7468f
  • Linux Kernel Commit 806f137
  • Linux Kernel Commit a5929c2
  • Linux Kernel Commit c33615f
  • Linux Kernel Commit c742b46
  • Linux Kernel Commit eae0dc8

Workarounds

  • Disable ksmbd kernel module and use userspace Samba (smbd) as an alternative SMB server
  • Implement network-level access controls to restrict SMB access to trusted clients only
  • Deploy firewall rules to block SMB traffic (ports 445/tcp and 139/tcp) from untrusted networks
bash
# Disable ksmbd kernel module
sudo modprobe -r ksmbd
sudo echo "blacklist ksmbd" >> /etc/modprobe.d/blacklist.conf

# Restrict SMB access via firewall (iptables example)
sudo iptables -A INPUT -p tcp --dport 445 -s trusted_network/24 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 445 -j DROP

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

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.03%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Linux Kernel Commit 7f7468f

  • Linux Kernel Commit 806f137

  • Linux Kernel Commit a5929c2

  • Linux Kernel Commit c33615f

  • Linux Kernel Commit c742b46

  • Linux Kernel Commit eae0dc8
  • Related CVEs
  • CVE-2026-23427: Linux Kernel Use-After-Free Vulnerability

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

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

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