Skip to main content

Linux Kernel ksmbd CVE-2026-43377

| EUVDEUVD-2026-28683 HIGH
2026-05-08 Linux GHSA-95vc-3rg6-xgp2
8.1
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to ksmbd server
  2. Delivery
    Trigger key generation with debug enabled
  3. Exploit
    Access kernel logs via separate compromise
  4. Execution
    Extract logged cryptographic keys
  5. Impact
    Decrypt captured SMB3 traffic or forge authenticated messages

Vulnerability Assessment

Exploitation Conditions

Exploitation requires Linux kernel ksmbd module with KSMBD_DEBUG_AUTH debug logging explicitly enabled via kernel configuration or module parameters - a non-default development/troubleshooting setting rarely used in production. Attacker must have valid SMB credentials (PR:L) to establish a session that triggers key generation and logging. Separately, attacker needs read access to kernel logs (dmesg or /var/log/kern.log), which typically requires local shell access with sufficient privileges or compromised centralized logging infrastructure. Limiting factors: debug mode is not enabled by default; log access requires separate privilege escalation or infrastructure compromise; keys are only useful for active or recently captured sessions; post-session key rotation limits window of opportunity.

Impact

The CVSS 8.1 (High) score reflects theoretical maximum impact (C:H/I:H) if keys are exposed, but real-world risk is constrained by multiple factors. The attack vector is network-based (AV:N) but requires low-level authentication (PR:L) and critically depends on KSMBD_DEBUG_AUTH being enabled - a non-default debug configuration rarely used in production. EPSS score of 0.01% (3rd percentile) indicates extremely low observed exploitation probability in the wild. No CISA KEV listing and no public exploit code identified at time of analysis. For exploitation, an attacker needs: (1) valid SMB credentials to establish a session, (2) separate access to the Linux system's kernel logs (requires local shell access or compromised log aggregation), and (3) the debug flag actively enabled during the target session. The attack complexity is low (AC:L) once prerequisites are met, but the prerequisite chain itself is complex. The CVSS vector shows no availability impact (A:N) and unscoped impact (S:U), limiting blast radius to the immediate SMB session. Priority should be assessed per deployment: critical for systems running ksmbd with debug logging enabled and exposed logs; low priority for default production configurations where debug logging is disabled. Key missing data: no confirmation whether debug mode is ever enabled in production environments by major distributions.

Exploit ScenarioDerived

An attacker with valid SMB credentials connects to a Linux ksmbd server running with KSMBD_DEBUG_AUTH enabled. Separately, the attacker gains read access to the system's kernel logs through a compromised log management system or by exploiting a separate local privilege escalation vulnerability. The attacker extracts logged SMB3 signing and encryption keys from the kernel logs, then uses these keys to decrypt captured SMB3 network traffic from the original session or craft forged SMB3 messages that appear authentic to the server or client. No public exploit code exists, but the attack technique is straightforward given the prerequisites.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 11, 2026

Linux kernel's ksmbd server exposes SMB3 session, signing, encryption, and decryption keys in debug logs when KSMBD_DEBUG_AUTH is enabled. Authenticated network attackers with access to system logs can retrieve these cryptographic keys to compromise SMB3 session confidentiality and integrity. EPSS probability is very low (0.01%, 3rd percentile) and no active exploitation is documented. Vendor patches available across multiple stable kernel branches (6.1.167, 6.6.130, 6.12.78, 6.18.20, 6.19.9, 7.0).

RemediationAI

Upgrade to patched Linux kernel versions: 6.1.167, 6.6.130, 6.12.78, 6.18.20, 6.19.9, or 7.0 depending on your stable branch. Patches are available from https://git.kernel.org/stable/ with specific commits listed in the references. For systems where immediate patching is not feasible, disable KSMBD_DEBUG_AUTH debug logging if currently enabled by removing or commenting the debug flag from ksmbd configuration and restarting the ksmbd service. This eliminates the vulnerability but may complicate troubleshooting of ksmbd issues. As a defense-in-depth measure, restrict access to kernel logs (dmesg output and /var/log/kern.log) using filesystem permissions and log aggregation access controls to limit exposure even if keys are logged. Note that restricting log access does not fix the underlying issue but reduces attack surface; this trade-off may impact security monitoring and incident response capabilities. Audit existing kernel logs for exposed key material from past sessions when debug mode was enabled and consider rotating SMB credentials if exposure is confirmed.

Affected VersionsENISA

Linux patch: 6.12.78
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <441336115df26b966575de56daf7107ed474faed
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <3fe2d9ec166b7df9a8df6c0fdcfc210572e27e3f
Linux patch: 0
Linux patch: 6.1.167
Linux patch: 7.0
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <c6b01b997a2094969e315f1ebfc1d64b8ae2163d
Linux patch: 6.19.9
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <4084ed720d7d5f4e975c9e4a6267a552dad3b24a
Linux patch: 6.6.130
Linux 5.15
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <fec5c70b82af3f59f15bb984df94e5ad1fccfb1e
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <407cc37c21d51f9b9d4d20204b04890880cfa6ae
Linux patch: 6.18.20

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the Linux kernel's ksmbd module, an in-kernel SMB3 server implementation introduced in Linux 5.15. When the KSMBD_DEBUG_AUTH debug flag is enabled, the functions generate_smb3signingkey() and generate_smb3encryptionkey() log sensitive cryptographic material to kernel logs. These keys protect SMB3 session security: signing keys ensure message authenticity and prevent tampering, while encryption/decryption keys protect data confidentiality. Logging these keys exposes them to any process or user with access to kernel logs (typically via dmesg or /var/log/kern.log), violating the fundamental security principle that cryptographic keys must never be logged or stored in cleartext. The affected CPE cpe:2.3:a:linux:linux indicates the ksmbd component within the Linux kernel package. The vulnerability stems from excessive debug logging rather than a cryptographic implementation flaw, making it an operational security issue rather than a protocol-level weakness.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
SUSE HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
CVSS changed
May 11, 2026 - 08:22 NVD
8.1 (HIGH)
Patch available
May 08, 2026 - 16:18 EUVD
CVE Published
May 08, 2026 - 14:21 nvd
HIGH 8.1
CVE Published
May 08, 2026 - 14:21 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: Don't log keys in SMB3 signing and encryption key generation

When KSMBD_DEBUG_AUTH logging is enabled, generate_smb3signingkey() and generate_smb3encryptionkey() log the session, signing, encryption, and decryption key bytes. Remove the logs to avoid exposing credentials.

Executive ViewAI

Why It Matters

CVE-2026-43377 affects Linux kernel ksmbd SMB3 server deployments where debug logging is enabled, allowing authenticated attackers with log access to extract session encryption keys and compromise SMB3 confidentiality and integrity. Organizations running ksmbd with KSMBD_DEBUG_AUTH enabled should prioritize disabling this debug feature immediately, as the vulnerability requires authentication and log access but exposes cryptographic material that could enable lateral movement or data interception on SMB shares.

Business Impact: Medium
Compensating Controls

Apply vendor patch to kernel versions 6.1.167, 6.6.130, 6.12.78, 6.18.20, 6.19.9, or 7.0 or later. Until patching is complete: disable KSMBD_DEBUG_AUTH in kernel configuration; restrict access to system logs containing debug output; monitor SMB3 session activity for anomalies; consider disabling ksmbd if not actively required.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy