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

UVI-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 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 Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionalities for managing system resources, including file systems. The ext4 file system is one of the most commonly used file systems in Linux. It offers features such as improved performance, scalability, and reliability. 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 issue was introduced in version v3.8 of the Linux Kernel and affects all subsequent versions until v5.4.151. The reserved space counter is responsible for tracking the amount of reserved space in the file system. Due to a flaw, this counter can leak its value, potentially leading to incorrect calculations and allocation of disk space. While the impact and attack plausibility have not been proven, this vulnerability could potentially result in data corruption, file system instability, or denial of service.

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 →

Conclusion

The ext4 file system in the Linux Kernel is vulnerable to reserved space counter leakage. This vulnerability can potentially lead to data corruption, file system instability, or denial of service. It is crucial for users to update their Linux Kernel to version v5.4.151 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The ext4 file system is a widely used file system in Linux. It offers improved performance, scalability, and reliability compared to its predecessor, ext3.

The reserved space counter in ext4 tracks the amount of disk space reserved for privileged processes. It ensures that critical system operations can always allocate disk space, even when the file system is almost full.

The reserved space counter leakage vulnerability occurs due to a flaw in the ext4 file system implementation. This flaw allows the reserved space counter to leak its value, potentially leading to incorrect calculations and allocation of disk space.

The potential consequences of this vulnerability include data corruption, file system instability, and denial of service. However, the actual impact and attack plausibility have not been proven.

To fix the vulnerability, you need to update your Linux Kernel to version v5.4.151 or later. Obtain the updated kernel source code from the official Linux Kernel repository and compile it for your system configuration. Alternatively, wait for your Linux distribution to provide an updated kernel package.

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