Threat reportVulnerabilityTL-2026-4179
Two CVSS 9.0 Linux KSMBD RCE Flaws (ZDI-CAN-33774, ZDI-CAN-33549) Disclosed on Public Mailing Lists Before Kernel Fixes
Trend Micro's Zero Day Initiative disclosed two CVSS 9.0 remote code execution flaws in the Linux kernel's in-kernel SMB server (KSMBD) on public mailing lists before mainline fixes existed. ZDI-CAN-33774 is an unauthenticated race condition in protocol handler dispatch (SMB1 data processed by an SMB2 handler); ZDI-CAN-33549 is an integer underflow in the SMB Direct (RDMA) path.
Key facts
| Identifiers | TL-2026-4179, CVE-2023-32252 |
|---|---|
| Also known as | ZDI-CAN-33774, ZDI-CAN-33549 |
| Severity | CRITICAL |
| CVSS | 9 |
| First disclosed | |
| EPSS | CVE-2023-32252: 4.0% (90.6th percentile) |
| Affected products | Linux Kernel KSMBD (in-kernel SMB3 server, CONFIG_SMB_SERVER) |
| Weaknesses (CWE) | CWE-362, CWE-191, CWE-787 |
| MITRE ATT&CK techniques | T1046 Network Service Discovery, T1190 Exploit Public-Facing Application, T1210 Exploitation of Remote Services, T1499.004 Application or System Exploitation |
| Motivation | UNKNOWN |
| Target sectors | technology, telecoms, government administration, storage, enterprise |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 10 cited sources |
Detection coverage
As of 2026-10-23, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4179 across Splunk SPL, Microsoft KQL and Sigma, covering 9 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: KSMBD Kernel Fault Referencing ksmbd or smbdirect_connection_rdma_xmit — Exploitation Phase
Behaviour-first detection of a kernel oops, BUG, KASAN or panic whose log text names ksmbd or smbdirect_connection_rdma_xmit(). Failed exploitation attempts of the unpatched KSMBD flaws ZDI-CAN-33774 (SMB1 data handled by an SMB2 handler, TCP/445) and ZDI-CAN-33549 (SMB Direct integer underflow) are likely to crash the kernel before they succeed. Kernel-space memory corruption makes any such crash high priority.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1190, T1499.004, T1210
- Data sources: linux_syslog, linux_kernel_log
- Severity: high
- Confidence: medium
Splunk SPL
index=linux sourcetype IN (syslog, linux_messages_syslog) ("ksmbd" OR "smbdirect_connection_rdma_xmit") ("BUG:" OR "Oops" OR "general protection fault" OR "KASAN" OR "UBSAN" OR "kernel panic" OR "Call Trace")
| eval trigger=case(match(_raw, "smbdirect_connection_rdma_xmit"), "ZDI-CAN-33549 SMB Direct RDMA integer underflow", match(_raw, "(?i)smb1|smb2|handler"), "ZDI-CAN-33774 protocol handler confusion", true(), "ksmbd kernel fault (unclassified)")
| stats count min(_time) as first_seen max(_time) as last_seen values(trigger) as trigger by host
| eval first_seen=strftime(first_seen, "%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen, "%Y-%m-%d %H:%M:%S")
| table host trigger count first_seen last_seenMicrosoft KQL
Syslog
| where TimeGenerated > ago(24h)
| where SyslogMessage has_any ("ksmbd", "smbdirect_connection_rdma_xmit")
| where SyslogMessage has_any ("BUG:", "Oops", "general protection fault", "KASAN", "UBSAN", "kernel panic", "Call Trace")
| extend Trigger = case(SyslogMessage has "smbdirect_connection_rdma_xmit", "ZDI-CAN-33549 SMB Direct RDMA integer underflow", SyslogMessage has_any ("smb1", "smb2", "handler"), "ZDI-CAN-33774 protocol handler confusion", "ksmbd kernel fault (unclassified)")
| summarize Events=count(), FirstSeen=min(TimeGenerated), LastSeen=max(TimeGenerated), Sample=any(substring(SyslogMessage, 0, 250)) by Computer, Trigger
| project Computer, Trigger, Events, FirstSeen, LastSeen, SampleSigma
title: Linux KSMBD Kernel Fault Referencing ksmbd or smbdirect_connection_rdma_xmit
id: 7c1e4a52-3b9d-4f0a-8a61-2d5c9e0b1a01
status: experimental
description: Detects kernel oops, BUG, KASAN or panic messages that mention ksmbd or smbdirect_connection_rdma_xmit, the symptom of attempted exploitation of the unpatched KSMBD flaws ZDI-CAN-33774 and ZDI-CAN-33549.
references:
- https://thehackernews.com/2026/10/two-cvss-90-linux-ksmbd-rce-flaws.html
- https://threatlandscape.io/blog/ksmbd-zdi-can-33774-33549-unpatched-rce
- https://lore.kernel.org/lkml/BYAPR01MB383076AC412E19C48CFBEAE980662@BYAPR01MB3830.prod.exchangelabs.com/
author: Threadlinqs Team
date: 2026-10-22
tags:
- attack.initial-access
- attack.t1190
- attack.impact
- attack.t1499.004
- attack.lateral-movement
- attack.t1210
logsource:
product: linux
service: syslog
detection:
keywords_module:
- 'ksmbd'
- 'smbdirect_connection_rdma_xmit'
keywords_fault:
- 'BUG:'
- 'Oops'
- 'general protection fault'
- 'KASAN'
- 'UBSAN'
- 'kernel panic'
- 'Call Trace'
condition: keywords_module and keywords_fault
falsepositives:
- Unrelated ksmbd bugs or regressions on hosts that legitimately run KSMBD
- Kernel debugging or fuzzing on lab systems
level: high
Known false positives:
- Unrelated ksmbd bugs or regressions on hosts that legitimately run KSMBD
- Kernel debugging or fuzzing on lab systems
Tuning notes: Point the index and sourcetype at the Linux kernel log source (journald or /var/log/messages forwarder). Scope to hosts in your ksmbd inventory. Alert on first occurrence; kernel faults on a file server are rare. Remove the KASAN/UBSAN terms if debug kernels are not used.
- SMB Connection Burst Against a Linux Host on TCP/445 — Exploitation Phase · unlock with TL Creds
- Shell or Network Tool Spawned by ksmbd.mountd — Post-Exploitation Phase · unlock with TL Creds
- KSMBD Host Making Outbound SMB Connections to Many Hosts — C2 / Lateral Movement Phase · unlock with TL Creds
- KSMBD SMB Direct Heap Overflow Indicators in Kernel Log — Exploitation Phase · unlock with TL Creds
- KSMBD Exposure Reconnaissance Commands on Linux — Post-Exploitation Phase · unlock with TL Creds
- Soft-RoCE (rxe) Device Creation Enabling SMB Direct — C2 / Lateral Movement Phase · unlock with TL Creds
- Unexpected KSMBD Kernel Module Load or ksmbd.mountd Launch — Post-Exploitation Phase · unlock with TL Creds
- SMB Sweep Across Many Hosts on TCP/445 — C2 / Lateral Movement Phase · unlock with TL Creds
Indicators of compromise
As of 2026-10-23, Threadlinqs Intelligence tracks 9 indicators of compromise for TL-2026-4179.
Technical analysis
No CVE IDs have been assigned and no active exploitation or public PoC has been reported.
On 2026-10-21/22 Trend Micro's Zero Day Initiative (ZDI) disclosed two critical flaws in KSMBD, the Linux kernel's in-kernel SMB3 file server, on public kernel mailing lists before fixes landed in the mainline kernel or linux-next. Neither flaw has a CVE yet; CVEs are normally assigned only once a fix reaches the stable trees. Both are rated CVSS 9.0 by the reporting sources. The base vector and the affected version range were not stated in the sources reviewed. One source states the flaws were tested on kernel 7.3-rc3. The Hacker News credits Trend Micro's AI scanner (TrendAI) as the finder; Threat Landscape credits HYEONTAE LEE, working with ZDI/TrendAI, for ZDI-CAN-33549.
ZDI-CAN-33774 is a race condition in how KSMBD assigns the protocol handler table, resulting in out-of-bounds memory access. It needs no authentication and is reachable on TCP port 445. A burst of short SMB1 packets followed immediately by an SMB2 packet in the same TCP write causes worker threads to process SMB1 data with an SMB2 handler (protocol handler confusion). Because KSMBD runs in kernel space, memory corruption here carries kernel-level impact.
ZDI-CAN-33549 is an integer underflow in smbdirect_connection_rdma_xmit() in the SMB Direct (RDMA) path. A client can supply RDMA buffer descriptors in which the first is longer than the declared payload. After the code clamps the length and sets the remaining buffer length to zero, it subtracts the original (unclamped) descriptor length. The unsigned size counter wraps to a very large value, and a subsequent memory copy can overrun the end of an allocated buffer. Exploitation requires an RDMA-capable network interface (hardware, or the rxe software driver), a writable KSMBD share, valid share access, and a client that negotiates SMB Direct. A fix was reportedly submitted by SMB Direct maintainer Stefan Metzmacher for the next kernel development cycle but had not landed in mainline or linux-next at publication.
Exposure is limited to hosts running the experimental KSMBD module. Red Hat has previously stated that KSMBD is not shipped or enabled in RHEL. Defenders can check with 'systemctl status ksmbd' and 'lsmod | grep ksmbd'. Mitigations are to unload and blacklist the module where unneeded, restrict TCP/445 at the firewall, and prefer userspace Samba for production. Earlier ZDI ksmbd research (disclosed 2022-12-22) produced a long series of kernel CVEs, which indicates the maintenance profile of this component.
MITRE ATT&CK techniques by tactic:
Discovery
T1046 Network Service Discovery
Initial Access
T1190 Exploit Public-Facing Application
Lateral Movement
T1210 Exploitation of Remote Services
Impact
Remediation
Patches
- No mainline or linux-next fix available for ZDI-CAN-33774 as of 2026-10-22
- ZDI-CAN-33549 fix reportedly submitted by Stefan Metzmacher for the next kernel cycle (not yet merged)
Immediate actions
- Identify hosts running KSMBD: systemctl status ksmbd; lsmod | grep ksmbd; grep SMB_SERVER /boot/config-$(uname -r)
- Unload (modprobe -r ksmbd) and blacklist the ksmbd module on hosts that do not need it
- Restrict inbound TCP/445 to trusted clients at host and perimeter firewalls
- Where SMB Direct is not required, do not expose RDMA-capable interfaces or rxe devices to untrusted clients
Workarounds
- Disable or blacklist the ksmbd module
- Firewall TCP/445
- Restrict writable KSMBD shares and authentication to trusted users
Longer-term hardening
- Prefer userspace Samba over in-kernel KSMBD for production file serving
- Monitor LKML, linux-cifs and the stable trees for the fixes and CVE assignments
- Alert on unexpected loading of the ksmbd kernel module and on new listeners on port 445
Affected and fixed versions
- Linux Kernel — KSMBD (in-kernel SMB3 server, CONFIG_SMB_SERVER)
Vulnerable versions: Tested on 7.3-rc3; full affected range not published
Timeline
Last updated · revalidated 1× · latest source
- KSMBD, the in-kernel SMB3 server, was merged into the mainline kernel (Linux 5.15) as an experimental module (CONFIG_SMB_SERVER).
- ZDI disclosed an earlier batch of ksmbd vulnerabilities, which Red Hat addressed by confirming KSMBD is not shipped in its products.
- NVD published earlier ZDI-reported ksmbd kernel CVEs (e.g. CVE-2023-32252), showing a recurring vulnerability pattern in the component.
- Fix for ZDI-CAN-33774 reportedly committed to the ksmbd maintainer tree (commit 68f410faedaf); not in a mainline or stable release (pwn.watch).
- ZDI-CAN-33774 and ZDI-CAN-33549 disclosed on public kernel mailing lists via Trend Micro's Zero Day Initiative, before mainline fixes; tested on kernel 7.3-rc3.
- Two separate ZDI posts to LKML on lore.kernel.org describe ZDI-CAN-33774 (handler table race) and ZDI-CAN-33549 (SMB Direct integer underflow); disclosure batch reportedly covers five kernel flaws including networking stack, VMware GPU and NVMe target driver bugs.
- Greg Kroah-Hartman replied that the reports were sent to public lists without patches; Phoronix and Slashdot covered the disclosure, which most outlets describe as accidental.
- Fix for ZDI-CAN-33549 reportedly submitted by SMB Direct maintainer Stefan Metzmacher for the next kernel development cycle; not yet merged.
- No named fix in mainline or linux-next for either flaw and no CVE identifiers assigned (CVEs are issued after stable-tree fixes).
- The Hacker News and other outlets reported the disclosures; both flaws rated CVSS 9.0.
Update history
- 2026-10-23 — Unpatched Linux Kernel Vulnerabilities Accidentally Disclosed on Public LKML, Including Two CVSS 9.0 ksmbd RCE Flaws (ZDI-CAN-33774, ZDI-CAN-33549): What changed Exploitability THEORETICAL → POC_PUBLIC. Secondary reporting (pwn.watch, TuxCare) says the public LKML posts include reproduction code and KASAN traces. Severity and CVSS (9.0) are unchanged.
Sources cited
- CVE-2023-32252 (prior ZDI-reported ksmbd flaw) - NVD NVD (NIST) · Advisory · 2023-05-15
- ZDI-23-694 - ksmbd advisory (prior ZDI ksmbd research) zerodayinitiative.com · Advisory
- Red Hat response to Zero Day Initiative ksmbd vulnerabilities access.redhat.com · Vendor report · 2022-12-22
- KSMBD - Linux kernel documentation kernel.org · Research
- LKML disclosure of ZDI-CAN-33549 (SMB Direct integer underflow) lore.kernel.org · Research · 2026-10-21
- LKML disclosure of ZDI-CAN-33774 (handler table race) lore.kernel.org · Research · 2026-10-21
- ksmbd-tools releases GitHub · Code repository
- Unpatched KSMBD RCE Flaws ZDI-CAN-33774 and ZDI-CAN-33549 Disclosed - Threat Landscape threatlandscape.io · Blog · 2026-10-22
- Linux Kernel ksmbd Remote Code Execution Vulnerability - Kudelski Security bulletin research.kudelskisecurity.com · Blog · 2022-12-22
- Two CVSS 9.0 Linux KSMBD RCE Flaws Disclosed on Public Mailing Lists Before Kernel Fixes The Hacker News · News · 2026-10-22
Previous and next in vulnerability
Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated .