ext2: Correct Max File Size Computing in Linux Kernel
Summary
GSD-2022-1002090: ext2: correct max file size computing. Affects Kernel versions >= 1c2d14212b15a60300a2d4f6364753e87394c521, < 9ffa07c699a72fc351620ee3cf6797d1a8abe37f. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The Linux Kernel is the core component of the Linux operating system. It provides essential functionality and interfaces for various hardware devices, file systems, and software applications. The ext2 file system is one of the most widely used file systems in Linux. It is the default file system for many Linux distributions 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 5.1 to 5.10.110 of the Linux Kernel. The vulnerability relates to the incorrect computation of the maximum file size in the ext2 file system, which can lead to potential security issues.
Vulnerability Detail
The vulnerability in the ext2 file system implementation in the Linux Kernel arises from an incorrect computation of the maximum file size. This computation error can result in the creation of files with larger sizes than intended, potentially leading to buffer overflows or other security vulnerabilities. An attacker could exploit this vulnerability to execute arbitrary code, escalate privileges, or cause denial-of-service conditions.
The vulnerability was introduced in version 5.1 of the Linux Kernel and has been fixed in version 5.10.110 by commit 9ffa07c699a72fc351620ee3cf6797d1a8abe37f. It is crucial for users of affected versions to update their Linux Kernel to the latest version to mitigate the risk.
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 specific workaround available for this vulnerability. The recommended solution is to update the Linux Kernel to the latest version as mentioned in the 'how_to_fix' section.
Conclusion
The ext2 file system implementation in the Linux Kernel versions 5.1 to 5.10.110 is vulnerable to a computation error in the maximum file size. This vulnerability can potentially lead to security issues such as buffer overflows or arbitrary code execution. It is crucial for users to update their Linux Kernel to version 5.10.110 or later to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially allow an attacker to execute arbitrary code, escalate privileges, or cause denial-of-service conditions.
Versions 5.1 to 5.10.110 of the Linux Kernel are affected.
The vulnerability was introduced in version 5.1 of the Linux Kernel through commit 1c2d14212b15a60300a2d4f6364753e87394c521.
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 and the playground will provide real-time alerts for open-source vulnerabilities.
There is no known exploit for this vulnerability at the time of this report. However, it is important to update the Linux Kernel to the latest version to mitigate the risk.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.