Two critical remote code execution (RCE) vulnerabilities have been disclosed in the Linux kernel’s KSMBD implementation, allowing attackers to execute arbitrary code remotely.
Linux servers utilizing the KSMBD SMB server are at risk, particularly those running versions that support SMB Direct transport.
With a CVSS score of 9.0, these vulnerabilities pose a significant threat to system integrity and confidentiality, potentially leading to severe data breaches.
- Monitor systems for unusual SMB traffic patterns.
- Apply any available patches or workarounds promptly.
- Review and tighten firewall rules to limit SMB access.
Key Technical Findings
Two RCE vulnerabilities in KSMBD (ZDI-CAN-33774, ZDI-CAN-33549).
Linux servers running KSMBD SMB server.
Remote exploitation via malicious SMB requests.
RCE prior to authentication (ZDI-CAN-33774); RCE via SMB Direct transport (ZDI-CAN-33549).
Not specified in the source material.
Not specified in the source material.
Not specified in the source material.
Not specified in the source material.
Not specified in the source material.
Not specified in the source material.
Critical, potential full system compromise.
Technical Background
The KSMBD service is a part of the Linux kernel that implements an SMB server, facilitating file sharing and network access. The two identified vulnerabilities allow attackers to execute arbitrary code remotely; one vulnerability does not require any form of authentication, while the other necessitates an RDMA-capable network connection. The lack of immediate fixes in the mainline kernel elevates the urgency for organizations to monitor and mitigate these risks actively.
The primary objective of exploiting these vulnerabilities is to achieve remote control over affected systems, potentially leading to unauthorized data access and manipulation. Security controls that are typically impacted include firewall rules governing SMB traffic, intrusion detection systems (IDS), and endpoint protection solutions that may be bypassed when exploiting these RCE flaws.
Attack Chain Analysis
-
Initial Access
Activity An attacker sends crafted SMB requests to exploit KSMBD.
Evidence Anomalous SMB traffic detected on the network.
Telemetry Network logs capturing SMB request patterns.
Detection opportunity Monitor for unusual SMB command sequences.
Deep Technical Behavior Analysis
The exploitation of the KSMBD vulnerabilities could involve manipulating SMB packet structures to trigger memory corruption or arbitrary code execution. Attackers may leverage these flaws to inject their payloads into memory, facilitating remote command execution without requiring user authentication. Such behavior may manifest as unexpected kernel module loading or modifications to system files that are typically protected. Potential—requires validation.
Indicators of Compromise
Indicators of Behavior
| Behavioral Indicator | Description | Data Source | Confidence |
|---|---|---|---|
| Unusual SMB Traffic | Anomalous patterns indicative of exploitation attempts. | Network logs | Potential |
Detection Engineering Guidance
index=network sourcetype=smb | stats count by src_ip, command | where count > threshold_value



