CVE-2025-21794
Thrustmaster HID Stack-Based Buffer Overflow
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
INFO
Published Date :
Feb. 27, 2025, 3:15 a.m.
Last Modified :
Feb. 27, 2025, 3:15 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.1 | HIGH | [email protected] |
Solution
- Update the Linux kernel to include the fix.
- Recompile the kernel with the provided patch.
- Install the updated kernel.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-21794
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-21794
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-21794
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-21794
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-21794
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 05, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Added CWE CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.12.13 from (excluding) 6.12.16 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13.2 from (excluding) 6.13.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.6.76 from (excluding) 6.6.79 Added Reference Type kernel.org: https://git.kernel.org/stable/c/0b43d98ff29be3144e86294486b1373b5df74c0e Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/436f48c864186e9413d1b7c6e91767cc9e1a65b8 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/73e36a699b9f46322ffb81f072a24e64f728dba7 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/cdd9a1ea23ff1a272547217100663e8de4eada40 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f3ce05283f6cb6e19c220f5382def43dc5bd56b9 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Feb. 27, 2025
Action Type Old Value New Value Added 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 Added Reference https://git.kernel.org/stable/c/0b43d98ff29be3144e86294486b1373b5df74c0e Added Reference https://git.kernel.org/stable/c/436f48c864186e9413d1b7c6e91767cc9e1a65b8 Added Reference https://git.kernel.org/stable/c/73e36a699b9f46322ffb81f072a24e64f728dba7 Added Reference https://git.kernel.org/stable/c/cdd9a1ea23ff1a272547217100663e8de4eada40 Added Reference https://git.kernel.org/stable/c/f3ce05283f6cb6e19c220f5382def43dc5bd56b9