In the Linux kernel, the following vulnerability has been resolved:
HID: hid-ntrig: fix unable to handle page fault in ntrig_report_version()
in ntrig_report_version(), hdev parameter passed from hid_probe(). sending descriptor to /dev/uhid can make hdev->dev.parent->parent to null if hdev->dev.parent->parent is null, usb_dev has invalid address(0xffffffffffffff58) that hid_to_usb_dev(hdev) returned when usb_rcvctrlpipe() use usb_dev,it trigger page fault error for address(0xffffffffffffff58)
add null check logic to ntrig_report_version() before calling hid_to_usb_dev()
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 2.6.37 | 5.4.298 |
| linux / linux_kernel | 5.5 | 5.10.242 |
| linux / linux_kernel | 5.11 | 5.15.191 |
| linux / linux_kernel | 5.16 | 6.1.150 |
| linux / linux_kernel | 6.2 | 6.6.104 |
| linux / linux_kernel | 6.7 | 6.12.45 |
| linux / linux_kernel | 6.13 | 6.16.5 |
| linux / linux_kernel | 6.17-rc1 | 6.17-rc1.x |
| linux / linux_kernel | 6.17-rc2 | 6.17-rc2.x |
| linux / linux_kernel | 6.17-rc3 | 6.17-rc3.x |
| debian / debian_linux | 11.0 | 11.0.x |