Kernel crash via premature sysfs device exposure
Published Dec 27, 2024 · Updated May 11, 2026
A race condition in the Linux kernel zram driver 6.2 through 6.12.1 allows local users to crash the kernel through sysfs. zram_add() publishes the device with device_add_disk() before comp_algorithm_set() initializes zram->comp_algs[ZRAM_PRIMARY_COMP], so comp_algorithm_show() passes a NULL pointer to strcmp(). Low-privileged local access and winning the post-publication initialization window are required; success crashes the kernel and interrupts the host.
Summary
What happened
A race condition in the Linux kernel zram driver 6.2 through 6.12.1 allows local users to crash the kernel through sysfs. zram_add() publishes the device with device_add_disk() before comp_algorithm_set() initializes zram->comp_algs[ZRAM_PRIMARY_COMP], so comp_algorithm_show() passes a NULL pointer to strcmp(). Low-privileged local access and winning the post-publication initialization window are required; success crashes the kernel and interrupts the host.
The record
- CVE
- CVE-2024-53222
- Published
- Dec 27, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 27, 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=6.2
- Affected versionversion=7ac07a26dea79c3892436bce41cce03dcbd3c4c7 <843d366ff19708668d95cda16bb8aba109a93dba
- Affected versionversion=7ac07a26dea79c3892436bce41cce03dcbd3c4c7 <c7ee791e538537b281f60945298796f0a3971bbd
- Affected versionversion=7ac07a26dea79c3892436bce41cce03dcbd3c4c7 <f364cdeb38938f9d03061682b8ff3779dd1730e5
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