7.8
HIGH
CVE-2025-21671
"Linux kernel Zram Use-After-Free"
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.

INFO

Published Date :

Jan. 31, 2025, 12:15 p.m.

Last Modified :

Feb. 10, 2025, 6:15 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2025-21671 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2025-21671 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

DSA and DLA for Debian last 14 days

Python

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : Feb. 12, 2025, 2:08 p.m. This repo has been linked 125 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-21671 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-21671 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Feb. 10, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-416
  • Initial Analysis by [email protected]

    Feb. 04, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE NIST CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1.122 up to (excluding) 6.1.127 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6.68 up to (excluding) 6.6.74 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.12.7 up to (excluding) 6.12.11
    Changed Reference Type https://git.kernel.org/stable/c/212fe1c0df4a150fb6298db2cfff267ceaba5402 No Types Assigned https://git.kernel.org/stable/c/212fe1c0df4a150fb6298db2cfff267ceaba5402 Patch
    Changed Reference Type https://git.kernel.org/stable/c/571d3f6045cd3a6d9f6aec33b678f3ffe97582ef No Types Assigned https://git.kernel.org/stable/c/571d3f6045cd3a6d9f6aec33b678f3ffe97582ef Patch
    Changed Reference Type https://git.kernel.org/stable/c/902ef8f16d5ca77edc77c30656be54186c1e99b7 No Types Assigned https://git.kernel.org/stable/c/902ef8f16d5ca77edc77c30656be54186c1e99b7 Patch
    Changed Reference Type https://git.kernel.org/stable/c/fe3de867f94819ba0f28e035c0b0182150147d95 No Types Assigned https://git.kernel.org/stable/c/fe3de867f94819ba0f28e035c0b0182150147d95 Patch
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jan. 31, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/212fe1c0df4a150fb6298db2cfff267ceaba5402
    Added Reference https://git.kernel.org/stable/c/571d3f6045cd3a6d9f6aec33b678f3ffe97582ef
    Added Reference https://git.kernel.org/stable/c/902ef8f16d5ca77edc77c30656be54186c1e99b7
    Added Reference https://git.kernel.org/stable/c/fe3de867f94819ba0f28e035c0b0182150147d95
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-21671 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-21671 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability