CVE-2025-21671

zram: fix potential UAF of zram table

HIGH
7.8
CVSS Score
Published: January 31, 2025 at 11:25 AM UTC
Updated: June 17, 2026 at 08:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.1.122 ≤ v < 6.1.1276.12.7 ≤ v < 6.12.116.6.68 ≤ v < 6.6.740b5b0b65561b34e6e360de317e4bcd031bfabf426.1.1226.12.76.6.686fb92e9a52e3feae309a213950f21dfcd1eb0b4074363ec674cb172d8856de25776c8f3103f05e2fac3b5366b9b7c9d97b606532ceab43d2329a22f3
Vendor states this is fixed in 212fe1c0df4a150fb6298db2cfff267ceaba5402 (fixed)
Vendor states this is fixed in 571d3f6045cd3a6d9f6aec33b678f3ffe97582ef (fixed)
Vendor states this is fixed in 902ef8f16d5ca77edc77c30656be54186c1e99b7 (fixed)
Vendor states this is fixed in fe3de867f94819ba0f28e035c0b0182150147d95 (fixed)
Affected range stops below 6.1.127, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.12.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.6.74, so it looks safe — our inference, not a vendor statement

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/212fe1c0df4a150fb6298db2cfff267ceaba5402
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/571d3f6045cd3a6d9f6aec33b678f3ffe97582ef
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/902ef8f16d5ca77edc77c30656be54186c1e99b7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fe3de867f94819ba0f28e035c0b0182150147d95
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card