CVE-2025-21794: HID: hid-thrustmaster: fix stack-out-of-bounds read in usb_check_int_endpoints()
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
Security readout for executives and security teams
Plain-English summary
CVE-2025-21794 is a Linux kernel bug in the Thrustmaster HID driver that can crash the kernel when malformed endpoint data is processed. The practical business impact is local denial of service and potential exposure of kernel memory. It requires local access, so prioritize systems where untrusted users or USB devices are realistic.
Executive priority
Treat as a high-priority patching item for Linux endpoints with local or USB exposure. It is not evidenced as remotely exploitable or actively exploited from the provided sources, but kernel crashes and confidentiality impact justify timely remediation.
Technical view
The hid-thrustmaster driver passed an ep_addr array to usb_check_int_endpoints() without a terminating zero element. The USB core loop read past the stack array, causing a stack out-of-bounds read and kernel crash. Sources identify CWE-125, CVSS 7.1, and stable kernel fixes adding the missing sentinel.
Likely exposure
Linux systems running kernel builds containing the vulnerable hid-thrustmaster code may be exposed, especially endpoints or workstations where local users can attach or interact with USB HID devices. The bundle does not prove broad remote exposure or identify every affected distribution version.
Exploitation context
The CVSS vector is local, low complexity, low privileges, no user interaction. The bundle says syzbot found the crash. KEV is false, and no cited source here supports active exploitation in the wild.
Researcher notes
Root cause is a missing zero sentinel in ep_addr passed into usb_check_int_endpoints(). The fix adds a terminating 0 to stop iteration. Evidence comes from the CVE record, Linux stable commits, syzkaller reference in the description, and Debian LTS notice.
Mitigation direction
Apply Linux kernel vendor updates containing the referenced stable fixes.
Check Debian LTS and other distro advisories for backported kernel packages.
Prioritize workstations and shared systems with local user or USB device exposure.
Limit untrusted USB HID device use until patched.
Follow vendor guidance if your kernel is custom or downstream-patched.
Validation and detection
Inventory Linux kernel versions across exposed workstations and servers.
Confirm installed kernels include a referenced stable commit or distro backport.
Review whether hid-thrustmaster is built, loaded, or available as a module.
Check kernel logs for unexplained HID or USB-related crashes.
Validate updates in staging before broad endpoint rollout.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-125: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-125 · source CWE mapping
Out-of-bounds Read
Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.