LiveActive security incident?Get immediate response
CVE Record

CVE-2025-21671: zram: fix potential UAF of zram table

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.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2025-21671 is a Linux kernel memory-safety flaw in zram. A local user could potentially trigger a use-after-free condition after a failed zram initialization/reset path. The CVSS rating is high because successful abuse could affect confidentiality, integrity, and availability, but the source bundle does not show active exploitation.

Executive priority

Prioritize patching on multi-user Linux systems, virtualization hosts, and systems where local users or workloads are less trusted. This is high severity, but current provided evidence supports local exposure only and no confirmed active exploitation.

Technical view

The flaw is CWE-416 in Linux zram. If zram_meta_alloc fails early, zram->table can be freed without being set to NULL, leaving zram_meta_free able to access freed memory when a failed, uninitialized device is reset. The referenced stable commits are fixes; exact vulnerable version ranges are not fully enumerated in the bundle.

Likely exposure

Exposure is most relevant to Linux systems where zram is present and usable by local users. The bundle identifies Linux kernel fixes and a Debian LTS advisory, but does not provide a complete distribution-by-distribution affected matrix. Kernel package backports must be checked against vendor advisories.

Exploitation context

The CVSS vector is local, low complexity, low privileges, no user interaction. The bundle marks KEV as false and provides no cited evidence of exploitation in the wild. Treat this as a local privilege or stability risk until vendor-specific impact is confirmed.

Researcher notes

Focus validation on the zram allocation failure and reset cleanup path described in the CVE. Avoid assuming all listed kernel versions are vulnerable; the source bundle presents fixed versions/commits but incomplete affected ranges. Confirm downstream backports through vendor package metadata.

Mitigation direction

  • Apply vendor kernel updates containing the referenced zram UAF fix.
  • For Debian LTS systems, review and apply the referenced Debian security update.
  • Confirm updated kernels are actually booted or active after maintenance.
  • If no update is available, follow vendor guidance for temporary controls.

Validation and detection

  • Inventory Linux hosts using kernels with zram support enabled.
  • Map installed kernel packages to vendor advisories or fixed stable commits.
  • Check whether Debian LTS systems include the March 2025 security update.
  • Verify post-update kernel version and package changelog evidence.
  • Review local access controls for users who can interact with zram devices.
Prepared
Confidence
medium
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-416: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-21671 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
6Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2025-21671Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxac3b5366b9b7c9d97b606532ceab43d2329a22f3, 0b5b0b65561b34e6e360de317e4bcd031bfabf42, 6fb92e9a52e3feae309a213950f21dfcd1eb0b40, 74363ec674cb172d8856de25776c8f3103f05e2funaffected
LinuxLinux6.1.122, 6.6.68, 6.12.7unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-416 · source CWE mapping

Use After Free

Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.