CVE-2025-21794
JSON

7.1high

HID: hid-thrustmaster: fix stack-out-of-bounds read in usb_check_int_endpoints()

Severity
7.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: HID: hid-thrustmaster: fix stack-out-of-bounds read in usb_check_int_endpoints() Syzbot[1] has detected a stack-out-of-bounds read of the ep_addr array from hid-thrustmaster driver. This array is passed to usb_check_int_endpoints function from usb.c core driver, which executes a for loop that iterates over the elements of the passed array. Not finding a null element at the end of the array, it tries to read the next, non-existent element, crashing the kernel. To fix this, a 0 element was added at the end of the array to break the for loop. [1] https://syzkaller.appspot.com/bug?extid=9c9179ac46169c56c1ad

Affected

Product or packageVersionsReported by
Linux Linuxfrom 220883fba32549a34f0734e4859d07f4dcd56992 before 436f48c864186e9413d1b7c6e91767cc9e1a65b8, from ae730deded66150204c494282969bfa98dc3ae67 before f3ce05283f6cb6e19c220f5382def43dc5bd56b9, from e5bcae4212a6a4b4204f46a1b8bcba08909d2007 before cdd9a1ea23ff1a272547217100663e8de4eada40, from 816e84602900f7f951458d743fa12769635ebfd5 before 73e36a699b9f46322ffb81f072a24e64f728dba7, from 50420d7c79c37a3efe4010ff9b1bb14bc61ebccf before 0b43d98ff29be3144e86294486b1373b5df74c0e, from 6.6.76 before 6.6.79, from 6.12.13 before 6.12.16, from 6.13.2 before 6.13.4CVE List
linux linux_kernelfrom 6.6.76 before 6.6.79, from 6.12.13 before 6.12.16, from 6.13.2 before 6.13.4, 6.14NVD

All scores

CISA-ADP7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: HID: hid-thrustmaster: fix stack-out-of-bounds read in usb_check_int_endpoints() Syzbot[1] has detected a stack-out-of-bounds read of the ep_addr array from hid-thrustmaster driver. This array is passed to usb_check_int_endpoints function from usb.c core driver, which executes a for loop that iterates over the elements of the passed array. Not finding a null element at the end of the array, it tries to read the next, non-existent element, crashing the kernel. To fix this, a 0 element was added at the end of the array to break the for loop. [1] https://syzkaller.appspot.com/bug?extid=9c9179ac46169c56c1ad

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: HID: hid-thrustmaster: corrección de lectura fuera de los límites de pila en usb_check_int_endpoints() Syzbot[1] ha detectado una lectura fuera de los límites de pila de la matriz ep_addr del controlador hid-thrustmaster. Esta matriz se pasa a la función usb_check_int_endpoints del controlador del núcleo usb.c, que ejecuta un bucle for que itera sobre los elementos de la matriz pasada. Al no encontrar un elemento nulo al final de la matriz, intenta leer el siguiente elemento inexistente, lo que hace que el kernel se bloquee. Para corregir esto, se agregó un elemento 0 al final de la matriz para romper el bucle for. [1] https://syzkaller.appspot.com/bug?extid=9c9179ac46169c56c1ad

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21794 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-21794 changed 2026-06-17Public domain