Authenticated kernel code execution via concurrent tree disconnects
Published Sep 17, 2025 · Updated Sep 17, 2025
A use-after-free in the Linux ksmbd SMB server allows remote authenticated users to execute kernel code via concurrent tree disconnects. Concurrent SMB2_TREE_DISCONNECT handlers can obtain the same tree connection, after which one handler uses and frees state already released by the other; the fix atomically marks the connection expired before teardown. An established SMB session and tree connection are required, and successful exploitation can corrupt kernel memory or crash the host.
Summary
What happened
A use-after-free in the Linux ksmbd SMB server allows remote authenticated users to execute kernel code via concurrent tree disconnects. Concurrent SMB2_TREE_DISCONNECT handlers can obtain the same tree connection, after which one handler uses and frees state already released by the other; the fix atomically marks the connection expired before teardown. An established SMB session and tree connection are required, and successful exploitation can corrupt kernel memory or crash the host.
The record
- CVE
- CVE-2023-53358
- Published
- Sep 17, 2025
- Updated
- Sep 17, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 17, 2025CVE publishedPublication date reported by the CVE source.
- Sep 17, 2025Record 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=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <30210947a343b6b3ca13adc9bfc88e1543e16dd5
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <39366b47a59d46af15ac57beb0996268bf911f6a
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b36295c17fb97424406f0c3ab321b1ccaabb9be8
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <bd80d35725a0cf4df9307bfe2f1a3b2cb983d8e6
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <dc1c17716c099c90948ebb83e2170dd75a3be6b6
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.
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