CVE-2026-80605 PUBLISHED

HID: picolcd: prevent NULL pointer dereference in picolcd_send_and_wait()

Assigner: Linux
Reserved: 26.08.2026 Published: 28.08.2026 Updated: 28.08.2026

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]

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from fabdbf2fd22fa170b4c5340dbdda5c8cd88fb205 to 42dc0b7b55fe0499fc09183f34a1c46d1dcccf77 (excl.)
  • affected from fabdbf2fd22fa170b4c5340dbdda5c8cd88fb205 to 48caee2c106b03301c72fe389ebff00d852c58d5 (excl.)
  • affected from fabdbf2fd22fa170b4c5340dbdda5c8cd88fb205 to dc176447c7279435c46735db7da81aed1ec25cc2 (excl.)
  • affected from fabdbf2fd22fa170b4c5340dbdda5c8cd88fb205 to a02d5d7ad7ae5fa3756b8332f7350e973085dcb3 (excl.)
  • affected from fabdbf2fd22fa170b4c5340dbdda5c8cd88fb205 to e4edeefb8d5bfceb2058e2b3291f4ae1e5a76e61 (excl.)
  • affected from fabdbf2fd22fa170b4c5340dbdda5c8cd88fb205 to d354e523c6f740db758cafcd4c11bb7913285ed8 (excl.)
  • affected from fabdbf2fd22fa170b4c5340dbdda5c8cd88fb205 to ef649703dce0df1364fcec3cdad9b32d1c522939 (excl.)
  • affected from fabdbf2fd22fa170b4c5340dbdda5c8cd88fb205 to 0021eb09041f021c079be1022934a280f7f176c0 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.7 is affected
  • unaffected from 0 to 3.7 (excl.)
  • unaffected from 5.10.261 to 5.10.* (incl.)
  • unaffected from 5.15.212 to 5.15.* (incl.)
  • unaffected from 6.1.178 to 6.1.* (incl.)
  • unaffected from 6.6.145 to 6.6.* (incl.)
  • unaffected from 6.12.97 to 6.12.* (incl.)
  • unaffected from 6.18.40 to 6.18.* (incl.)
  • unaffected from 7.1.5 to 7.1.* (incl.)
  • unaffected from 7.2 to * (incl.)

References