Vulnerability in btrfs Package: Prevent Copying Too Big Compressed LZO Segment

Kernel Updated 02 Oct 2025

Summary

18/03/2022
N/A
No i
Unrated
Not published

GSD-2022-1000724: btrfs: prevent copying too big compressed lzo segment. Affects Kernel versions < e326bd06cdde46df952361456232022298281d16. 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 Penetration testing for web, API and mobile 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 file system for Linux that provides advanced features such as snapshots, pooling, and compression. It is widely used in various Linux distributions and offers efficient data storage and management capabilities. However, a vulnerability has been discovered in the btrfs package that allows for the copying of excessively large compressed LZO segments, potentially leading to resource exhaustion and denial-of-service attacks.

Vulnerability Detail

The vulnerability in the btrfs package arises from a failure to properly handle oversized compressed LZO segments during copying operations. An attacker could exploit this flaw by crafting a malicious file or input that triggers the copying of a large compressed LZO segment. As a result, the system may consume excessive resources, leading to performance degradation or even a complete denial of service. This vulnerability has been assigned the ID GSD-2022-1000724 and has been fixed in Linux Kernel version v5.16.12 by commit e326bd06cdde46df952361456232022298281d16.

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

Conclusion

In conclusion, the btrfs package is susceptible to a vulnerability that allows for the copying of excessively large compressed LZO segments. This can result in resource exhaustion and denial-of-service attacks. It is crucial to update the Linux Kernel to version v5.16.12 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

The btrfs package is a file system for Linux that offers advanced features such as snapshots, pooling, and compression. It provides efficient data storage and management capabilities.

This vulnerability in the btrfs package can lead to resource exhaustion and denial-of-service attacks. An attacker could exploit the flaw to consume excessive resources, degrading system performance or causing a complete denial of service.

To fix this vulnerability, update the Linux Kernel to version v5.16.12 or later. Download the latest kernel source code from the official Linux Kernel repository and compile it for your system. Alternatively, check if your system's package manager provides an update for the Linux Kernel and install it through the package manager.

No specific workaround has been mentioned for this vulnerability.

For more information about this vulnerability, you can refer to the vulnerability ID GSD-2022-1000724 in the GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000724.json).

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