Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's handling of Mellanox MLX5 devices can lead to a NULL pointer dereference. This issue arises because the device memory management initialization can fail, and without proper checks, the kernel may attempt to access invalid memory, causing a crash. The vulnerability affects the stable versions of the Linux kernel that include the faulty memory management code for Mellanox MLX5 devices.
Exploitation of this vulnerability causes a kernel crash due to a NULL pointer dereference, disrupting system operations and potentially leading to a denial of service.
The vulnerability can be reproduced by initializing a Mellanox MLX5 device without the necessary device memory management. This can be done by creating a scenario where the device memory allocation fails, such as by modifying the driver's memory management functions to return NULL instead of a valid pointer. Once the device is initialized with the faulty memory management, the kernel will crash when it tries to access the NULL pointer.
Users can upgrade to the latest version of the Linux kernel, where this vulnerability has been addressed. Instructions for upgrading the kernel can be found in the official Linux kernel documentation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.