Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ff38cf0bd888fe15789a7193d07c4a876388d520 to < bdb2e0a2a359e473ca5619e35adee89028697239affected00e005c952f74f50a3f86af96f56877be4685e14 to < 8b5debb6252cd1e2b6c7adf8f95761a0e743d2cfaffected00e005c952f74f50a3f86af96f56877be4685e14 to < 1ddc2f5913bec7a846544d51a8f7a8119573b2a1affected00e005c952f74f50a3f86af96f56877be4685e14 to < ee883906cf6685d753af9c2d2ca9fd6f63197726affected00e005c952f74f50a3f86af96f56877be4685e14 to < 02bf61dfb44f17ec187d1da1a82495951bbd12dfaffected02d5431198f10e7c6e31f4138c14cfe400ec55a7affected6.12.35 to < 6.12.108affected6.15.4 to < 6.16affected
Linux Linux
Default version status: affected
6.16affected0 to < 6.16unaffected6.12.108 to ≤ 6.12.*unaffected6.18.49 to ≤ 6.18.*unaffected7.1.11 to ≤ 7.1.*unaffected7.2.1 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
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 ↗