CVE-2025-21794: HID: hid-thrustmaster: fix stack-out-of-bounds read in usb_check_int_endpoints()
HID: hid-thrustmaster: fix stack-out-of-bounds read in usbcheckintendpoints()
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Add a 0 element at the end of the hid-thrustmaster driver’s ep_addr array so usb_check_int_endpoints() stops iterating at the array boundary.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21794?
CVE-2025-21794 has been classified with a severity level that indicates a significant risk of exploitation in the Linux kernel.
What does CVE-2025-21794 affect?
CVE-2025-21794 affects the hid-thrustmaster driver in the Linux kernel, specifically related to a stack-out-of-bounds read issue.
How do I fix CVE-2025-21794?
To fix CVE-2025-21794, it is recommended to update your Linux kernel to the latest stable version where this vulnerability has been patched.
What are the potential impacts of CVE-2025-21794?
Exploitation of CVE-2025-21794 could lead to unauthorized access or information leakage due to the stack-out-of-bounds read.
When was CVE-2025-21794 disclosed?
CVE-2025-21794 was disclosed in early 2025 in response to vulnerabilities detected by Syzbot.