Vulnerability in Kernel: dm btree remove

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

UVI-2021-1001348: dm btree remove: assign new_root only when removal succeeds. Affects Kernel versions < 964d57d1962d7e68f0f578f05d9ae4a104d74851. 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, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The dm btree remove vulnerability affects the Kernel, specifically the dm btree module. This module is responsible for managing the B-tree data structure used by the device mapper subsystem. The vulnerability arises from an incorrect assignment of the new_root variable during the removal process. This vulnerability could potentially be exploited by an attacker to cause a denial-of-service (DoS) condition or execute arbitrary code with kernel privileges.

Vulnerability Detail

The dm btree remove vulnerability occurs when the new_root variable is assigned even if the removal process fails. This can lead to a situation where the B-tree structure becomes inconsistent, potentially resulting in a system crash or allowing an attacker to manipulate the data structure in unintended ways. The impact of this vulnerability depends on the specific usage of the dm btree module in the system. If the module is actively used, an attacker with local access or the ability to load malicious kernel modules could exploit this vulnerability to disrupt system operations or gain elevated privileges.

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

As a workaround, users can disable or unload the dm btree module if it is not essential for their system's operation. This can be achieved by executing the following command as root:

modprobe -r dm_btree

However, it is crucial to assess the impact of disabling this module on the system's functionality and ensure that no critical processes or services rely on it.

Conclusion

The dm btree remove vulnerability in the Kernel's dm btree module can potentially lead to system crashes or unauthorized manipulation of data structures. It is crucial to update the Kernel to the fixed version and regularly apply updates to mitigate the risk of exploitation. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a fundamental component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software.

The dm btree module is part of the Linux Kernel's device mapper subsystem and is used for managing the B-tree data structure.

The impact of this vulnerability depends on the specific usage of the dm btree module. It could lead to a denial-of-service condition or enable an attacker to execute arbitrary code with kernel privileges.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.4.133 or later, which includes the necessary fix for the dm btree remove vulnerability.

Yes, users can disable or unload the dm btree module if it is not essential for their system's operation. However, it is important to assess the impact of this action on the system's functionality.

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