CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's picolcd driver, where an integer overflow in the signed loop counter can lead to a NULL pointer dereference, potentially causing system instability or crashes. This issue arises when the loop executes more than INT_MAX times, allowing for out-of-bounds access. Organizations using Linux systems with the picolcd driver should prioritize addressing this vulnerability to maintain system reliability and security.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: HID: picolcd: prevent NULL pointer dereference in picolcd_send_and_wait() In picolcd_send_and_wait(), an integer overflow of the signed loop counter 'k' can theoretically lead to a NULL pointer dereference of 'raw_data'. If the loop executes more than INT_MAX times, 'k' becomes negative, making the condition 'k < size' true even when 'size' is 0. Change the type of 'k' to 'unsigned int' to prevent the overflow and eliminate the out-of-bounds access. Found by Linux Verification Center (linuxtesting.org) with the Svace static analysis tool. [jkosina@suse.com: extended hash length]