Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's I2C mux registration process can lead to a null pointer dereference. This issue occurs in the 'i2c-mux-reg' driver when the 'platform_get_resource()' function returns NULL. The vulnerability arises because the 'resource_size()' function is called before checking the validity of the resource, potentially leading to a crash. The problem has been addressed by rearranging the code to check the resource after it has been mapped, and by using a simplified resource management function.
Exploitation of this vulnerability can cause a null pointer dereference, leading to a system crash.
The vulnerability can be reproduced by loading the I2C mux register-based driver 'i2c-mux-reg' into the Linux kernel. When the driver attempts to access platform resources, a null pointer dereference occurs if the resource retrieval function returns NULL, causing the system to crash.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux kernel official website.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.