PT-2026-36356

CVE-2026-31721

·

Published

2026-05-01

·

Updated

2026-11-06

Description by

CVSS 3.1
5.5
Medium
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description An issue exists in the USB gadget HID function where list and spinlock initializations were performed during the bind process. Specifically, queues registered via poll wait were initialized using init waitqueue head inside the hidg bind() function. This caused the bind function to re-initialize queues while they still contained items, leading to list del corruption within remove wait queue() (via ep remove wait queue) when CONFIG DEBUG LIST was enabled. This occurs during a sequence of setting up and binding an HID gadget, opening /dev/hidg0, using the file descriptor in EPOLL CTL ADD, unbinding and rebinding the UDC, and finally using the file descriptor in EPOLL CTL DEL.
Recommendations Move the initialization of lists and spinlocks from the hidg bind() function to the hidg alloc() function to ensure their lifetimes match the function instance.
Exploitability
Exploit
Fix
Vendors
Affected products
Related identifiers
ECHO-65EB-E483-5F6E
OPENSUSE-SU-2026:21555-1
SUSE-SU-2026:23066-1
SUSE-SU-2026:23068-1
SUSE-SU-2026:23221-1
SUSE-SU-2026:23231-1
SUSE-SU-2026:23237-1
USN-8567-1
USN-8574-1
USN-8574-2
USN-8574-3
USN-8575-1
USN-8575-2
USN-8575-3
USN-8576-1
USN-8576-2
USN-8595-1
USN-8595-2
USN-8595-3
USN-8596-1
USN-8597-1
USN-8606-1
USN-8607-1
USN-8608-1
USN-8609-1
USN-8610-1
USN-8619-1
USN-8620-1
USN-8620-2
USN-8620-3
USN-8620-4
USN-8665-1
USN-8668-1
USN-8668-2
Found an issue in the description? Have something to add? Feel free to write us 👾