Back to CVE records
Medium 5.5Published Apr 24, 2026

CVE-2026-31606usb: gadget: f_hid: don't call cdev_init while cdev in use

Updated under an hour ago ()

Does this affect you?

It affects Linux and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
5.5 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
Not given
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Linux
NVD analysis
Modified
Record last updated
Oct 21, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Linux Linux
linux:linux (from the name)
from cb382536052fcc7713988869b54a81137069e5a9 before 3aa77f5da0ecb00895411f4246d8a3e4db0343c2; from cb382536052fcc7713988869b54a81137069e5a9 before c6c0d13db5d0f8d465eabc14bd23d2b6a7247a43; from cb382536052fcc7713988869b54a81137069e5a9 before eb6ef6185f2054a341ec70d7e2165f5381744215; from cb382536052fcc7713988869b54a81137069e5a9 before 5a229016ca3ac551294ec59770be9da94ec4bf63; from cb382536052fcc7713988869b54a81137069e5a9 before 75ecc46828ec377dd5692c677168ef6d64fd7123; from cb382536052fcc7713988869b54a81137069e5a9 before 81ebd43cc0d6d106ce7b6ccbf7b5e40ca7f5503d
CNA record
linux linux_kernel
linux:linux_kernel
from 3.19 before 6.12.83; from 6.13 before 6.18.24; from 6.19 before 6.19.14; from 7.0 before 7.0.1
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.