Local system crash via stale SMB session reference
Published May 19, 2024 · Updated May 11, 2026
Use-after-free in the Linux SMB client allows local users to crash the system while a matching SMB session is being torn down. The cifs_dump_full_key function traverses SMB sessions and retains a matching session without locking its state or rejecting SES_EXITING. Exploitation requires local access, an active SMB client session, and a race between a full-key dump request and session teardown.
Summary
What happened
Use-after-free in the Linux SMB client allows local users to crash the system while a matching SMB session is being torn down. The cifs_dump_full_key function traverses SMB sessions and retains a matching session without locking its state or rejecting SES_EXITING. Exploitation requires local access, an active SMB client session, and a race between a full-key dump request and session teardown.
The record
- CVE
- CVE-2024-35866
- Published
- May 19, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 19, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 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=1bb56810677f26b78d57a3038054943efd334a1c <10e17ca4000ec34737bde002a13435c38ace2682
- Affected versionversion=1bb56810677f26b78d57a3038054943efd334a1c <3103163ccd3be4adcfa37e15608fb497be044113
- Affected versionversion=1bb56810677f26b78d57a3038054943efd334a1c <58acd1f497162e7d282077f816faa519487be045
- Affected versionversion=1bb56810677f26b78d57a3038054943efd334a1c <d798fd98e3563027c5162259ead517057d6fa794
- Affected versionversion=1bb56810677f26b78d57a3038054943efd334a1c <f4a60d360d9114b5085701a3702a0102b0d6d846
- Affected versionversion=5.13
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