CVE-2025-21794

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

High · published February 27, 2025

CVSS v3.1
7.1
EPSS
0%
Percentile
13.4
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00233 · 13.4th percentile
Published
2025-02-27T02:18Z
EPSS history
Timeline
  • 27 FEB 02:18Z
    HID: hid-thrustmaster: fix stack-out-of-bounds read in usb_check_int_endpoints()
    cvelistv5