Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability exists in the Linux kernel's pinctrl driver for the Atmel PIO4 controller. The issue arises because the function 'devm_kasprintf()' can return a NULL pointer if memory allocation fails. This vulnerability affects several versions of the Linux kernel.
The vulnerability could lead to a denial of service by causing a memory allocation failure that is not properly handled, potentially leading to a crash or instability in the system.
The vulnerability can be reproduced by loading the Atmel PIO4 pinctrl driver in a Linux kernel version that is affected by this issue. The driver will attempt to allocate memory for pin descriptions using 'devm_kasprintf()'. If the memory allocation fails, the driver does not properly check the return value, which can lead to a NULL pointer dereference.
Users can update to the latest version of the Linux kernel, where this vulnerability has been addressed. Instructions for updating the Linux kernel can be found in the official Linux documentation or through the package manager for your Linux distribution.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.