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-1002307: btrfs: fix memory ordering between normal and ordered work functions. Affects Kernel versions >= 08a9ff3264181986d1d692a4e6fce3669700c9f8, < 47e6f9f69153247109042010f3a77579e9dc61ff. 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 Kernel that provides advanced features such as snapshots, pooling, and checksums. It is designed to improve performance, reliability, and scalability. However, a vulnerability has been discovered in the btrfs package that affects the memory ordering between normal and ordered work functions.

Vulnerability Detail

The vulnerability in the btrfs package arises from a memory ordering issue between normal and ordered work functions. This can potentially lead to memory corruption or data inconsistency. An attacker could exploit this vulnerability to manipulate the order of execution of these work functions, resulting in unexpected behavior or even system crashes. The vulnerability was introduced in version v3.15 of the Linux Kernel and has been fixed in version v5.15.5.

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. The recommended approach is to update the Linux Kernel to the fixed version.

Conclusion

The memory ordering vulnerability in the btrfs package can be mitigated by updating the Linux Kernel to version v5.15.5 or later. Regularly updating the Kernel is crucial to ensure the latest security patches are applied. 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 Kernel that provides advanced features such as snapshots, pooling, and checksums.

The vulnerability can lead to memory corruption or data inconsistency, potentially resulting in system crashes or unexpected behavior.

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

There is no specific workaround mentioned for this vulnerability. Updating the Linux Kernel is the recommended approach.

For more information, 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