# CVE-2025-21794: HID: hid-thrustmaster: fix stack-out-of-bounds read in usb\_check\_int\_endpoints()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-02-27T02:18:30.907Z
- **Modified:** 2026-06-17T08:44:17.790Z

## Who should check

- Anyone running Linux \>= 220883fba32549a34f0734e4859d07f4dcd56992, \< 436f48c864186e9413d1b7c6e91767cc9e1a65b8; \>= ae730deded66150204c494282969bfa98dc3ae67, \< f3ce05283f6cb6e19c220f5382def43dc5bd56b9; \>= e5bcae4212a6a4b4204f46a1b8bcba08909d2007, \< cdd9a1ea23ff1a272547217100663e8de4eada40; \>= 816e84602900f7f951458d743fa12769635ebfd5, \< 73e36a699b9f46322ffb81f072a24e64f728dba7; \>= 50420d7c79c37a3efe4010ff9b1bb14bc61ebccf, \< 0b43d98ff29be3144e86294486b1373b5df74c0e
- Anyone running Linux \>= 6.6.76, \< 6.6.79; \>= 6.12.13, \< 6.12.16; \>= 6.13.2, \< 6.13.4

## Description

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 and fixed versions

- Linux: \>= 220883fba32549a34f0734e4859d07f4dcd56992, \< 436f48c864186e9413d1b7c6e91767cc9e1a65b8; \>= ae730deded66150204c494282969bfa98dc3ae67, \< f3ce05283f6cb6e19c220f5382def43dc5bd56b9; \>= e5bcae4212a6a4b4204f46a1b8bcba08909d2007, \< cdd9a1ea23ff1a272547217100663e8de4eada40; \>= 816e84602900f7f951458d743fa12769635ebfd5, \< 73e36a699b9f46322ffb81f072a24e64f728dba7; \>= 50420d7c79c37a3efe4010ff9b1bb14bc61ebccf, \< 0b43d98ff29be3144e86294486b1373b5df74c0e (cvelist)
- Linux: \>= 6.6.76, \< 6.6.79; \>= 6.12.13, \< 6.12.16; \>= 6.13.2, \< 6.13.4 (cvelist)

## Mitigation

- Upgrade Linux to 0b43d98ff29be3144e86294486b1373b5df74c0e or later.
- Upgrade Linux to 6.13.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-21794. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21794.md
Affected: Linux >= 220883fba32549a34f0734e4859d07f4dcd56992, < 436f48c864186e9413d1b7c6e91767cc9e1a65b8; >= ae730deded66150204c494282969bfa98dc3ae67, < f3ce05283f6cb6e19c220f5382def43dc5bd56b9; >= e5bcae4212a6a4b4204f46a1b8bcba08909d2007, < cdd9a1ea23ff1a272547217100663e8de4eada40; >= 816e84602900f7f951458d7…
Fixed in: Linux 436f48c864186e9413d1b7c6e91767cc9e1a65b8, Linux 73e36a699b9f46322ffb81f072a24e64f728dba7, Linux 0b43d98ff29be3144e86294486b1373b5df74c0e, Linux 6.6.79, Linux 6.12.16, Linux 6.13.4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-21794 being exploited?

There is no confirmed exploitation: CVE-2025-21794 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-21794?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-21794?

Linux \>= 220883fba32549a34f0734e4859d07f4dcd56992, \< 436f48c864186e9413d1b7c6e91767cc9e1a65b8; \>= ae730deded66150204c494282969bfa98dc3ae67, \< f3ce05283f6cb6e19c220f5382def43dc5bd56b9; \>= e5bcae4212a6a4b4204f46a1b8bcba08909d2007, \< cdd9a1ea23ff1a272547217100663e8de4eada40; \>= 816e84602900f7f951458d743fa12769635ebfd5, \< 73e36a699b9f46322ffb81f072a24e64f728dba7; \>= 50420d7c79c37a3efe4010ff9b1bb14bc61ebccf, \< 0b43d98ff29be3144e86294486b1373b5df74c0e; Linux \>= 6.6.76, \< 6.6.79; \>= 6.12.13, \< 6.12.16; \>= 6.13.2, \< 6.13.4.

### Is there a fix for CVE-2025-21794?

Yes. Fixed in Linux 436f48c864186e9413d1b7c6e91767cc9e1a65b8, Linux 73e36a699b9f46322ffb81f072a24e64f728dba7, Linux 0b43d98ff29be3144e86294486b1373b5df74c0e, Linux 6.6.79, Linux 6.12.16, Linux 6.13.4. Upgrade Linux to 0b43d98ff29be3144e86294486b1373b5df74c0e or later. Upgrade Linux to 6.13.4 or later.

### How do I check if I'm affected by CVE-2025-21794?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/436f48c864186e9413d1b7c6e91767cc9e1a65b8>
- patch: <https://git.kernel.org/stable/c/f3ce05283f6cb6e19c220f5382def43dc5bd56b9>
- patch: <https://git.kernel.org/stable/c/cdd9a1ea23ff1a272547217100663e8de4eada40>
- patch: <https://git.kernel.org/stable/c/73e36a699b9f46322ffb81f072a24e64f728dba7>
- patch: <https://git.kernel.org/stable/c/0b43d98ff29be3144e86294486b1373b5df74c0e>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-21794>

HTML: <https://flawdb.com/CVE-2025-21794> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-21794>
