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

CVE-2026-43377: Linux Kernel Information Disclosure Flaw

CVE-2026-43377 is an information disclosure vulnerability in Linux Kernel's ksmbd that exposes sensitive credentials through debug logging. This article covers technical details, affected versions, and mitigation.

Published: May 18, 2026

CVE-2026-43377 Overview

CVE-2026-43377 affects the Linux kernel's ksmbd in-kernel SMB3 server. The flaw exists in the SMB3 signing and encryption key generation routines, specifically generate_smb3signingkey() and generate_smb3encryptionkey(). When the KSMBD_DEBUG_AUTH logging option is enabled, these functions write the session, signing, encryption, and decryption key bytes to the kernel log. An attacker with access to kernel logs can extract cryptographic material used to sign and encrypt SMB3 traffic. The fix removes the offending log statements to prevent credential disclosure.

Critical Impact

Exposure of SMB3 session, signing, and encryption keys allows decryption of SMB traffic and forgery of signed SMB messages, undermining confidentiality and integrity of file-sharing sessions.

Affected Products

  • Linux kernel ksmbd SMB3 server module
  • Linux kernel 7.0 release candidates 7.0:rc1, 7.0:rc2, 7.0:rc3
  • Multiple stable Linux kernel branches receiving the ksmbd backport

Discovery Timeline

  • 2026-05-08 - CVE-2026-43377 published to NVD
  • 2026-05-15 - Last updated in NVD database

Technical Details for CVE-2026-43377

Vulnerability Analysis

The ksmbd module implements an in-kernel SMB3 server for Linux. During session setup, the server derives per-session signing and encryption keys using the SMB3 key derivation function. The functions generate_smb3signingkey() and generate_smb3encryptionkey() produce three sensitive byte arrays per session: the signing key, the encryption key (server-to-client), and the decryption key (client-to-server).

When Linux is built with KSMBD_DEBUG_AUTH enabled, both functions emit the raw key bytes via the kernel logging subsystem. Anyone with read access to dmesg, /var/log/kern.log, or downstream log aggregators can recover the keys. This is classified as an information exposure issue [CWE-noinfo at NVD].

An attacker holding these keys can decrypt captured SMB3 traffic for the affected session and forge signed SMB3 messages, bypassing the integrity guarantees that SMB signing is intended to provide.

Root Cause

The root cause is unsafe debug instrumentation. Developers added ksmbd_debug(AUTH, ...) calls that print cryptographic key material in hexadecimal. Logging secret material at any verbosity level violates secure development practice because kernel logs are frequently collected, forwarded, and retained beyond the host.

Attack Vector

Exploitation requires that the kernel be compiled and running with KSMBD_DEBUG_AUTH enabled and that ksmbd is actively serving SMB3 clients. A low-privileged local user with access to the kernel ring buffer, or any process or operator able to read forwarded kernel logs, can harvest keys passively. With the keys, an adversary positioned on the network can decrypt and tamper with SMB3 sessions even though the underlying protocol negotiated signing and encryption.

No verified public exploit code is associated with this CVE. The vulnerability mechanism is described in the upstream commits referenced under Kernel Git Commit 3fe2d9e and Kernel Git Commit fec5c70.

// No verified exploitation code is published.
// The fix removes ksmbd_debug(AUTH, ...) statements that printed
// session.signing, encryption, and decryption key bytes from
// generate_smb3signingkey() and generate_smb3encryptionkey().

Detection Methods for CVE-2026-43377

Indicators of Compromise

  • Kernel log lines from ksmbd containing hexadecimal byte sequences emitted near session setup, particularly entries referencing signing key, ServerIn key, or ServerOut key.
  • Presence of CONFIG_SMB_SERVER together with KSMBD_DEBUG_AUTH enabled in /boot/config-$(uname -r) on production hosts.
  • Unauthorized reads of /dev/kmsg, /var/log/kern.log, or journalctl -k output by non-administrative accounts.

Detection Strategies

  • Audit kernel build configurations and flag any system shipping with KSMBD_DEBUG_AUTH set to y.
  • Search centralized log stores for ksmbd entries containing long hex strings indicative of leaked key material.
  • Correlate ksmbd session establishment events with subsequent abnormal SMB3 traffic patterns or signature failures.

Monitoring Recommendations

  • Forward ksmbd kernel events to a SIEM and alert on entries that match key-derivation log patterns.
  • Monitor file integrity and access controls on kernel log files and rotated archives, restricting reads to root.
  • Track ksmbd module load events and SMB3 session metrics on Linux file servers exposed to untrusted networks.

How to Mitigate CVE-2026-43377

Immediate Actions Required

  • Apply the upstream kernel patches that remove key logging from generate_smb3signingkey() and generate_smb3encryptionkey().
  • Rebuild any custom kernels with KSMBD_DEBUG_AUTH disabled until the patched sources are in place.
  • Rotate SMB3 sessions by restarting ksmbd after patching so that previously leaked keys are no longer valid.
  • Purge kernel logs that may contain leaked key bytes and restrict access to remaining archives.

Patch Information

Fixes are available across stable branches. Reference commits: Kernel Git Commit 3fe2d9e, Kernel Git Commit 407cc37c, Kernel Git Commit 4084ed7, Kernel Git Commit 4413361, Kernel Git Commit c6b01b9, and Kernel Git Commit fec5c70.

Workarounds

  • Disable KSMBD_DEBUG_AUTH and rebuild the kernel, or switch to a vendor kernel that ships without this debug option.
  • Unload the ksmbd module on hosts that do not require an in-kernel SMB3 server: modprobe -r ksmbd.
  • Restrict access to the kernel ring buffer by setting kernel.dmesg_restrict=1 and limiting log file permissions to root.
bash
# Configuration example
# Restrict kernel log access and disable ksmbd where it is not required
sudo sysctl -w kernel.dmesg_restrict=1
echo 'kernel.dmesg_restrict=1' | sudo tee /etc/sysctl.d/90-dmesg-restrict.conf
sudo chmod 600 /var/log/kern.log /var/log/syslog 2>/dev/null
sudo systemctl stop ksmbd.service 2>/dev/null
sudo modprobe -r ksmbd 2>/dev/null
# Verify KSMBD_DEBUG_AUTH is not set in the running kernel build
grep -E 'KSMBD_DEBUG_AUTH|SMB_SERVER' /boot/config-$(uname -r)

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechLinux Kernel

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • NVD-CWE-noinfo
  • Vendor Resources
  • Kernel Git Commit 3fe2d9e

  • Kernel Git Commit 407cc37c

  • Kernel Git Commit 4084ed7

  • Kernel Git Commit 4413361

  • Kernel Git Commit c6b01b9

  • Kernel Git Commit fec5c70
  • Related CVEs
  • CVE-2026-43336: Linux Kernel Information Disclosure Flaw

  • CVE-2026-43317: Linux Kernel Information Disclosure Flaw

  • CVE-2026-43393: Linux Kernel Information Disclosure Bug

  • CVE-2026-43384: Linux Kernel TCP-AO Timing Attack 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