Out-of-bounds Read in Linux

CVE-2025-21794

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

Vulnerability class: Buffer Overflow

EPSS: 0.002 (13.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H.

Affected products

  • Linux — versions 220883fba32549a34f0734e4859d07f4dcd56992, ae730deded66150204c494282969bfa98dc3ae67, e5bcae4212a6a4b4204f46a1b8bcba08909d2007
  • Linux Linux_kernel — versions 6.14

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-21794?
CVE-2025-21794 is a high-severity vulnerability in Linux, classified under Out-of-bounds Read. CVSS score: 7.1/10. Published 2025-02-27.
How severe is CVE-2025-21794?
High severity. CVSS v3 base score is 7.1 out of 10.
Is CVE-2025-21794 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.