Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A use-after-free vulnerability has been identified in the Linux kernel's clock driver for i.MX SCU (System Control Unit) management. This issue arises because the code improperly frees a clock node while still iterating over it, which can lead to dereferencing a freed variable. The vulnerability affects several versions of the Linux kernel.
Exploitation of this vulnerability can lead to a use-after-free condition, where the program continues to use a memory location after it has been freed. This can potentially be exploited to execute arbitrary code or cause a denial-of-service condition by crashing the system.
The vulnerability can be reproduced by calling the 'imx_clk_scu_unregister' function, which iterates over a list of clock nodes. The function currently uses a standard list iteration method that does not account for the fact that it is freeing the clock nodes as it goes, leading to a use-after-free condition. This can be fixed by using a safe iteration method that prevents dereferencing freed nodes.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. Instructions for downloading the latest version can be found on the official Linux kernel website.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.