Vulnerability in Kernel: blk-cgroup UAF by destroying blkg pd

Kernel Updated 02 Oct 2025

Summary

19/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001744: blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pd. Affects Kernel versions < 7c2c69e010431b0157c9454adcdd2305809bf9fb. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel is a crucial component of the Linux operating system that manages communication between hardware and software. It provides essential services and functions, including device drivers, memory management, and process scheduling. The blk-cgroup subsystem within the Kernel is responsible for managing block devices and their associated control groups (blkcg). Control groups allow for resource allocation and control, enabling administrators to manage block I/O operations effectively. However, a vulnerability has been identified in the blk-cgroup subsystem that could lead to a use-after-free (UAF) issue when destroying the block group (blkg) per-device (pd) structure.

Vulnerability Detail

The vulnerability arises due to a lack of proper synchronization when destroying the blkg pd structure. Without acquiring the necessary blkcg lock, the destruction process can result in a use-after-free scenario. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.14.9 by commit 7c2c69e010431b0157c9454adcdd2305809bf9fb.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

In conclusion, a vulnerability has been identified in the Kernel's blk-cgroup subsystem that could lead to a use-after-free issue when destroying blkg pd structures. It is crucial to update the Linux Kernel to version v5.14.9 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that manages communication between hardware and software. It provides essential services and functions, including device drivers, memory management, and process scheduling.

The blk-cgroup subsystem is a part of the Kernel that manages block devices and their associated control groups (blkcg). Control groups allow for resource allocation and control, enabling administrators to manage block I/O operations effectively.

A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed. This can lead to various security issues, including the execution of arbitrary code or a denial-of-service (DoS) condition.

The impact of this vulnerability is not yet proven. However, if successfully exploited, an attacker could execute arbitrary code or cause a denial-of-service (DoS) condition.

Yes, this vulnerability has been fixed in Linux Kernel version v5.14.9 by commit 7c2c69e010431b0157c9454adcdd2305809bf9fb.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback