Bug 1228014 (CVE-2022-48866) - VUL-0: CVE-2022-48866: kernel: HID: hid-thrustmaster: fix OOB read in thrustmaster_interrupts
Summary: VUL-0: CVE-2022-48866: kernel: HID: hid-thrustmaster: fix OOB read in thrustm...
Status: NEW
Alias: CVE-2022-48866
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Kernel Bugs
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/414284/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-17 08:20 UTC by SMASH SMASH
Modified: 2024-07-17 09:15 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-07-17 08:20:46 UTC
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

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-48866
https://www.cve.org/CVERecord?id=CVE-2022-48866
https://git.kernel.org/stable/c/3ffbe85cda7f523dad896bae08cecd8db8b555ab
https://git.kernel.org/stable/c/56185434e1e50acecee56d8f5850135009b87947
https://git.kernel.org/stable/c/fc3ef2e3297b3c0e2006b5d7b3d66965e3392036
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2022/CVE-2022-48866.mbox