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

CVE-2026-23364: Linux Kernel ksmbd Timing Attack Flaw

CVE-2026-23364 is a timing attack vulnerability in the Linux kernel ksmbd component caused by non-constant-time MAC comparisons. This article covers the technical details, affected versions, security impact, and mitigation.

Published: March 27, 2026

CVE-2026-23364 Overview

A timing attack vulnerability has been identified in the Linux kernel's ksmbd (SMB server) component. The vulnerability exists due to the use of memcmp() for Message Authentication Code (MAC) comparisons, which does not execute in constant time. This allows attackers to potentially extract sensitive cryptographic information by measuring the time differences in MAC validation responses.

Critical Impact

Attackers could exploit timing side-channel differences in MAC comparisons to gradually deduce valid authentication credentials or cryptographic material, potentially compromising SMB session security.

Affected Products

  • Linux kernel with ksmbd module enabled
  • Systems running ksmbd-based SMB file sharing services

Discovery Timeline

  • 2026-03-25 - CVE CVE-2026-23364 published to NVD
  • 2026-03-25 - Last updated in NVD database

Technical Details for CVE-2026-23364

Vulnerability Analysis

The vulnerability resides in the ksmbd kernel module, which implements an in-kernel SMB3 server for the Linux kernel. The core issue involves the improper use of memcmp() for comparing Message Authentication Codes during SMB authentication and message integrity verification processes.

Standard memory comparison functions like memcmp() are optimized for performance and return early upon finding the first mismatched byte. This early-exit behavior creates measurable timing differences that vary depending on how many bytes match between the compared values. An attacker can exploit these timing variations to systematically deduce valid MAC values one byte at a time.

The fix replaces memcmp() with crypto_memneq(), a cryptographically-safe comparison function that always examines all bytes regardless of match status, ensuring constant-time execution that prevents timing-based information leakage.

Root Cause

The root cause is the use of a non-constant-time comparison function (memcmp()) for security-sensitive cryptographic operations. When validating MACs in authentication contexts, the comparison operation must complete in the same amount of time regardless of how many bytes match, preventing attackers from gaining information through timing analysis. The kernel's crypto_memneq() function provides this guarantee by design.

Attack Vector

An attacker with network access to a ksmbd server could conduct a timing attack by:

  1. Sending SMB requests with crafted MAC values to the target server
  2. Measuring response times with high precision for each request
  3. Iteratively adjusting MAC bytes and observing timing variations
  4. Using statistical analysis of timing differences to deduce the correct MAC byte-by-byte

This attack requires the ability to make many authentication attempts and measure response times accurately, which is typically feasible on local networks or low-latency connections. The attack does not require any prior authentication to the SMB server.

Detection Methods for CVE-2026-23364

Indicators of Compromise

  • Unusual volume of SMB authentication failures from a single source IP
  • High-frequency connection attempts to ksmbd services with subtle variations in authentication parameters
  • Network traffic patterns showing systematic probing of SMB authentication endpoints
  • Anomalous timing patterns in SMB session establishment attempts

Detection Strategies

  • Monitor for repeated SMB authentication failures followed by subtle request modifications
  • Implement rate limiting on SMB authentication attempts to disrupt timing measurements
  • Use network intrusion detection systems (IDS) to identify potential timing attack patterns
  • Enable kernel audit logging for ksmbd authentication events

Monitoring Recommendations

  • Deploy network monitoring to track SMB connection frequency and authentication failure rates
  • Implement alerting for authentication anomalies in ksmbd logs
  • Consider using packet capture analysis to identify high-volume probing attempts
  • Monitor system logs for ksmbd-related errors or warnings

How to Mitigate CVE-2026-23364

Immediate Actions Required

  • Apply the latest kernel patches that include the constant-time MAC comparison fix
  • If immediate patching is not possible, consider temporarily disabling ksmbd and using userspace SMB implementations
  • Implement network-level access controls to limit exposure of ksmbd services
  • Enable enhanced logging for ksmbd authentication events

Patch Information

Multiple patches have been released to address this vulnerability across different kernel branches. The fix replaces memcmp() with crypto_memneq() in the MAC comparison code paths within ksmbd.

Available kernel patches:

  • Kernel Patch Commit 2cdc56e
  • Kernel Patch Commit 307afcc
  • Kernel Patch Commit 93c0a22
  • Kernel Patch Commit c579470
  • Kernel Patch Commit cd52a0e
  • Kernel Patch Commit f4588b85

Workarounds

  • Restrict network access to ksmbd services using firewall rules to trusted networks only
  • Consider using Samba userspace implementation instead of ksmbd until patching is complete
  • Implement network segmentation to isolate systems running vulnerable ksmbd configurations
  • Deploy rate limiting at the network level to impede timing attack execution
bash
# Disable ksmbd kernel module temporarily
sudo modprobe -r ksmbd

# Block external access to SMB ports via firewall
sudo iptables -A INPUT -p tcp --dport 445 -s ! 10.0.0.0/8 -j DROP
sudo iptables -A INPUT -p tcp --dport 139 -s ! 10.0.0.0/8 -j DROP

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 Patch Commit 2cdc56e

  • Kernel Patch Commit 307afcc

  • Kernel Patch Commit 93c0a22

  • Kernel Patch Commit c579470

  • Kernel Patch Commit cd52a0e

  • Kernel Patch Commit f4588b85
  • 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