Vulnerability in btrfs Package: search_csum_tree Return Value

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001473: btrfs: make search_csum_tree return 0 if we get -EFBIG. Affects Kernel versions < 3c40052e3fde325cbe9dac4f52a229d74a5f3b8a. 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 btrfs package is a part of the Linux Kernel ecosystem and provides support for the B-tree file system. It is widely used in Linux distributions and offers advanced features such as snapshots, checksums, and RAID-like functionality. The search_csum_tree function is responsible for searching the checksum tree within the btrfs file system.

Vulnerability Detail

The search_csum_tree function in the btrfs package does not handle the error code -EFBIG correctly. As a result, it does not return 0 when encountering this error, which can lead to unexpected behavior and potential security vulnerabilities. An attacker could potentially exploit this vulnerability to bypass certain security measures or cause a denial-of-service condition.

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 known workaround available for this vulnerability. It is recommended to apply the fix mentioned above by updating the Linux Kernel.

Conclusion

The vulnerability in the btrfs package's search_csum_tree function can be mitigated by updating the Linux Kernel to version v5.16.19 or later. It is crucial to apply security patches and updates to ensure the integrity and security of the system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially be exploited by attackers to bypass security measures or cause a denial-of-service condition.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground and it will alert you in real-time if the vulnerability is detected.

There are no known instances of this vulnerability being exploited in the wild at the moment. However, it is always recommended to apply security patches and updates to mitigate potential risks.

No, updating the Linux Kernel to the fixed version is the recommended solution for this vulnerability. Manually fixing the issue without updating the kernel may not provide complete protection against potential exploits.

You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry with ID GSD-2022-1001473.

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