ext4: Fix Use-After-Free in ext4_rename_dir_prepare
Summary
GSD-2022-1003241: ext4: fix use-after-free in ext4_rename_dir_prepare. Affects Kernel versions < 364380c00912bed9b5d99eb485018360b0ecf64f. 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 package is a file system driver for the Linux Kernel. It provides support for the ext4 file system, which is widely used in Linux distributions. The ext4 file system offers improved performance, scalability, and reliability compared to its predecessor, ext3. However, like any software, it is susceptible to vulnerabilities that can compromise the security and integrity of the file system.
Vulnerability Detail
The vulnerability identified as GSD-2022-1003241 is a use-after-free issue in the ext4_rename_dir_prepare function. This vulnerability occurs when the function fails to properly handle a specific scenario during directory renaming operations. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition, potentially leading to a system compromise or data loss. The vulnerability has been fixed in the Linux Kernel version v5.15.46 by commit 364380c00912bed9b5d99eb485018360b0ecf64f.
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 recommended to apply the fix as soon as possible.
Conclusion
The use-after-free vulnerability in ext4, as identified by GSD-2022-1003241, has been fixed in the Linux Kernel version v5.15.46. Users are advised to update their Linux Kernel to the latest version to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
ext4 is a file system driver for the Linux Kernel, providing support for the ext4 file system.
A use-after-free vulnerability occurs when a program continues to use a memory region after it has been freed, leading to potential memory corruption and exploitation.
This vulnerability could allow an attacker to execute arbitrary code or cause a denial-of-service condition, potentially leading to a system compromise or data loss.
Yes, this vulnerability has been fixed in the Linux Kernel version v5.15.46 by commit 364380c00912bed9b5d99eb485018360b0ecf64f.
To update your Linux Kernel, you can download the updated kernel source code from the official Linux Kernel repository and compile it, or wait for your Linux distribution to release an updated kernel package.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.