Vulnerability in btrfs: fix abort logic in btrfs_replace_file_extents

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002029: btrfs: fix abort logic in btrfs_replace_file_extents. Affects Kernel versions < 0e32a2b85c7d92ece86c17dfef390c5ed79c6378. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The btrfs package is a component of the Linux Kernel, which is responsible for managing the B-tree file system. It provides advanced features such as snapshots, pooling, and checksums. The btrfs_replace_file_extents function is used to replace file extents within the file system. However, a vulnerability has been discovered in the abort logic of this function.

Vulnerability Detail

The vulnerability in btrfs_replace_file_extents allows an attacker to exploit the abort logic, potentially leading to a denial-of-service (DoS) attack or other security issues. The exact impact and attack vectors have not been proven yet. This vulnerability has been fixed in Linux Kernel version v5.10.75 by commit 0e32a2b85c7d92ece86c17dfef390c5ed79c6378.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.75 or later. This can be done by obtaining the updated kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it according to the provided instructions.

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 mentioned for this vulnerability.

Conclusion

In conclusion, the btrfs package in the Linux Kernel is vulnerable to an issue in the abort logic of the btrfs_replace_file_extents function. It is recommended to update the Linux Kernel to version v5.10.75 or later to fix this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The btrfs package is a component of the Linux Kernel that manages the B-tree file system, providing advanced features such as snapshots, pooling, and checksums.

The impact of this vulnerability is not yet proven, but it could potentially lead to a denial-of-service (DoS) attack or other security issues.

To fix this vulnerability, update the Linux Kernel to version v5.10.75 or later by obtaining the updated kernel source code and compiling it.

No specific workaround has been mentioned for this vulnerability.

For more information about this vulnerability, refer to the source link provided in the vulnerability details.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.75 or later. This can be done by obtaining the updated kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it according to the provided instructions.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.