Vulnerability details

CVE-2025-21671

Linux Linux

zram: fix potential UAF of zram table

CVSS 3.1
7.8High

Official 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 scores

ScoreVersionSourceVector
7.8High 3.1 CISA ADP / Vulnrichment (CISA-ADP) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
Linux Linux 0b5b0b65561b34e6e360de317e4bcd031bfabf42 ≤ v < 571d3f6045cd3a6d9f6aec33b678f3ffe97582ef CVEProject cvelistV5 (CNA)
Linux Linux 6.1.122 ≤ v < 6.1.127 CVEProject cvelistV5 (CNA)
Linux Linux 6.12.7 ≤ v < 6.12.11 CVEProject cvelistV5 (CNA)
Linux Linux 6.6.68 ≤ v < 6.6.74 CVEProject cvelistV5 (CNA)
Linux Linux 6fb92e9a52e3feae309a213950f21dfcd1eb0b40 ≤ v < 902ef8f16d5ca77edc77c30656be54186c1e99b7 CVEProject cvelistV5 (CNA)
Linux Linux 74363ec674cb172d8856de25776c8f3103f05e2f ≤ v < 212fe1c0df4a150fb6298db2cfff267ceaba5402 CVEProject cvelistV5 (CNA)
Linux Linux ac3b5366b9b7c9d97b606532ceab43d2329a22f3 ≤ v < fe3de867f94819ba0f28e035c0b0182150147d95 CVEProject cvelistV5 (CNA)

References and advisories

5
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-01-31
Last updated
2026-05-12
State
Published
Assigner (CNA)
Linux

Exploit prediction (EPSS)

0.21%
Probability of exploitation in 30 days
12%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-416
    Use After Free