Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: HID: hid-thrustmaster: fix OOB read in thrustmaster_interrupts Syzbot reported an slab-out-of-bounds Read in thrustmaster_probe() bug. The root case is in missing validation check of actual number of endpoints. Code should not blindly access usb_host_interface::endpoint array, since it may contain less endpoints than code expects. Fix it by adding missing validaion check and print an error if number of endpoints do not match expected number
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected c49c33637802a2c6957a78119eb8be3b055dd9e9 before 3ffbe85cda7f523dad896bae08cecd8db8b555ab; affected c49c33637802a2c6957a78119eb8be3b055dd9e9 before 56185434e1e50acecee56d8f5850135009b87947; affected c49c33637802a2c6957a78119eb8be3b055dd9e9 before fc3ef2e3297b3c0e2006b5d7b3d66965e3392036 |
| Linux / Linux | affected 5.13; unaffected 0 before 5.13; unaffected 5.15.29 through 5.15.*; unaffected 5.16.15 through 5.16.*; unaffected 5.17 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/3ffbe85cda7f523dad896bae08cecd8db8b555ab
- https://git.kernel.org/stable/c/56185434e1e50acecee56d8f5850135009b87947
- https://git.kernel.org/stable/c/fc3ef2e3297b3c0e2006b5d7b3d66965e3392036
ADP enrichment
No English description supplied.
No English description supplied.
No references supplied.