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-1002226: btrfs: fix memory ordering between normal and ordered work functions. Affects Kernel versions >= 08a9ff3264181986d1d692a4e6fce3669700c9f8, < 637d652d351fd4f263ef302dc52f3971d314e500. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The btrfs package is a part of the Linux Kernel ecosystem and is responsible for providing support for the B-tree file system. Btrfs is designed to offer advanced features such as snapshots, pooling, and checksums for data integrity. It is widely used in Linux distributions and provides a reliable and efficient file system for storage devices. However, a vulnerability has been discovered in the btrfs package that affects the memory ordering between normal and ordered work functions.

Vulnerability Detail

The memory ordering vulnerability in the btrfs package arises due to improper synchronization between normal and ordered work functions. This vulnerability can potentially lead to memory corruption and other security issues. An attacker could exploit this vulnerability to manipulate the memory ordering and potentially execute arbitrary code or cause a denial of service. The vulnerability was introduced in version v3.15 of the Linux Kernel and has been fixed in version v4.9.291.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.9.291 or later. This update includes the necessary patch to address the memory ordering issue in the btrfs package. Users should ensure that they are running a version of the Linux Kernel that includes the fix.

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 recommended to apply the fix by updating the Linux Kernel to the patched version.

Conclusion

The memory ordering vulnerability in the btrfs package can pose a significant risk to the security and stability of Linux systems. It is crucial to update the Linux Kernel to the patched 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

The vulnerability could potentially allow an attacker to manipulate memory ordering and execute arbitrary code or cause a denial of service.

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 and Vulert will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there are no known exploits for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate any potential risks.

No, this vulnerability requires local access to the system in order to exploit it.

For more details about this vulnerability, you can refer to the source link provided in the vulnerability details section of this report.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.9.291 or later. This update includes the necessary patch to address the memory ordering issue in the btrfs package. Users should ensure that they are running a version of the Linux Kernel that includes the fix.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.