CVE-2025-21671: zram: fix potential UAF of zram table
Vulnerability summary
CVE-2025-21671 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 8Timeline
- 31-01-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: zram: fix potential UAF of zram table If zram_meta_alloc failed early, it frees allocated zram->table without setting it NULL. Which will potentially cause zram_meta_free to access the table if user reset an failed and uninitialized device.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu77 products
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
- linux-aws-5.13All versions (No fix recorded)
- linux-aws-5.19All versions (No fix recorded)
Linux2 products
- linux≥ ac3b5366b9b7c9d97b606532ceab43d2329a22f3, < fe3de867f94819ba0f28e035c0b0182150147d95 | ≥ 0b5b0b65561b34e6e360de317e4bcd031bfabf42, < 571d3f6045cd3a6d9f6aec33b678f3ffe97582ef | ≥ 6fb92e9a52e3feae309a213950f21dfcd1eb0b40, < 902ef8f16d5ca77edc77c30656be54186c1e99b7 | ≥ 74363ec674cb172d8856de25776c8f3103f05e2f, < 212fe1c0df4a150fb6298db2cfff267ceaba5402 | ≥ 6.1.122, < 6.1.127 | ≥ 6.6.68, < 6.6.74 | ≥ 6.12.7, < 6.12.11
- linux_kernel≥ 6.1.122, < 6.1.127 | ≥ 6.6.68, < 6.6.74 | ≥ 6.12.7, < 6.12.11
Debian1 product
- linux< 6.1.128-1 | < 6.12.11-1
3 vendors · 80 products