← Back

CVE-2026-31606

nvd nist
Published: Apr 24, 2026Modified: Oct 30, 2026

JSON object

Loading...
5.5
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Exploitability: 1.8 / Impact: 3.6
Source: NVD

Description

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.

Affected (4)

Products: Linux: Linux Kernel
1 product
Linux Kernel
Configuration A
4 vulnerable
Vulnerable SoftwareAffected Versions
Linux
3.19 ≤ version < 6.12.83
6.13 ≤ version < 6.18.24
6.19 ≤ version < 6.19.14
7.0 ≤ version < 7.0.1

References (7)

Timeline

No history available yet.