Pre-auth kernel memory corruption via session race
Published Nov 19, 2024 · Updated Aug 5, 2026
Use-after-free in the Linux ksmbd server allows remote attackers to corrupt kernel memory through pre-authentication SMB session setup. A failed SESSION_SETUP drops the session reference before smb3_preauth_hash_rsp finishes, allowing a concurrent request to free the session while its Preauth_HashValue pointer is still read and written. Reachability requires ksmbd to be running on port 445; malformed concurrent requests need no credentials and can disclose or overwrite kernel memory or panic the host.
Summary
What happened
Use-after-free in the Linux ksmbd server allows remote attackers to corrupt kernel memory through pre-authentication SMB session setup. A failed SESSION_SETUP drops the session reference before smb3_preauth_hash_rsp finishes, allowing a concurrent request to free the session while its Preauth_HashValue pointer is still read and written. Reachability requires ksmbd to be running on port 445; malformed concurrent requests need no credentials and can disclose or overwrite kernel memory or panic the host.
The record
- CVE
- CVE-2024-50283
- Published
- Nov 19, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1210
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Nov 19, 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=0626e6641f6b467447c81dd7678a69c66f7746cf <1b6ad475d4ed577d34e0157eb507be00c588bf5c
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <b8fc56fbca7482c1e5c0e3351c6ae78982e25ada
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <c6cdc08c25a868a08068dfc319fa9fce982b8e7f
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <cb645064e0811053c94e86677f2e58ed29359d62
- Affected versionversion=0626e6641f6b467447c81dd7678a69c66f7746cf <f7557bbca40d4ca8bb1c6c940ac6c95078bd0827
- Affected versionversion=5.15
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.
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