Kernel crash via mismatched snapshot-memory deallocation
Published May 17, 2024 · Updated May 11, 2026
Improper pointer release in bcachefs in The Linux Kernel Organization Linux 6.7 through 6.7.4 allows local users to crash the kernel. bch2_fs_snapshots_exit passes bch_fs::snapshots, allocated by kvzalloc, to kfree instead of the allocation-compatible kvfree routine. Reaching the fault requires local privileges to unmount a bcachefs filesystem whose snapshot table was allocated; the observed result is a kernel page fault and system-service interruption.
Summary
What happened
Improper pointer release in bcachefs in The Linux Kernel Organization Linux 6.7 through 6.7.4 allows local users to crash the kernel. bch2_fs_snapshots_exit passes bch_fs::snapshots, allocated by kvzalloc, to kfree instead of the allocation-compatible kvfree routine. Reaching the fault requires local privileges to unmount a bcachefs filesystem whose snapshot table was allocated; the observed result is a kernel page fault and system-service interruption.
The record
- CVE
- CVE-2024-35832
- Published
- May 17, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-763, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 17, 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=1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a <369acf97d6fd5da620d053d0f1878ffe32eff555
- Affected versionversion=1c6fdbd8f2465ddfb73a01ec620cbf3d14044e1a <56590678791119b9a655202e49898edfb9307271
- Affected versionversion=6.7
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