CVE-2026-31721
kernel: usb: gadget: f_hid: move list and spinlock inits from bind to alloc
Loading…
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · May 1, 2026
Updated · June 28, 2026
Description
A flaw was found in the Linux kernel's USB Human Interface Device (HID) gadget driver (f_hid). When a USB gadget is unbound and then rebound while file descriptors are still actively using its wait queues, the driver can re-initialize these queues while they still contain items. This can lead to list corruption, potentially causing system instability or a denial of service.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE-821 · Incorrect Synchronization