CVE-2025-21794

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

HIGH
7.1
CVSS Score
Published: February 27, 2025 at 02:18 AM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.12.13 ≤ v < 6.12.166.13.2 ≤ v < 6.13.46.6.76 ≤ v < 6.6.79220883fba32549a34f0734e4859d07f4dcd5699250420d7c79c37a3efe4010ff9b1bb14bc61ebccf6.12.136.13.26.14 rc16.14 rc26.6.76816e84602900f7f951458d743fa12769635ebfd5ae730deded66150204c494282969bfa98dc3ae67e5bcae4212a6a4b4204f46a1b8bcba08909d2007
Vendor states this is fixed in 0b43d98ff29be3144e86294486b1373b5df74c0e (fixed)
Vendor states this is fixed in 436f48c864186e9413d1b7c6e91767cc9e1a65b8 (fixed)
Vendor states this is fixed in 73e36a699b9f46322ffb81f072a24e64f728dba7 (fixed)
Vendor states this is fixed in cdd9a1ea23ff1a272547217100663e8de4eada40 (fixed)
Vendor states this is fixed in f3ce05283f6cb6e19c220f5382def43dc5bd56b9 (fixed)
Affected range stops below 6.12.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.13.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.6.79, so it looks safe — our inference, not a vendor statement

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0b43d98ff29be3144e86294486b1373b5df74c0e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/436f48c864186e9413d1b7c6e91767cc9e1a65b8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/73e36a699b9f46322ffb81f072a24e64f728dba7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cdd9a1ea23ff1a272547217100663e8de4eada40
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f3ce05283f6cb6e19c220f5382def43dc5bd56b9
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.1HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card