Back

MEDIUM

blk-cgroup: properly pin the parent in blkcg_css_online

Published May 1, 2025

Description

blkcg_css_online is supposed to pin the blkcg of the parent, but 397c9f46ee4d refactored things and along the way, changed it to pin the css instead. This results in extra pins, and we end up leaking blkcgs and cgroups.

Affected products

Remediation

Red Hat statement

A resource leak was identified in blkcg_css_online() where the current css was pinned instead of its parent, leading to extra references and memory not being freed. This issue can only be triggered by privileged users with CAP_SYS_ADMIN rights and does not allow for privilege escalation or data leakage. The leak may slowly exhaust kernel memory in systems making frequent use of cgroups and block I/O throttling.

Weaknesses (0)

No CWE recorded.

References (8)

Change history (0)

No recorded changes yet.

Sources

CVE.org / MITRE

Status PUBLISHED
Assigner Linux
Published May 1, 2025
Updated May 11, 2026
Reserved May 1, 2025

CISA Vulnrichment

No data

NVD

Status Analyzed
Modified Jun 17, 2026

Red Hat

Severity Moderate
Public date May 1, 2025
Bugzilla 2363368

ENISA EUVD

Assigner Linux
Published May 1, 2025
Updated May 11, 2026

GitHub

No data