Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's GPIOLib component can lead to an invalid pointer dereference in DebugFS. When memory allocation fails in the 'gpiolib_seq_start()' function, the 's->private' field remains uninitialized. This uninitialized field is later accessed without a prior check in 'gpiolib_seq_stop()', potentially causing a crash or other unintended behavior. The issue affects the stable branch of the Linux kernel.
Exploitation of this vulnerability can cause a denial-of-service condition by leading to an invalid memory access, which could cause a system crash or instability.
The vulnerability can be reproduced by triggering a memory allocation failure in the 'gpiolib_seq_start()' function. This can be done by simulating low memory conditions or by modifying the function to induce a failure. Once the allocation fails, the 's->private' field will remain uninitialized. If 'gpiolib_seq_stop()' is then called, it will dereference the uninitialized pointer, leading to an invalid memory access.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for upgrading the Linux kernel can be found in the official Linux documentation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.