Vulnerability in dm btree remove in Kernel

Kernel Updated 02 Oct 2025

Summary

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

UVI-2021-1001425: dm btree remove: assign new_root only when removal succeeds. Affects Kernel versions < 73f27adaa73e3057a9ec464e33c4f54d34ea5de3. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a fundamental component of the Linux operating system that provides core functionalities and interfaces between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the stability and security of the system. The dm btree remove function is a part of the Kernel's device mapper subsystem, which handles block devices and provides logical volume management capabilities. This vulnerability specifically affects the dm btree remove function in the Kernel.

Vulnerability Detail

The vulnerability in dm btree remove arises from an incorrect assignment of the new_root variable. The issue occurs when removing a node from a B-tree data structure. The new_root variable is assigned before ensuring the successful removal of the node, which can lead to inconsistent state and potential security vulnerabilities. Attackers may exploit this vulnerability to manipulate the B-tree structure, potentially causing data corruption or unauthorized access to sensitive information. The vulnerability has been addressed in Linux Kernel version v4.14.240 by commit 73f27adaa73e3057a9ec464e33c4f54d34ea5de3.

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 available for this vulnerability. It is essential to apply the fix by updating the Kernel to the patched version.

Conclusion

The vulnerability in dm btree remove in the Kernel can lead to data corruption and unauthorized access to sensitive information. It is crucial to update the Kernel to version v4.14.240 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

This vulnerability can potentially lead to data corruption or unauthorized access to sensitive information due to the manipulation of the B-tree structure.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. It analyzes the manifest file, such as package-lock.json, and provides real-time alerts for open-source vulnerabilities.

At the time of this report, there is no known exploit for this vulnerability. However, it is crucial to apply the fix promptly to mitigate any potential risks.

This vulnerability requires local access to the system to exploit. Remote exploitation is not possible.

The recommended solution is to update the Kernel to the patched version. There are no alternative solutions available for this specific vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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