Vulnerability in btrfs Package: Return Whole Extents in fiemap

Kernel Updated 02 Oct 2025

Summary

04/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000624: btrfs: return whole extents in fiemap. Affects Kernel versions < 55575c08502f291cdeff09428189b84084ffa91b. 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 btrfs package is a component of the Linux Kernel ecosystem. It provides support for the B-tree file system, offering advanced features such as snapshots, subvolumes, and data compression. The package is widely used in Linux distributions and is responsible for managing file systems on storage devices. However, a vulnerability has been discovered in the btrfs package that allows for the return of whole extents in fiemap.

Vulnerability Detail

The vulnerability in the btrfs package allows an attacker to obtain whole extents in fiemap. This can potentially lead to unauthorized access to sensitive data or the ability to manipulate file system structures. The vulnerability was introduced in an unknown version and has been fixed in Linux Kernel version v5.4.124 by commit 55575c08502f291cdeff09428189b84084ffa91b. The impact and attack plausibility of this vulnerability have not yet been proven.

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

No workaround has been provided for this vulnerability.

Conclusion

The vulnerability in the btrfs package that allows for the return of whole extents in fiemap has been identified and fixed in Linux Kernel version v5.4.124. It is recommended to update the Linux Kernel to the latest stable version 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 btrfs package is a component of the Linux Kernel ecosystem that provides support for the B-tree file system.

fiemap is a file system ioctl that allows applications to map the extents of a file.

This vulnerability could potentially lead to unauthorized access to sensitive data or the ability to manipulate file system structures.

There is no information available regarding exploitation of this vulnerability in the wild.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and the playground will provide real-time alerts for open-source vulnerabilities.

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