Kernel memory corruption via unchecked compression copy
Published Mar 18, 2024 · Updated Aug 5, 2026
Buffer overflow in Linux allows local users to corrupt kernel memory through the scomp compression path by paging out crafted data. In crypto/scompress.c, scomp_acomp_comp_decomp copies compressor output from scomp_scratch->dst into req->dst without first enforcing the caller-provided destination length. An unprivileged account can reach the flaw through madvise(MADV_PAGEOUT) when zswap is enabled, causing a kernel crash or enabling host privilege escalation.
Summary
What happened
Buffer overflow in Linux allows local users to corrupt kernel memory through the scomp compression path by paging out crafted data. In crypto/scompress.c, scomp_acomp_comp_decomp copies compressor output from scomp_scratch->dst into req->dst without first enforcing the caller-provided destination length. An unprivileged account can reach the flaw through madvise(MADV_PAGEOUT) when zswap is enabled, causing a kernel crash or enabling host privilege escalation.
The record
- CVE
- CVE-2023-52612
- Published
- Mar 18, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Mar 18, 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=1ab53a77b772bf7369464a0e4fa6fd6499acf8f1 <1142d65c5b881590962ad763f94505b6dd67d2fe
- Affected versionversion=1ab53a77b772bf7369464a0e4fa6fd6499acf8f1 <4518dc468cdd796757190515a9be7408adc8911e
- Affected versionversion=1ab53a77b772bf7369464a0e4fa6fd6499acf8f1 <4df0c942d04a67df174195ad8082f6e30e7f71a5
- Affected versionversion=1ab53a77b772bf7369464a0e4fa6fd6499acf8f1 <71c6670f9f032ec67d8f4e3f8db4646bf5a62883
- Affected versionversion=1ab53a77b772bf7369464a0e4fa6fd6499acf8f1 <744e1885922a9943458954cfea917b31064b4131
- Affected versionversion=1ab53a77b772bf7369464a0e4fa6fd6499acf8f1 <7d9e5bed036a7f9e2062a137e97e3c1e77fb8759
- Affected versionversion=1ab53a77b772bf7369464a0e4fa6fd6499acf8f1 <a5f2f91b3fd7387e5102060809316a0f8f0bc625
- Affected versionversion=1ab53a77b772bf7369464a0e4fa6fd6499acf8f1 <e0e3f4a18784182cfe34e20c00eca11e78d53e76
- Affected versionversion=4.10
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