Skip to content
Not rated

CVE-2025-39808 HID: hid-ntrig: fix unable to handle page fault in ntrig_report_version()

Description

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()

Affected products and versions

Product Affected versions Fixed in
Linux 6.17 earliest → < 6.17 6.17
Linux 6.16 earliest → < 6.16.5 6.16.5
Linux 6.12 earliest → < 6.12.45 6.12.45
Linux 6.6 earliest → < 6.6.104 6.6.104
Linux 6.1 earliest → < 6.1.150 6.1.150
Linux 5.15 earliest → < 5.15.191 5.15.191
Linux 5.10 earliest → < 5.10.242 5.10.242
Linux 5.4 earliest → < 5.4.298 5.4.298
Linux 2.6.37 No fix stated
Show the other branch
Product Affected versions Fixed in
SIMATIC CN 4100 5.0 earliest → < 5.0 5.0

References

Timeline

  1. Published
  2. Last modified
The 18283 CVEs of Linux →
Track this CVE