ext4: Fix Reserved Space Counter Leakage in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

19/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001589: ext4: fix reserved space counter leakage. Affects Kernel versions >= 51865fda28e585bdcc164474ff6438a9ccdbfada, < 59c19fdcde79287a7a45813eec1db9ebf784f727. 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 Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for managing system resources, including file systems. The ext4 file system is one of the most commonly used file systems in Linux. It offers improved performance and reliability compared to its predecessor, ext3. However, a vulnerability has been discovered in the ext4 file system that can lead to reserved space counter leakage.

Vulnerability Detail

The vulnerability in the ext4 file system allows for reserved space counter leakage. This means that the counter used to track the amount of reserved space in the file system can be manipulated, leading to incorrect calculations and potential resource allocation issues. An attacker could exploit this vulnerability to exhaust available disk space or cause other system instability. The vulnerability was introduced in version v3.8 of the Linux Kernel and has been fixed in version v5.4.151.

How To Fix

No fixed version is published for this vulnerability.

To fix the vulnerability, it is recommended to update the Linux Kernel to version v5.4.151 or later. This can be done by obtaining the latest kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for the target system. Alternatively, users can update their Linux distribution to a version that includes the patched kernel. It is important to ensure that the updated kernel is properly tested and deployed in a controlled environment.

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. However, users can mitigate the risk by monitoring disk space usage and ensuring that sufficient space is available to prevent resource allocation issues.

Conclusion

The ext4 file system vulnerability in the Linux Kernel can lead to reserved space counter leakage, potentially causing resource allocation issues and system instability. It is crucial to update the Linux Kernel to version v5.4.151 or later to mitigate this vulnerability. Users can also monitor disk space usage to prevent resource allocation problems. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to incorrect calculations of reserved space in the ext4 file system, potentially causing resource allocation issues and system instability.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will alert you if the vulnerability is present.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the necessary patches or updates to mitigate the risk.

No, this vulnerability requires local access to the affected system. However, it is still important to address the vulnerability to prevent potential resource allocation issues.

There are no reported incidents related to this vulnerability at the time of this report. However, it is always recommended to stay updated with the latest security patches and best practices.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix the vulnerability, it is recommended to update the Linux Kernel to version v5.4.151 or later. This can be done by obtaining the latest kernel source code from the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and compiling it for the target system. Alternatively, users can update their Linux distribution to a version that includes the patched kernel. It is important to ensure that the updated kernel is properly tested and deployed in a controlled environment.

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.