Vulnerability in btrfs Direct IO Write Path

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001666: btrfs: release correct delalloc amount in direct IO write path. Affects Kernel versions >= 5afd80c393f4e87451f14eefb7f2f24daf434e06, < 07cacfd9d9dc134557ac8866c73d570a59b3d1f3. 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 file system for Linux that provides advanced features such as snapshots, pooling, and checksums. It is widely used in various Linux distributions. The direct IO write path is responsible for handling direct input/output operations, bypassing the page cache. This vulnerability affects versions of the Linux Kernel from v5.15.27 to v5.15.34.

Vulnerability Detail

The vulnerability in the btrfs direct IO write path results in an incorrect release of delalloc (delayed allocation) space. This can lead to data corruption or a denial of service condition. An attacker could exploit this vulnerability by performing malicious direct IO write operations, causing the system to release incorrect amounts of delalloc space. The impact and attack plausibility of this vulnerability have not been proven yet.

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

The vulnerability in the btrfs direct IO write path can result in data corruption or a denial of service condition. It is recommended to update the Linux Kernel to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

btrfs is a file system for Linux that provides advanced features such as snapshots, pooling, and checksums.

The direct IO write path in btrfs is responsible for handling direct input/output operations, bypassing the page cache.

Delalloc (delayed allocation) space is the space reserved for data that has been written but not yet allocated to disk blocks.

This vulnerability can lead to data corruption or a denial of service condition.

To fix this vulnerability, update the Linux Kernel to version v5.15.35 or later.

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