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

CVE-2026-23205: Linux Kernel SMB Client Memory Leak Flaw

CVE-2026-23205 is a memory leak flaw in the Linux kernel's SMB client component affecting the smb2_open_file() function. This vulnerability can cause resource exhaustion. This post covers technical details, impact, and mitigation.

Published: February 20, 2026

CVE-2026-23205 Overview

CVE-2026-23205 is a Memory Leak vulnerability in the Linux kernel's SMB client implementation, specifically within the smb2_open_file() function. This flaw occurs when attempting file operations on read-only exported directories via CIFS mounts, leading to memory objects remaining allocated in the cifs_small_rq slab cache even after the CIFS module is unloaded.

The vulnerability manifests during a specific sequence of operations: mounting a CIFS share with read-only directories, attempting direct I/O write operations, unmounting, and then unloading the CIFS kernel module. This results in kernel warnings about objects remaining in the slab cache during __kmem_cache_shutdown(), indicating improper memory cleanup.

Critical Impact

Memory leak in the Linux kernel CIFS/SMB client can lead to kernel memory exhaustion over time on systems that frequently mount/unmount CIFS shares, potentially causing system instability or denial of service conditions.

Affected Products

  • Linux kernel with CIFS/SMB client support enabled
  • Systems using mount -t cifs for network file system access
  • Linux distributions with SMB2/SMB3 protocol support in the kernel

Discovery Timeline

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

Technical Details for CVE-2026-23205

Vulnerability Analysis

The vulnerability resides in the smb2_open_file() function within the Linux kernel's CIFS client subsystem. When a client attempts to perform write operations (such as direct I/O with dd) to a directory that is exported as read-only from the server, the function allocates memory from the cifs_small_rq kmem cache but fails to properly release these allocations under certain error conditions.

The memory leak becomes evident during module unload, where the kernel's slab allocator detects objects still present in the cifs_small_rq cache. This triggers a BUG warning from __kmem_cache_shutdown() followed by additional warnings from kmem_cache_destroy() in cifs_destroy_request_bufs().

The issue affects systems that:

  • Mount CIFS/SMB shares containing read-only directories
  • Attempt write operations that fail due to permission restrictions
  • Subsequently unmount and unload the CIFS kernel module

Root Cause

The root cause is improper error handling in the smb2_open_file() function. When a file open operation fails (such as when attempting to create a file on a read-only share), the code path does not properly free all allocated request buffers before returning the error. This leaves orphaned objects in the cifs_small_rq slab cache, which persists even after the mount is released.

The specific issue is in the cleanup path where SMB2 request buffers allocated for the open operation are not deallocated when the operation fails due to server-side permission errors.

Attack Vector

The vulnerability can be triggered through normal filesystem operations when CIFS mounts are used with read-only exports. The attack vector involves:

  1. Establishing a CIFS mount to a server with read-only exported directories
  2. Attempting direct I/O write operations to the mounted filesystem
  3. Unmounting the CIFS share
  4. Unloading the CIFS kernel module

While this is primarily a local vulnerability requiring filesystem access, the memory leak could be exploited to cause denial of service by repeatedly triggering the leak condition without module unloads, gradually exhausting kernel memory.

The vulnerability mechanism involves the following sequence as documented in the kernel bug report:

  1. Server exports directories as read-only
  2. Client mounts the share using mount -t cifs //${server_ip}/export /mnt
  3. Write operation attempted: dd if=/dev/zero of=/mnt/file bs=512 count=1000 oflag=direct
  4. Client unmounts: umount /mnt
  5. Module removal attempted: modprobe -r cifs

At step 5, the kernel reports slab cache objects remaining, with the call trace showing the leak originates from cifs_destroy_request_bufs() during cleanup_module().

Detection Methods for CVE-2026-23205

Indicators of Compromise

  • Kernel warning messages containing BUG cifs_small_rq and Objects remaining on __kmem_cache_shutdown()
  • Warnings in system logs from mm/slub.c related to __kmem_cache_shutdown
  • Error messages stating kmem_cache_destroy cifs_small_rq: Slab cache still has objects
  • Increasing memory consumption in systems with frequent CIFS mount/unmount cycles

Detection Strategies

  • Monitor kernel logs (dmesg, /var/log/kern.log) for slab cache warnings related to cifs_small_rq
  • Track memory allocation patterns in the CIFS subsystem using kernel memory debugging tools
  • Implement alerting on WARNING messages from mm/slab_common.c during module unload operations
  • Use kernel memory leak detection tools like kmemleak to identify unreleased allocations in CIFS operations

Monitoring Recommendations

  • Enable kernel memory debugging options (CONFIG_DEBUG_SLAB, CONFIG_SLUB_DEBUG) in non-production environments to detect leaks early
  • Monitor /proc/slabinfo for abnormal growth in cifs_small_rq slab usage
  • Implement log aggregation rules to alert on CIFS-related kernel warnings
  • Track system memory utilization on servers with heavy CIFS client usage

How to Mitigate CVE-2026-23205

Immediate Actions Required

  • Apply the kernel patches from the official Linux kernel git repository
  • Update to a patched kernel version containing the fix
  • On systems where immediate patching is not possible, avoid frequent CIFS module unload operations
  • Monitor affected systems for memory exhaustion symptoms

Patch Information

The Linux kernel maintainers have released patches to address this memory leak vulnerability. The fix ensures proper cleanup of allocated request buffers in the smb2_open_file() function error paths. Multiple commits have been applied to various stable kernel branches:

  • Kernel Git Commit #3a6d6b3
  • Kernel Git Commit #743f704
  • Kernel Git Commit #9ee608a
  • Kernel Git Commit #b64e3b5
  • Kernel Git Commit #e3a4363

Administrators should update to kernel versions containing these patches through their distribution's package management system.

Workarounds

  • Avoid unloading the CIFS kernel module on production systems until patched
  • Minimize direct I/O write operations to read-only CIFS mounts
  • Use persistent CIFS mounts rather than frequent mount/unmount cycles
  • Monitor memory usage and schedule periodic reboots if memory pressure becomes critical
bash
# Check current kernel version
uname -r

# Check if CIFS module is loaded
lsmod | grep cifs

# Monitor slab cache usage for cifs_small_rq
cat /proc/slabinfo | grep cifs_small_rq

# 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

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLinux Kernel

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.02%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • Technical References
  • Kernel Git Commit #3a6d6b3

  • Kernel Git Commit #743f704

  • Kernel Git Commit #9ee608a

  • Kernel Git Commit #b64e3b5

  • Kernel Git Commit #e3a4363
  • Related CVEs
  • CVE-2026-23457: Linux Kernel Integer Truncation Vulnerability

  • CVE-2026-23442: Linux Kernel IPv6 SRv6 Null Pointer Flaw

  • CVE-2026-23431: Linux Kernel Memory Leak Vulnerability

  • CVE-2026-31391: Linux Kernel Atmel SHA204A OOM 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