Use After Free Vulnerability in dm btree remove

Kernel Updated 02 Oct 2025

Summary

27/12/2021
N/A
No i
Unrated
Not published

GSD-2021-1002673: dm btree remove: fix use after free in rebalance_children(). Affects Kernel versions < 501ecd90efdc9b2edc6c28852ecd098a4adf8f00. 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 dm btree remove vulnerability affects the Kernel package in the Linux ecosystem. The Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications. The dm btree remove function is part of the device-mapper subsystem, which allows for the creation of virtual block devices. This vulnerability specifically impacts the rebalance_children() function within dm btree remove.

Vulnerability Detail

The dm btree remove vulnerability is a use after free issue in the rebalance_children() function. This vulnerability occurs when the function attempts to rebalance the children of a btree node during a remove operation. Due to a programming error, a use after free condition can be triggered, potentially leading to a variety of issues such as crashes, privilege escalation, or information disclosure. The impact and attack plausibility of this vulnerability have not been proven, but it is considered a security risk.

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 →

Workaround

There is no specific workaround provided for this vulnerability. The recommended action is to update the Linux Kernel to the fixed version.

Conclusion

The dm btree remove vulnerability in the Kernel package has been addressed in Linux Kernel version v5.4.168. It is crucial to update the Kernel to the fixed version to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The dm btree remove vulnerability is a use after free issue in the rebalance_children() function of the Kernel's device-mapper subsystem. It can lead to various security risks.

The impact of this vulnerability can include crashes, privilege escalation, or information disclosure, although the actual impact and attack plausibility have not been proven.

To fix this vulnerability, update your Linux Kernel to version v5.4.168 or later.

No specific workaround is provided. Updating the Kernel to the fixed version is the recommended action.

You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) or by contacting the Linux Kernel development team.

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