Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-31606
VULNERABILITY

CVE-2026-31606

Common Vulnerabilities and Exposures record

MEDIUM

Summary

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

Risk

CVSS
5.5
Severity
MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Timeline

Published
Apr 24, 2026 15:16
Modified
Nov 11, 2026 23:10
Last observed
Nov 11, 2026 19:00

Affected product identifiers

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

References