Kernel crash via SMB session use-after-free
Published May 19, 2024 · Updated Aug 5, 2026
Use-after-free in the Linux SMB client allows remote attackers to crash the kernel during SMB session reconnection. smb2_reconnect_server() dereferences ses->ipc after concurrent __cifs_put_smb_ses() frees the IPC and session during teardown because another thread can change ses_status away from SES_EXITING. Triggering the fault requires a connected client with no session or a concurrent status reset during teardown, and the demonstrated consequence is a general protection fault that interrupts the system.
Summary
What happened
Use-after-free in the Linux SMB client allows remote attackers to crash the kernel during SMB session reconnection. smb2_reconnect_server() dereferences ses->ipc after concurrent __cifs_put_smb_ses() frees the IPC and session during teardown because another thread can change ses_status away from SES_EXITING. Triggering the fault requires a connected client with no session or a concurrent status reset during teardown, and the demonstrated consequence is a general protection fault that interrupts the system.
The record
- CVE
- CVE-2024-35870
- Published
- May 19, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 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=4.16
- Affected versionversion=b327a717e506980399464e304e363f94f95eb7a1 <24a9799aa8efecd0eb55a75e35f9d8e6400063aa
- Affected versionversion=b327a717e506980399464e304e363f94f95eb7a1 <45f2beda1f1bc3d962ec07db1ccc3197c25499a5
- Affected versionversion=b327a717e506980399464e304e363f94f95eb7a1 <6202996a1c1887e83d0b3b0fcd86d0e5e6910ea0
- Affected versionversion=b327a717e506980399464e304e363f94f95eb7a1 <755fe68cd4b59e1d2a2dd3286177fd4404f57fed
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