Kernel crash via cross-transport cleanup confusion
Published Jul 10, 2025 · Updated Aug 5, 2026
Type confusion in affected Linux ksmbd kernels allows remote attackers to crash the kernel via SMB Direct connection teardown. ksmbd_free_transport routes an SMB Direct connection through TCP free_transport handling, treating the RDMA transport object as a socket and causing invalid cleanup. The unauthenticated path is reachable only when ksmbd serves SMB Direct over RDMA; disconnecting can trigger a kernel oops and interrupt the host.
Summary
What happened
Type confusion in affected Linux ksmbd kernels allows remote attackers to crash the kernel via SMB Direct connection teardown. ksmbd_free_transport routes an SMB Direct connection through TCP free_transport handling, treating the RDMA transport object as a socket and causing invalid cleanup. The unauthenticated path is reachable only when ksmbd serves SMB Direct over RDMA; disconnecting can trigger a kernel oops and interrupt the host.
The record
- CVE
- CVE-2025-38325
- Published
- Jul 10, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 10, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1aec4d14cf81b7b3e7b69eb1cfa94144eed7138e <3890da762a66191c440b0bd6e3ee45501edbb0c1
- Affected versionversion=1da8bd9a10ecd718692732294d15fd801c0eabb5 <52f5a52dc17a4a7b4363ac03fe2c4ef26f020dc6
- Affected versionversion=21a4e47578d44c6b37c4fc4aba8ed7cc8dbb13de <3f3aae77280aad9f5acc6709c596148966f765c7
- Affected versionversion=21a4e47578d44c6b37c4fc4aba8ed7cc8dbb13de <a89f5fae998bdc4d0505306f93844c9ae059d50c
- Affected versionversion=6.12.26 <6.12.35
- Affected versionversion=6.14.4 <6.15
- Affected versionversion=6.15
- Affected versionversion=e59796fc80603bcd8569d4d2e10b213c1918edb4
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo