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

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

CVE-2026-23226 is a use-after-free flaw in Linux Kernel's ksmbd that affects multi-channel sessions due to missing synchronization. This article covers technical details, affected versions, impact, and mitigation.

Updated: May 16, 2026

CVE-2026-23226 Overview

CVE-2026-23226 is a use-after-free vulnerability [CWE-416] in the Linux kernel's ksmbd in-kernel SMB3 server. The flaw resides in the multi-channel session handling code, where the ksmbd_chann_list xarray lacks proper synchronization between lookup_chann_list() and ksmbd_chann_del(). A local authenticated attacker can race these operations to trigger use-after-free conditions in kernel memory. The vulnerability affects the Linux kernel across multiple stable branches and has been resolved by adding an rw_semaphorechann_lock to struct ksmbd_session.

Critical Impact

Successful exploitation can lead to kernel memory corruption, local privilege escalation, and full compromise of confidentiality, integrity, and availability on systems running ksmbd with multi-channel SMB sessions enabled.

Affected Products

  • Linux Kernel (upstream) with ksmbd enabled
  • Linux distributions shipping vulnerable ksmbd builds prior to the fix commits
  • SMB3 servers configured with multi-channel session support

Discovery Timeline

  • 2026-02-18 - CVE-2026-23226 published to the National Vulnerability Database
  • 2026-04-02 - Last updated in NVD database

Technical Details for CVE-2026-23226

Vulnerability Analysis

The ksmbd kernel module implements an SMB3 file server inside the Linux kernel. SMB3 multi-channel allows clients to bind multiple transport channels to a single session, with each channel tracked in the ksmbd_chann_list xarray attached to struct ksmbd_session.

The xarray was accessed concurrently by lookup_chann_list(), ksmbd_chann_del(), and channel insertion paths without a synchronizing lock. A channel structure could be freed by ksmbd_chann_del() on one CPU while another CPU still held a pointer returned by lookup_chann_list(). Subsequent dereferences operate on freed memory.

Because the affected memory belongs to kernel heap allocations, attackers can craft heap layouts that cause kernel-mode reads, writes, or function pointer dispatches against attacker-controlled data.

Root Cause

The root cause is missing synchronization around xa_load, xa_store, and xa_erase operations against ksmbd_chann_list. The xarray API requires external locking for read/write coordination, but the original ksmbd implementation provided none. The upstream fix introduces an rw_semaphore chann_lock field in struct ksmbd_session and wraps every channel xarray access in either a read or write lock.

Attack Vector

Exploitation requires local access with valid SMB credentials and the ability to establish multiple SMB3 channels to a target session. The attacker triggers parallel channel teardown and lookup operations to hit the race window between dereference and free. The CVSS vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H reflects a local, low-complexity attack performed by an authenticated user with no user interaction required.

The vulnerability is described in prose because no public proof-of-concept exploit is available. Technical details of the fix are visible in the upstream commits referenced under Patch Information.

Detection Methods for CVE-2026-23226

Indicators of Compromise

  • Unexpected kernel oops or panic messages referencing ksmbd_chann_* functions in dmesg or /var/log/kern.log
  • KASAN reports identifying use-after-free in lookup_chann_list or related channel handling routines
  • Unexplained crashes of the ksmbd server process or kernel module under multi-channel SMB workloads

Detection Strategies

  • Audit running kernel versions across the fleet and flag hosts running ksmbd-enabled builds without the fix commits 36ef605, 4f3a06c, or e4a8a96
  • Monitor SMB session telemetry for clients rapidly establishing and tearing down multiple channels against the same session
  • Enable KASAN on test and pre-production kernels to surface use-after-free conditions during SMB fuzzing

Monitoring Recommendations

  • Forward kernel logs and SMB authentication events to a centralized SIEM for correlation against host crash signals
  • Alert on repeated ksmbd module reloads, kernel taint flag changes, or kernel-mode crash dumps on file servers
  • Track SMB3 multi-channel negotiations per user and flag anomalous channel bind rates from a single principal

How to Mitigate CVE-2026-23226

Immediate Actions Required

  • Apply the upstream kernel patches or vendor-backported updates that introduce chann_lock in struct ksmbd_session
  • Disable the ksmbd module on hosts that do not require an in-kernel SMB server until patches are deployed
  • Restrict SMB access to trusted networks and authenticated users only, reducing the local-attack surface
  • Audit user accounts authorized to authenticate against ksmbd and revoke any that are not required

Patch Information

The fix adds an rw_semaphore chann_lock to struct ksmbd_session and protects all xa_load, xa_store, and xa_erase calls against ksmbd_chann_list. Patches are available in the upstream stable trees at Kernel Git Commit 36ef605, Kernel Git Commit 4f3a06c, Kernel Git Commit e4a8a96, and the mainline merge at Kernel Git Commit 4c2ca31. Apply the distribution kernel package that includes these commits and reboot.

Workarounds

  • Unload the ksmbd module with modprobe -r ksmbd where SMB serving is not required
  • Disable SMB3 multi-channel on the server to remove the race condition trigger path
  • Block inbound TCP/445 from untrusted networks at the host or perimeter firewall
  • Use Samba (smbd) as an alternative SMB server until kernel updates are applied
bash
# Configuration example: disable ksmbd until patched
sudo systemctl stop ksmbd.service
sudo systemctl disable ksmbd.service
sudo modprobe -r ksmbd
echo 'blacklist ksmbd' | sudo tee /etc/modprobe.d/blacklist-ksmbd.conf

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

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • Kernel Git Commit 4c2ca31
  • Vendor Resources
  • Kernel Git Commit 36ef605

  • Kernel Git Commit 4f3a06c

  • Kernel Git Commit e4a8a96
  • Related CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

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

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

  • CVE-2026-43335: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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