HID: rapoo: fix missing hid_is_usb() check
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 49b6fd28fbcc0b6457e16e25c7617f63449d4808, Kernel 99ed3febafe0452994620a4d819f595583289bec and Kernel b57af2448268c30c25509a832b6ff6dc27176b28.
In the Linux kernel, the following vulnerability has been resolved: HID: rapoo: fix missing hid_is_usb() check to_usb_interface() can only be used on a hid_device whose parent is really USB; uhid can create devices that identify as being on BUS_USB, but don't actually have a USB parent. Fix the use of to_usb_interface() without a hid_is_usb() check. Add a dependency on USB_HID for hid_is_usb(), as other HID drivers do; the alternative would be to provide a simple stub implementation on !USB_HID builds. I have verified that it is currently possible to trigger a kernel splat due to this bug in an ASAN build, and that this commit fixes the issue.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.0, >=b3b1c68fb726907ea35ac172906705fe62c7fdaf <49b6fd28fbcc0b6457e16e25c7617f63449d4808, >=b3b1c68fb726907ea35ac172906705fe62c7fdaf <99ed3febafe0452994620a4d819f595583289bec, >=b3b1c68fb726907ea35ac172906705fe62c7fdaf <b57af2448268c30c25509a832b6ff6dc27176b28 | 49b6fd28fbcc0b6457e16e25c7617f63449d4808, 99ed3febafe0452994620a4d819f595583289bec, b57af2448268c30c25509a832b6ff6dc27176b28 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket