CVE-2026-31606

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
24/04/2026
Last modified:
29/04/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> usb: gadget: f_hid: don&amp;#39;t call cdev_init while cdev in use<br /> <br /> When calling unbind, then bind again, cdev_init reinitialized the cdev,<br /> even though there may still be references to it. That&amp;#39;s the case when<br /> the /dev/hidg* device is still opened. This obviously unsafe behavior<br /> like oopes.<br /> <br /> This fixes this by using cdev_alloc to put the cdev on the heap. That<br /> way, we can simply allocate a new one in hidg_bind.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.19 (including) 6.12.83 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.18.24 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (including) 6.19.14 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 7.0 (including) 7.0.1 (excluding)