Bug 2525435 (CVE-2026-80605) - CVE-2026-80605 kernel: HID: picolcd: prevent NULL pointer dereference in picolcd_send_and_wait()
Summary: CVE-2026-80605 kernel: HID: picolcd: prevent NULL pointer dereference in pico...
Keywords:
Status: NEW
Alias: CVE-2026-80605
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-28 07:44 UTC by OSIDB Bzimport
Modified: 2026-09-01 09:40 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-28 07:44:50 UTC
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: extended hash length]


Note You need to log in before you can comment on or make changes to this bug.