Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +3 more
A use-after-free vulnerability has been identified in the ext4 filesystem component of the Linux kernel. This issue arises during the directory renaming process, specifically in the 'ext4_rename_dir_prepare' function. The vulnerability occurs when the filesystem is mounted without a journal, leading to improper handling of directory entries. As a result, an illegal parent entry can be accessed, causing a memory corruption issue.
Exploitation of this vulnerability leads to a use-after-free condition, which can commonly result in arbitrary code execution or memory corruption.
The vulnerability can be reproduced by mounting an ext4 filesystem without a journal and then performing a rename operation that triggers the 'ext4_rename_dir_prepare' function. This sequence of actions will expose the use-after-free flaw by accessing a freed memory address, as indicated by the kernel's AddressSanitizer (KASAN) error report.
Users should ensure that ext4 filesystems are mounted with journaling enabled to prevent this vulnerability. Additionally, updating to a patched version of the Linux kernel is recommended.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.