Memory Ordering Vulnerability in btrfs Kernel Package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1002235: btrfs: fix memory ordering between normal and ordered work functions. Affects Kernel versions >= 08a9ff3264181986d1d692a4e6fce3669700c9f8, < 804a9d239ae9cbe88e861a7cd62319cc6ec7b136. 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 checksums. It is widely used in various Linux distributions. However, a vulnerability has been discovered in the btrfs kernel package that affects the memory ordering between normal and ordered work functions.

Vulnerability Detail

The vulnerability in the btrfs kernel package arises from a memory ordering issue between normal and ordered work functions. This issue can potentially lead to memory corruption or data inconsistency. An attacker may be able to exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability was introduced in version v3.15 of the Linux Kernel and has been fixed in version v4.14.256.

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 available for this vulnerability. It is essential to apply the patch or update the Linux Kernel to the fixed version.

Conclusion

The memory ordering vulnerability in the btrfs kernel package can have serious consequences, including memory corruption and potential code execution by attackers. It is crucial to update the Linux Kernel to the fixed version to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

btrfs is a file system for Linux that offers advanced features like snapshots, pooling, and checksums.

The vulnerability can result in memory corruption or data inconsistency, potentially allowing an attacker to execute arbitrary code or cause a denial-of-service condition.

To fix this vulnerability, update the Linux Kernel to version v4.14.256 or later.

No, there is no specific workaround for this vulnerability. Updating the Linux Kernel is the recommended solution.

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

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