ext2: Correct Max File Size Computing in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001536: ext2: correct max file size computing. Affects Kernel versions >= 1c2d14212b15a60300a2d4f6364753e87394c521, < 9b30cc5d313b64b56ce6da7cfe30366c291a0d82. 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 ext2 file system is one of the supported file systems in the Linux Kernel. It is the second extended file system and offers features such as support for large file sizes and efficient storage allocation.

However, a vulnerability has been identified in the ext2 file system implementation, which affects the maximum file size computation. This vulnerability can potentially lead to incorrect calculations of the maximum file size, resulting in unexpected behavior and potential security risks.

Vulnerability Detail

The vulnerability in the ext2 file system implementation arises from an incorrect computation of the maximum file size. When determining the maximum file size, the calculation logic contains a flaw that can lead to incorrect results. This flaw was introduced in version v5.1 of the Linux Kernel and is present until version v5.16.19.

The impact of this vulnerability can vary depending on the specific use case. In some scenarios, it may result in file size limitations being incorrectly enforced, leading to data corruption or loss. In other cases, it could potentially be exploited by malicious actors to bypass file size restrictions and perform unauthorized actions.

To address this vulnerability, the Linux Kernel developers have fixed the issue in version v5.16.19 by commit 9b30cc5d313b64b56ce6da7cfe30366c291a0d82.

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 ext2 file system vulnerability in the Linux Kernel, which involves incorrect computation of the maximum file size, has been identified and addressed in version v5.16.19. Users are advised to update their Linux Kernel to the fixed version or apply the necessary patches provided by their Linux distribution. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The ext2 file system is the second extended file system used in the Linux Kernel. It provides features such as support for large file sizes and efficient storage allocation.

This vulnerability can potentially lead to incorrect calculations of the maximum file size in the ext2 file system, which may result in unexpected behavior and potential security risks. It could be exploited by malicious actors to bypass file size restrictions and perform unauthorized actions.

This vulnerability affects versions of the Linux Kernel starting from v5.1 up to v5.16.19.

Yes, the vulnerability has been fixed in version v5.16.19 of the Linux Kernel by commit 9b30cc5d313b64b56ce6da7cfe30366c291a0d82.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.16.19 or later. Detailed instructions on updating the Linux Kernel can be found in the official documentation of the respective Linux distribution or the Linux Kernel documentation.

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