CVE-2025-21794: Linux kernel · HID: hid-thrustmaster: fix stack-out-of-bounds read in usb_check_int_endpoints()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.1 High.
Data as of 24 Nov 2026, 19:45 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.5pkg:deb/ubuntu/linux-aws-6.5?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-azure-5.19pkg:deb/ubuntu/linux-azure-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available that adds a terminating zero element to the ep_addr array in the hid-thrustmaster driver to prevent out-of-bounds reads. Users should apply the updated Linux kernel versions that include this patch to mitigate the vulnerability.
Description
A stack-out-of-bounds read vulnerability was identified and fixed in the hid-thrustmaster driver within the Linux kernel. The issue occurred because the usb_check_int_endpoints() function iterated beyond the end of the ep_addr array due to the absence of a terminating null element, leading to kernel crashes. The fix involved adding a terminating zero element to the array to prevent out-of-bounds access.
References
- ubuntu.com/security/CVE-2025-21794 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21794 (opens in a new tab)
- git.kernel.org/linus/0b43d98ff29be3144e86294486b1373b5df74c0e (opens in a new tab)
- git.kernel.org/stable/c/0b43d98ff29be3144e86294486b1373b5df74c0e (opens in a new tab)
- git.kernel.org/stable/c/436f48c864186e9413d1b7c6e91767cc9e1a65b8 (opens in a new tab)
- git.kernel.org/stable/c/73e36a699b9f46322ffb81f072a24e64f728dba7 (opens in a new tab)
- git.kernel.org/stable/c/cdd9a1ea23ff1a272547217100663e8de4eada40 (opens in a new tab)
- git.kernel.org/stable/c/f3ce05283f6cb6e19c220f5382def43dc5bd56b9 (opens in a new tab)