HID: huawei: 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 4cdb6b4b34d7823254f6e1b22faf56c96ac57fb9, Kernel 66805454c01ffefc40d08a962d606cdb73644c5d and Kernel 9acc2463991cdb0856fdbd63fd7178102c1ed73d.
In the Linux kernel, the following vulnerability has been resolved: HID: huawei: 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. 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.1, >=e93faaca84b73431ccef029b2c8e902e5be83006 <4cdb6b4b34d7823254f6e1b22faf56c96ac57fb9, >=e93faaca84b73431ccef029b2c8e902e5be83006 <66805454c01ffefc40d08a962d606cdb73644c5d, >=e93faaca84b73431ccef029b2c8e902e5be83006 <9acc2463991cdb0856fdbd63fd7178102c1ed73d | 4cdb6b4b34d7823254f6e1b22faf56c96ac57fb9, 66805454c01ffefc40d08a962d606cdb73644c5d, 9acc2463991cdb0856fdbd63fd7178102c1ed73d |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket