ext4: Fix ext4_mb_mark_bb() with flex_bg with fast_commit

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001474: ext4: fix ext4_mb_mark_bb() with flex_bg with fast_commit. Affects Kernel versions < b07eedd0222e9548ffc568ec429bb1f61d21a39c. 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 ext4 package is a file system driver for the Linux kernel. It provides support for the ext4 file system, which is commonly used in Linux distributions. The ext4 file system offers improved performance and reliability compared to its predecessor, ext3. It supports features such as journaling, extended attributes, and large file systems. However, a vulnerability has been discovered in the ext4_mb_mark_bb() function when used with flex_bg and fast_commit options.

Vulnerability Detail

The ext4_mb_mark_bb() function in the ext4 package is vulnerable when used with flex_bg and fast_commit options. This vulnerability could allow an attacker to corrupt the file system, leading to data loss or a denial of service. The vulnerability originates from a flaw in the implementation of the function, which fails to properly handle certain scenarios when flex_bg and fast_commit options are enabled. This can result in incorrect marking of block groups as bad, leading to data corruption or loss. 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 known workaround for this vulnerability. It is essential to update the Linux Kernel to the fixed version to mitigate the risk of exploitation.

Conclusion

The ext4 package in the Linux Kernel is vulnerable to a flaw in the ext4_mb_mark_bb() function when used with flex_bg and fast_commit options. This vulnerability could result in data corruption or loss. It is crucial to update the Linux Kernel to version v5.16.19 or later to fix this issue. No known workaround is available. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

ext4 is a file system driver for the Linux kernel that provides support for the ext4 file system, offering improved performance and reliability compared to ext3.

flex_bg and fast_commit are options available in ext4 that provide additional features and performance improvements. However, the ext4_mb_mark_bb() function is vulnerable when used with these options.

This vulnerability could lead to data corruption or loss, potentially resulting in a denial of service or data breach.

There is no evidence of this vulnerability being exploited in the wild. However, it is important to apply the fix to prevent any potential exploitation.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your manifest file, such as package-lock.json, and Vulert will analyze it for any open-source vulnerabilities, including this one.

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