ext4: Fix fs corruption when trying to remove a non-empty directory with IO error
Summary
GSD-2022-1001905: ext4: fix fs corruption when tring to remove a non-empty directory with IO error. Affects Kernel versions < 597393cde8411ebd2098c819a29c2de23f66af65. 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 ext4 file system is a widely used file system in the Linux kernel. It provides features such as journaling, scalability, and support for large file systems. The vulnerability in question occurs when attempting to remove a non-empty directory with an input/output (IO) error. This can lead to file system corruption and potential data loss.
Vulnerability Detail
The vulnerability arises from a flaw in the ext4 file system implementation. When a user tries to delete a directory that contains files or subdirectories and encounters an IO error, the file system can become corrupted. This corruption can result in the loss of data and impact the overall integrity of the file system. The vulnerability has been fixed in Linux Kernel version v5.15.33 by commit 597393cde8411ebd2098c819a29c2de23f66af65.
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 known workaround for this vulnerability. It is essential to update the Linux Kernel to the fixed version to mitigate the risk of file system corruption.
Conclusion
The ext4 file system vulnerability, which could result in file system corruption when attempting to remove a non-empty directory with an IO error, has been addressed in Linux Kernel version v5.15.33. It is crucial to update the Linux Kernel to the fixed version to mitigate the risk of data loss and maintain the integrity of the file system. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ext4 is a file system used in the Linux kernel. It provides features such as journaling, scalability, and support for large file systems.
The vulnerability can lead to file system corruption and potential data loss.
To fix this vulnerability, update the Linux Kernel to version v5.15.33 or later.
There is no known workaround. Updating the Linux Kernel is the recommended solution.
The fixed version of the Linux Kernel can be obtained from the official Linux Kernel repository.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.