In the Linux kernel, the following vulnerability has been resolved:
HID: hid-thrustmaster: fix stack-out-of-bounds read in usbcheckint_endpoints()
Syzbot[1] has detected a stack-out-of-bounds read of the epaddr array from hid-thrustmaster driver. This array is passed to usbcheckintendpoints 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
[
{
"deprecated": false,
"id": "CVE-2025-21794-04da431f",
"signature_version": "v1",
"digest": {
"length": 1038.0,
"function_hash": "150091722595509584580156301246069327167"
},
"target": {
"function": "thrustmaster_interrupts",
"file": "drivers/hid/hid-thrustmaster.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cdd9a1ea23ff1a272547217100663e8de4eada40"
},
{
"deprecated": false,
"id": "CVE-2025-21794-2b34d805",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"116844897117645231856871965190838321794",
"41354705181971740096072284861644679929",
"249294460705041522879718103794522271655",
"152078724232082283899389975303684215504"
]
},
"target": {
"file": "drivers/hid/hid-thrustmaster.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@436f48c864186e9413d1b7c6e91767cc9e1a65b8"
},
{
"deprecated": false,
"id": "CVE-2025-21794-3aee25f2",
"signature_version": "v1",
"digest": {
"length": 1038.0,
"function_hash": "150091722595509584580156301246069327167"
},
"target": {
"function": "thrustmaster_interrupts",
"file": "drivers/hid/hid-thrustmaster.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f3ce05283f6cb6e19c220f5382def43dc5bd56b9"
},
{
"deprecated": false,
"id": "CVE-2025-21794-501d8f15",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"116844897117645231856871965190838321794",
"41354705181971740096072284861644679929",
"249294460705041522879718103794522271655",
"152078724232082283899389975303684215504"
]
},
"target": {
"file": "drivers/hid/hid-thrustmaster.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b43d98ff29be3144e86294486b1373b5df74c0e"
},
{
"deprecated": false,
"id": "CVE-2025-21794-8e5a6c99",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"116844897117645231856871965190838321794",
"41354705181971740096072284861644679929",
"249294460705041522879718103794522271655",
"152078724232082283899389975303684215504"
]
},
"target": {
"file": "drivers/hid/hid-thrustmaster.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cdd9a1ea23ff1a272547217100663e8de4eada40"
},
{
"deprecated": false,
"id": "CVE-2025-21794-91f771e0",
"signature_version": "v1",
"digest": {
"length": 1038.0,
"function_hash": "150091722595509584580156301246069327167"
},
"target": {
"function": "thrustmaster_interrupts",
"file": "drivers/hid/hid-thrustmaster.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@73e36a699b9f46322ffb81f072a24e64f728dba7"
},
{
"deprecated": false,
"id": "CVE-2025-21794-c3cf748a",
"signature_version": "v1",
"digest": {
"length": 1038.0,
"function_hash": "150091722595509584580156301246069327167"
},
"target": {
"function": "thrustmaster_interrupts",
"file": "drivers/hid/hid-thrustmaster.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@436f48c864186e9413d1b7c6e91767cc9e1a65b8"
},
{
"deprecated": false,
"id": "CVE-2025-21794-d9e4db2c",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"116844897117645231856871965190838321794",
"41354705181971740096072284861644679929",
"249294460705041522879718103794522271655",
"152078724232082283899389975303684215504"
]
},
"target": {
"file": "drivers/hid/hid-thrustmaster.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f3ce05283f6cb6e19c220f5382def43dc5bd56b9"
},
{
"deprecated": false,
"id": "CVE-2025-21794-e95b7416",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"116844897117645231856871965190838321794",
"41354705181971740096072284861644679929",
"249294460705041522879718103794522271655",
"152078724232082283899389975303684215504"
]
},
"target": {
"file": "drivers/hid/hid-thrustmaster.c"
},
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@73e36a699b9f46322ffb81f072a24e64f728dba7"
},
{
"deprecated": false,
"id": "CVE-2025-21794-fb84b4af",
"signature_version": "v1",
"digest": {
"length": 1038.0,
"function_hash": "150091722595509584580156301246069327167"
},
"target": {
"function": "thrustmaster_interrupts",
"file": "drivers/hid/hid-thrustmaster.c"
},
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b43d98ff29be3144e86294486b1373b5df74c0e"
}
]