Kernel crash via exiting SMB session traversal
Published May 19, 2024 · Updated Aug 5, 2026
Use-after-free in the Linux kernel SMB client allows remote attackers to crash a system through a crafted SMB2 oplock-break response. The smb2_is_valid_oplock_break() handler traverses a session's connection list after the session enters SES_EXITING, so teardown can free an object that the handler still reaches. An active SMB client connection and overlapping session teardown are required; the documented consequence is a kernel panic, while code execution has not been established.
Summary
What happened
Use-after-free in the Linux kernel SMB client allows remote attackers to crash a system through a crafted SMB2 oplock-break response. The smb2_is_valid_oplock_break() handler traverses a session's connection list after the session enters SES_EXITING, so teardown can free an object that the handler still reaches. An active SMB client connection and overlapping session teardown are required; the documented consequence is a kernel panic, while code execution has not been established.
The record
- CVE
- CVE-2024-35865
- 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=3.12.48 <3.13
- Affected versionversion=3.13
- Affected versionversion=7f48558e6489d032b1584b0cc9ac4bb11072c034 <21fed37d2bdcde33453faf61d3d4d96c355f04bd
- Affected versionversion=7f48558e6489d032b1584b0cc9ac4bb11072c034 <22863485a4626ec6ecf297f4cc0aef709bc862e4
- Affected versionversion=7f48558e6489d032b1584b0cc9ac4bb11072c034 <3dba0e5276f131e36d6d8043191d856f49238628
- Affected versionversion=7f48558e6489d032b1584b0cc9ac4bb11072c034 <84488466b7a69570bdbf76dd9576847ab97d54e7
- Affected versionversion=7f48558e6489d032b1584b0cc9ac4bb11072c034 <a710ef9e974f18232d2b9b19c90eda1a1167b2d4
- Affected versionversion=a67172a013953664b1dad03c648200c70b90506c
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