Local kernel compromise via CPU-hotplug use-after-free
Published Feb 10, 2025 · Updated Aug 5, 2026
Use-after-free in Linux kernel zswap 5.11 through 6.12.11 allows local users to corrupt kernel memory during CPU hot-unplug. zswap_compress() and zswap_decompress() retain a per-CPU acomp_ctx while execution can migrate, so zswap_cpu_comp_dead() can free its buffer, request, or compressor on the original CPU. Reaching the race requires zswap activity and a concurrent CPU-offline transition; successful reuse can disclose or corrupt kernel data, hijack control flow, or crash the host.
Summary
What happened
Use-after-free in Linux kernel zswap 5.11 through 6.12.11 allows local users to corrupt kernel memory during CPU hot-unplug. zswap_compress() and zswap_decompress() retain a per-CPU acomp_ctx while execution can migrate, so zswap_cpu_comp_dead() can free its buffer, request, or compressor on the original CPU. Reaching the race requires zswap activity and a concurrent CPU-offline transition; successful reuse can disclose or corrupt kernel data, hijack control flow, or crash the host.
The record
- CVE
- CVE-2025-21693
- Published
- Feb 10, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 10, 2025CVE 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=1ec3b5fe6eec782f4e5e0a80e4ce1909ffd5d161 <12dcb0ef540629a281533f9dedc1b6b8e14cfb65
- Affected versionversion=1ec3b5fe6eec782f4e5e0a80e4ce1909ffd5d161 <8d29ff5d50304daa41dc3cfdda4a9d1e46cf5be1
- Affected versionversion=5.11
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