CVE-2025-21794

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21794
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21794.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-21794
Downstream
Related
Published
2025-02-27T03:15:20Z
Modified
2025-10-01T20:18:26Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

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

Syzbot[1] has detected a stack-out-of-bounds read of the epaddr array from hid-thrustmaster driver. This array is passed to usbcheckintendpoints 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

References

Affected packages