Security mailing lists by PureSourceCode

CVE-2026-142953

not scored yet

gpio: mpsse: reject bulk-in endpoints smaller than 3 bytes

In the Linux kernel, the following vulnerability has been resolved:

gpio: mpsse: reject bulk-in endpoints smaller than 3 bytes

mpsse_read() reads min(len + 2, wMaxPacketSize) bytes and then copies
len_actual - 2 bytes to the caller. A device that declares a bulk-in
endpoint with wMaxPacketSize 1 completes the read with len_actual 1, so
the copy length becomes -1 and memcpy() runs far past the one byte
buffer on the caller's stack and past bulk_in_buf:

memcpy: detected buffer overflow: 18446744073709551615 byte write of buffer size 1
WARNING: lib/string_helpers.c:1036 at __fortify_report+0x6e/0xc0
Call Trace:
__fortify_panic+0xd/0x10
gpio_mpsse_get_multiple+0x767/0x780
gpio_mpsse_gpio_get+0xa2/0xf0
gpiod_get_raw_value_commit+0xf8/0x1f0
gpiod_get_value_cansleep+0x1e/0xa0
value_show+0x42/0x90

Reproduced with dummy_hcd and raw-gadget. A read needs room for the two
status bytes plus at least one data byte, so refuse to bind otherwise.

Published
3 Dec 2026
Last modified
3 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= c46a74ff05c0ac76ba11ef21c930c3b447abf31a, < 61f99e5d24408f9fa12125b8f5b06549efeb7c91; >= c46a74ff05c0ac76ba11ef21c930c3b447abf31a, < 58c873e631498ea0d100b1505cbefe8c868d1a38; >= c46a74ff05c0ac76ba11ef21c930c3b447abf31a, < f94f85f82e042c89a1e64ed3ff1d591a2bccfa7b 61f99e5d24408f9fa12125b8f5b06549efeb7c91, 58c873e631498ea0d100b1505cbefe8c868d1a38, f94f85f82e042c89a1e64ed3ff1d591a2bccfa7b
CVE List Linux Linux = 6.13

References

History

  • 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.