CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's handling of HID devices, specifically where the `to_usb_interface()` function is used without a proper check to confirm that the device's parent is indeed USB. This oversight can lead to kernel crashes (kernel splats) when non-USB HID devices are incorrectly processed as USB devices. Linux system administrators and developers working with HID implementations should prioritize applying the fix to prevent potential system instability.
Original NVD 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.