CVE-2025-21671Use After Free in Linux

CWE-416Use After Free6 documents6 sources
Severity
7.8HIGHNVD
EPSS
0.0%
top 93.53%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 31
Latest updateNov 28

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 vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages5 packages

NVDlinux/linux_kernel6.1.1226.1.127+2
Debianlinux/linux_kernel< 6.1.128-1+2
CVEListV5linux/linuxac3b5366b9b7c9d97b606532ceab43d2329a22f3fe3de867f94819ba0f28e035c0b0182150147d95+6
debiandebian/linux< linux 6.1.128-1 (bookworm)
debiandebian/linux-6.1< linux 6.1.128-1 (bookworm)

Patches

🔴Vulnerability Details

2
OSV
CVE-2025-21671: 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 al2025-01-31
GHSA
GHSA-7792-f3h4-qxjq: In the Linux kernel, the following vulnerability has been resolved: zram: fix potential UAF of zram table If zram_meta_alloc failed early, it frees2025-01-31

📋Vendor Advisories

2
Red Hat
kernel: zram: fix potential UAF of zram table2025-01-31
Debian
CVE-2025-21671: linux - In the Linux kernel, the following vulnerability has been resolved: zram: fix p...2025

📄Research Papers

1
arXiv
AutoPatch: Multi-Agent Framework for Patching Real-World CVE Vulnerabilities2025-11-28
CVE-2025-21671 — Use After Free in Linux | cvebase