Vulnerabilities · 2025 · Linux
CVE-2025-21794
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/0b43d98ff29be3144e86294486b1373b5df74c0e · Patch
- git.kernel.org/stable/c/436f48c864186e9413d1b7c6e91767cc9e1a65b8 · Patch
- git.kernel.org/stable/c/73e36a699b9f46322ffb81f072a24e64f728dba7 · Patch
- git.kernel.org/stable/c/cdd9a1ea23ff1a272547217100663e8de4eada40 · Patch
- git.kernel.org/stable/c/f3ce05283f6cb6e19c220f5382def43dc5bd56b9 · Patch
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- nvd.nist.gov/vuln/detail/CVE-2025-21794
- cve.org/CVERecord?id=CVE-2025-21794
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.