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-2023-32247

CVE-2023-32247: Linux Kernel ksmbd DoS Vulnerability

CVE-2023-32247 is a denial-of-service flaw in Linux Kernel's ksmbd SMB server caused by uncontrolled resource consumption in SMB2_SESSION_SETUP handling. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 4, 2026

CVE-2023-32247 Overview

A flaw was found in the Linux kernel's ksmbd, a high-performance in-kernel SMB server. The specific flaw exists within the handling of SMB2_SESSION_SETUP commands. The issue results from the lack of control of resource consumption, classified as CWE-401 (Missing Release of Memory after Effective Lifetime). An attacker can leverage this vulnerability to create a denial-of-service condition on the system by exhausting available memory resources through repeated exploitation.

Critical Impact

Remote unauthenticated attackers can cause denial-of-service on systems running ksmbd by sending crafted SMB2_SESSION_SETUP commands, leading to memory exhaustion and system instability.

Affected Products

  • Linux Linux Kernel (multiple versions with ksmbd enabled)
  • NetApp H300s Storage Systems
  • NetApp H410s Storage Systems
  • NetApp H500s Storage Systems
  • NetApp H700s Storage Systems

Discovery Timeline

  • 2023-07-24 - CVE-2023-32247 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-32247

Vulnerability Analysis

This vulnerability is a Memory Leak flaw in the Linux kernel's ksmbd module, which provides an in-kernel SMB3 server implementation. The vulnerability exists in the handling of SMB2_SESSION_SETUP commands, where improper resource management allows an attacker to cause memory exhaustion.

The ksmbd module was introduced to provide high-performance SMB file sharing directly within the kernel space, bypassing the traditional userspace Samba implementation. However, this performance optimization comes with increased security risks when vulnerabilities are present, as kernel-level exploits can have more severe consequences than userspace vulnerabilities.

The flaw is network-accessible without requiring authentication or user interaction, making it particularly dangerous for systems exposed to untrusted networks. An attacker can send specially crafted SMB2_SESSION_SETUP requests that trigger memory allocations without corresponding deallocations, progressively consuming system memory until the system becomes unresponsive or crashes.

Root Cause

The root cause of this vulnerability lies in CWE-401: Missing Release of Memory after Effective Lifetime. When processing SMB2_SESSION_SETUP commands in ksmbd, the code fails to properly release allocated memory in certain error paths or session handling scenarios. This creates a memory leak that can be triggered repeatedly by an attacker, eventually exhausting available system memory. The lack of proper resource consumption controls allows unbounded memory allocation, which should be prevented through proper limits and cleanup routines.

Attack Vector

The attack can be executed remotely over the network against any system with ksmbd enabled and accessible. The attack flow involves:

  1. The attacker identifies a target system with ksmbd SMB server running (typically on port 445)
  2. The attacker sends multiple malformed or specially crafted SMB2_SESSION_SETUP commands
  3. Each command triggers memory allocation that is not properly released
  4. Repeated requests progressively exhaust system memory
  5. Eventually, the system experiences denial-of-service due to memory exhaustion

Since the attack requires no authentication and no user interaction, it can be automated and executed at scale against vulnerable systems. The vulnerability affects the SMB session establishment phase, meaning it can be triggered before any authentication takes place.

Detection Methods for CVE-2023-32247

Indicators of Compromise

  • Unusual memory consumption growth on systems running ksmbd
  • High volume of SMB2_SESSION_SETUP requests from single or multiple sources
  • System performance degradation or unresponsiveness on SMB servers
  • Kernel memory allocation warnings or out-of-memory (OOM) killer activation
  • Abnormal network traffic patterns targeting port 445

Detection Strategies

  • Monitor ksmbd process memory usage for unusual growth patterns
  • Implement network intrusion detection rules for anomalous SMB2_SESSION_SETUP traffic
  • Deploy rate limiting on SMB connections to detect and throttle potential attacks
  • Configure system resource monitoring with alerts for memory exhaustion thresholds
  • Use kernel audit logging to track ksmbd module activity and session handling

Monitoring Recommendations

  • Enable SMB protocol logging and analyze for repeated failed session setup attempts
  • Monitor system memory metrics with alerting for sustained memory growth without corresponding release
  • Track network connections to ksmbd for unusual connection patterns or high request rates
  • Implement baseline monitoring for normal ksmbd memory footprint to detect deviations
  • Review kernel logs for ksmbd-related warnings or errors

How to Mitigate CVE-2023-32247

Immediate Actions Required

  • Disable ksmbd if not required for operations and use userspace Samba instead
  • Restrict network access to SMB services using firewall rules to trusted networks only
  • Apply available kernel patches from your Linux distribution
  • Monitor affected systems for signs of exploitation or memory exhaustion
  • Implement network segmentation to limit exposure of SMB services

Patch Information

Patches for this vulnerability are available through Linux kernel updates. System administrators should apply security updates from their respective Linux distributions. For NetApp appliances, refer to NetApp Security Advisory NTAP-20230915-0011 for specific firmware updates. Additional information is available in the Red Hat Bug Report #2219803 and the Zero Day Initiative ZDI-CAN-20478 Advisory.

Workarounds

  • Disable ksmbd module if not essential: modprobe -r ksmbd
  • Use traditional userspace Samba server instead of in-kernel ksmbd
  • Implement firewall rules to restrict SMB access to trusted IP ranges only
  • Deploy an intrusion prevention system (IPS) with rules to detect and block SMB exploitation attempts
  • Consider using VPN or other network security controls to limit SMB service exposure
bash
# Configuration example - Disable ksmbd and block SMB access
# Disable ksmbd kernel module
sudo modprobe -r ksmbd

# Prevent ksmbd from loading on boot
echo "blacklist ksmbd" | sudo tee /etc/modprobe.d/blacklist-ksmbd.conf

# Restrict SMB port access with iptables (allow only trusted network)
sudo iptables -A INPUT -p tcp --dport 445 -s 192.168.1.0/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
  • TypeDOS

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-401
  • Technical References
  • Red Hat CVE-2023-32247 Advisory

  • NetApp Security Advisory NTAP-20230915-0011
  • Vendor Resources
  • Red Hat Bug Report #2219803

  • Zero Day Initiative ZDI-CAN-20478 Advisory
  • Related CVEs
  • CVE-2026-31739: Linux Kernel Tegra Crypto DoS Vulnerability

  • CVE-2026-43054: Linux Kernel tcm_loop DOS Vulnerability

  • CVE-2026-31736: Linux Kernel MTK PPE DoS Vulnerability

  • CVE-2026-31727: Linux Kernel USB Gadget DoS 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