Local kernel memory corruption via session teardown race
Published May 19, 2024 · Updated May 23, 2026
Use-after-free in the Linux kernel SMB client allows local users to corrupt kernel memory through a procfs statistics reset. cifs_stats_proc_write iterates a server's session list during reset without skipping SES_EXITING sessions, so concurrent teardown can free a session before its connection list is accessed. The reset write is root-only on supported Ubuntu releases, and published records identify no demonstrated consequence beyond the invalid kernel-memory access.
Summary
What happened
Use-after-free in the Linux kernel SMB client allows local users to corrupt kernel memory through a procfs statistics reset. cifs_stats_proc_write iterates a server's session list during reset without skipping SES_EXITING sessions, so concurrent teardown can free a session before its connection list is accessed. The reset write is root-only on supported Ubuntu releases, and published records identify no demonstrated consequence beyond the invalid kernel-memory access.
The record
- CVE
- CVE-2024-35868
- Published
- May 19, 2024
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 19, 2024CVE publishedPublication date reported by the CVE source.
- May 23, 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 <5b5475ce69f02ecc1b13ea23106e5b89c690429b
- Affected versionversion=7f48558e6489d032b1584b0cc9ac4bb11072c034 <8fefd166fcb368c5fcf48238e3f7c8af829e0a72
- Affected versionversion=7f48558e6489d032b1584b0cc9ac4bb11072c034 <cf03020c56d3ed28c4942280957a007b5e9544f7
- Affected versionversion=7f48558e6489d032b1584b0cc9ac4bb11072c034 <d3da25c5ac84430f89875ca7485a3828150a7e0a
- 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.
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