CVE-2025-21745

Description

A flaw was found in the Linux kernel's block control group (blk-cgroup) subsystem. When iterating over block devices while gathering root input/output (I/O) statistics, the kernel fails to properly release device iterator references, resulting in a reference count leak. A local authenticated attacker can exploit this issue by repeatedly querying root block performance metrics, potentially causing resource exhaustion and a Denial of Service (DoS).

Statement

This vulnerability is rated as Moderate rather than Important because exploitation is restricted to local authenticated users querying root cgroup block I/O statistics, resulting in a gradual resource reference leak that can ultimately trigger a denial of service. On default Red Hat Enterprise Linux deployments utilizing cgroup v2, unprivileged local users or processes repeatedly inspecting root block performance metrics may cause the block subsystem reference counter to increment indefinitely without being properly released. Because this defect requires authenticated local system access and cannot compromise confidentiality or data integrity, its overall operational risk remains contained.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.55.5N/A
Attack VectorLocalLocalN/A
Attack ComplexityLowLowN/A
Privileges RequiredLowLowN/A
User InteractionNoneNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityNoneNoneN/A
Integrity ImpactNoneNoneN/A
Availability ImpactHighHighN/A

Vector

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

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

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart; DoS: Instability; DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory)

Most memory leaks result in general product reliability problems, but if an attacker can intentionally trigger a memory leak, the attacker might be able to launch a denial of service attack (by crashing or hanging the program) or take advantage of other unexpected program behavior resulting from a low memory condition.

Other

Technical Impact: Reduce Performance

Frequently Asked Questions

Want to get errata notifications? Sign up here.