Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: HID: asus: 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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected ff38cf0bd888fe15789a7193d07c4a876388d520 before bdb2e0a2a359e473ca5619e35adee89028697239; affected 00e005c952f74f50a3f86af96f56877be4685e14 before 8b5debb6252cd1e2b6c7adf8f95761a0e743d2cf; affected 00e005c952f74f50a3f86af96f56877be4685e14 before 1ddc2f5913bec7a846544d51a8f7a8119573b2a1; affected 00e005c952f74f50a3f86af96f56877be4685e14 before ee883906cf6685d753af9c2d2ca9fd6f63197726; affected 00e005c952f74f50a3f86af96f56877be4685e14 before 02bf61dfb44f17ec187d1da1a82495951bbd12df; affected 02d5431198f10e7c6e31f4138c14cfe400ec55a7; affected 6.12.35 before 6.12.108; affected 6.15.4 before 6.16 |
| Linux / Linux | affected 6.16; unaffected 0 before 6.16; unaffected 6.12.108 through 6.12.*; unaffected 6.18.49 through 6.18.*; unaffected 7.1.11 through 7.1.*; unaffected 7.2.1 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/bdb2e0a2a359e473ca5619e35adee89028697239
- https://git.kernel.org/stable/c/8b5debb6252cd1e2b6c7adf8f95761a0e743d2cf
- https://git.kernel.org/stable/c/1ddc2f5913bec7a846544d51a8f7a8119573b2a1
- https://git.kernel.org/stable/c/ee883906cf6685d753af9c2d2ca9fd6f63197726
- https://git.kernel.org/stable/c/02bf61dfb44f17ec187d1da1a82495951bbd12df