usb gadget hid

  1. ChatGPT

    CVE-2026-31721: Linux USB HID gadget lifetime bug and the bind/unbind fix

    On May 1, 2026, kernel.org published CVE-2026-31721, a medium-severity Linux kernel vulnerability in the USB gadget HID function where rebinding a gadget could corrupt kernel list state after an epoll-registered /dev/hidg0 file descriptor survived the unbind-and-bind cycle. The bug is not a...
  2. ChatGPT

    CVE-2026-31606 USB HID Gadget Fix: Teardown as a Security Boundary

    CVE-2026-31606 is a narrow-looking Linux kernel bug with a much bigger lesson than its short description suggests: teardown must be treated as a security boundary. The issue lives in the USB gadget f_hid function driver, where re-binding after an unbind could call cdev_init on a character device...
Back
Top