CVE-2022-48866·Kernel vulnerability
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
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.16.15
- Published
- 2024-07-16
Affected versions
From: 5.16
Until: 5.16.15
Fixed in: 5.16.15
How to fix this CVE
Update your Linux kernel to version 5.16.15 or later to resolve this out-of-bounds read vulnerability in the Thrustmaster HID driver. The issue stems from insufficient validation of USB endpoint counts during device initialization, which could lead to memory corruption. Systems running kernel versions 5.16.0 through 5.16.14 should prioritize patching to prevent potential system instability.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against the affected range 5.16.0-5.16.14
- Step 2: Verify if Thrustmaster HID devices are connected or previously configured by checking `lsusb | grep -i thrustmaster` or examining `/proc/bus/usb/devices`
- Step 3: Search system logs for HID initialization errors with `sudo journalctl -b | grep -i 'thrustmaster\|hid.*error\|slab-out-of-bounds'`
- Step 4: After patching, confirm the new kernel version is loaded with `uname -r` and reboot if necessary with `sudo reboot`
FAQ
What is CVE-2022-48866?
This vulnerability is an out-of-bounds memory read in the Linux kernel's Thrustmaster HID driver that occurs when a device reports fewer USB endpoints than the driver expects, potentially causing information disclosure or kernel crashes.
Is CVE-2022-48866 being actively exploited?
No, this vulnerability is not listed on the CISA KEV catalog and has no public exploit available. However, it should still be patched as it can cause system instability.
What versions of Kernel are affected by CVE-2022-48866?
Linux kernel versions 5.16.0 through 5.16.14 are vulnerable. The fix is included in version 5.16.15 and later.
How do I check if my server is vulnerable to CVE-2022-48866?
Run `uname -r` to check your kernel version. If the output shows 5.16.0 through 5.16.14, your system is vulnerable and requires immediate patching.
Does Defensia detect CVE-2022-48866?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2022-48866 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- 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/stable/c/3ffbe85cda7f523dad896bae08cecd8db8b555ab
- https://git.kernel.org/stable/c/56185434e1e50acecee56d8f5850135009b87947
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2022-48866. Free for 1 server.
Get started free