CVE-2025-21794

published 27 Feb 2025 · updated 11 May 2026

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

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 436f48c864186e9413d1b7c6e91767cc9e1a65b8, Kernel 0b43d98ff29be3144e86294486b1373b5df74c0e, Kernel 6.12.16 and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=220883fba32549a34f0734e4859d07f4dcd56992 <436f48c864186e9413d1b7c6e91767cc9e1a65b8, >=50420d7c79c37a3efe4010ff9b1bb14bc61ebccf <0b43d98ff29be3144e86294486b1373b5df74c0e, >=6.12.13 <6.12.16, >=6.13.2 <6.13.4, >=6.6.76 <6.6.79, >=816e84602900f7f951458d743fa12769635ebfd5 <73e36a699b9f46322ffb81f072a24e64f728dba7, >=ae730deded66150204c494282969bfa98dc3ae67 <f3ce05283f6cb6e19c220f5382def43dc5bd56b9, >=e5bcae4212a6a4b4204f46a1b8bcba08909d2007 <cdd9a1ea23ff1a272547217100663e8de4eada40436f48c864186e9413d1b7c6e91767cc9e1a65b8, 0b43d98ff29be3144e86294486b1373b5df74c0e, 6.12.16, 6.13.4, 6.6.79, 73e36a699b9f46322ffb81f072a24e64f728dba7, f3ce05283f6cb6e19c220f5382def43dc5bd56b9, cdd9a1ea23ff1a272547217100663e8de4eada40

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21794 severity on Zeptric[![CVE-2025-21794](https://zeptric.io/badge/cve/CVE-2025-21794.svg)](https://zeptric.io/cve/CVE-2025-21794)