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-1002436: ext2: correct max file size computing. Affects Kernel versions >= 7412f34ff819f530461bfe57773f83e1d4419421, < 94fe9ee8d6d48235b44e14820c07271be3c25cff. 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 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 like support for large file sizes and efficient storage allocation.

However, a vulnerability has been discovered in the ext2 file system implementation in the Linux Kernel. This vulnerability affects versions starting from v4.14.108 up to v4.14.275. It can potentially lead to incorrect computation of the maximum file size, which may have security implications and impact the overall stability and reliability of the system.

Vulnerability Detail

The vulnerability in the ext2 file system implementation arises from a flaw in the computation of the maximum file size. Due to this flaw, the maximum file size can be incorrectly determined, potentially allowing files to exceed the intended size limits. This could result in data corruption, file system instability, and even potential security breaches.

The vulnerability was introduced in version v4.14.108 of the Linux Kernel by commit 7412f34ff819f530461bfe57773f83e1d4419421. It has been addressed in version v4.14.276 by commit 94fe9ee8d6d48235b44e14820c07271be3c25cff.

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

As a temporary workaround, users can limit the file size manually by enforcing strict file size limits within their applications or by implementing custom checks in the file system layer. However, this workaround may not provide complete protection and should be considered a temporary measure until the kernel is updated.

Conclusion

The ext2 file system vulnerability in the Linux Kernel can lead to incorrect computation of the maximum file size, potentially resulting in data corruption, file system instability, and security breaches. It is crucial to update the Linux Kernel to version v4.14.276 or later to mitigate this vulnerability. Users can also use tools like Vulert (https://vulert.com) to check if their systems are affected and receive real-time monitoring and alerts for open-source vulnerabilities. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to incorrect computation of the maximum file size in the ext2 file system, potentially resulting in data corruption, file system instability, and security breaches.

Versions starting from v4.14.108 up to v4.14.275 are affected by this vulnerability.

You can use tools like Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert provides real-time monitoring and alerts for open-source vulnerabilities without requiring access to the code or installation.

A temporary workaround is to enforce strict file size limits within applications or implement custom checks in the file system layer. However, it is recommended to update the Linux Kernel to the patched version as soon as possible.

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