Kernel memory corruption via ksmbd teardown race
Published Dec 27, 2024 · Updated Aug 5, 2026
A use-after-free in Linux ksmbd allows remote attackers to corrupt kernel memory through unauthenticated SMB requests. The handle_ksmbd_work function decrements the request count, then accesses the connection wait queue after concurrent teardown has freed the connection object. Exposure requires the ksmbd server to be listening on TCP port 445; exploitation enables kernel memory reads or writes, while failed attempts can panic the host.
Summary
What happened
A use-after-free in Linux ksmbd allows remote attackers to corrupt kernel memory through unauthenticated SMB requests. The handle_ksmbd_work function decrements the request count, then accesses the connection wait queue after concurrent teardown has freed the connection object. Exposure requires the ksmbd server to be listening on TCP port 445; exploitation enables kernel memory reads or writes, while failed attempts can panic the host.
The record
- CVE
- CVE-2024-53186
- Published
- Dec 27, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-362, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 27, 2024CVE 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=18f06bacc197d4ac9b518ad1c69999bc3d83e7aa <a96f9eb7add30ba0fafcfe7b7aca090978196800
- Affected versionversion=6.10.14 <6.11
- Affected versionversion=6.11.3 <6.11.11
- Affected versionversion=6.12
- Affected versionversion=6.6.55 <6.6.64
- Affected versionversion=9fd3cde4628bcd3549ab95061f2bab74d2ed4f3b
- Affected versionversion=e9dac92f4482a382e8c0fe1bc243da5fc3526b0c <f20b77f7897e6aab9ce5527e6016ad2be5d70a33
- Affected versionversion=ee426bfb9d09b29987369b897fe9b6485ac2be27 <96261adb998a3b513468b6ce17dbec76be5507d4
- Affected versionversion=ee426bfb9d09b29987369b897fe9b6485ac2be27 <9a8c5d89d327ff58e9b2517f8a6afb4181d32c6e
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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