Vulnerability · Published Jan 31, 2025 · Assigned by Linux
CVE-2025-21671zram: fix potential UAF of zram table
High 7.8
In plain English
A high-severity use-after-free in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 87.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | kernel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug-devel-matched | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-debug-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-devel-matched | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-64k-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-abi-stablelists | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-cross-headers | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-devel-matched | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-debug-uki-virt | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-devel-matched | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-doc | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-headers | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-modules-extra-matched | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-debug | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-debug-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-debug-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-debug-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-debug-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-debug-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-64k-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-debug | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-debug-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-debug-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-debug-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-debug-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-debug-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-rt-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-tools | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-tools-libs | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-tools-libs-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-uki-virt | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-uki-virt-addons | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump-devel | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump-devel-matched | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump-modules | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump-modules-core | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | kernel-zfcpdump-modules-extra | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | libperf | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | perf | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | python3-perf | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | rtla | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux:10 | rv | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| Debian:12 | linux | 6.1.128-1 | DEBIAN-CVE-2025-21671 |
| Debian:13 | linux | 6.12.11-1 | DEBIAN-CVE-2025-21671 |
| Debian:14 | linux | 6.12.11-1 | DEBIAN-CVE-2025-21671 |
| Rocky Linux:10 | kernel | 0:6.12.0-124.8.1.el10_1 | RLSA-2025:20095 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2025-21671 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2025-21671 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ac3b5366b9b7c9d97b606532ceab43d2329a22f3 – before fe3de867f94819ba0f28e035c0b0182150147d950b5b0b65561b34e6e360de317e4bcd031bfabf42 – before 571d3f6045cd3a6d9f6aec33b678f3ffe97582ef6fb92e9a52e3feae309a213950f21dfcd1eb0b40 – before 902ef8f16d5ca77edc77c30656be54186c1e99b774363ec674cb172d8856de25776c8f3103f05e2f – before 212fe1c0df4a150fb6298db2cfff267ceaba5402 |
| Linux | Linux | 6.1.122 – before 6.1.1276.6.68 – before 6.6.746.12.7 – before 6.12.11 |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://git.kernel.org/stable/c/fe3de867f94819ba0f28e035c0b0182150147d95
- https://git.kernel.org/stable/c/571d3f6045cd3a6d9f6aec33b678f3ffe97582ef
- https://git.kernel.org/stable/c/902ef8f16d5ca77edc77c30656be54186c1e99b7
- https://git.kernel.org/stable/c/212fe1c0df4a150fb6298db2cfff267ceaba5402
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html