CVE-2026-31606
MediumIn 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 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
3.19
and later are affected. Fixed in
6.12.83,
6.18.24,
6.19.14,
7.0.1,
7.1-rc1
and their respective stable series.
References
The following references provide additional information about CVE-2026-31606 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5a229016ca3ac551294ec59770be9da94ec4bf63
-
PatchKernel patch commithttps://git.kernel.org/stable/c/75ecc46828ec377dd5692c677168ef6d64fd7123
-
PatchKernel patch commithttps://git.kernel.org/stable/c/81ebd43cc0d6d106ce7b6ccbf7b5e40ca7f5503d
Frequently asked questions
-
What is CVE-2026-31606?
CVE-2026-31606 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 3.19 onward and has been patched in 6.12.83, 6.18.24, 6.19.14 and others. CVE-2026-31606 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-31606?
CVE-2026-31606 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2026-31606?
Yes — CVE-2026-31606 has been patched. Fixed versions include 6.12.83, 6.18.24, 6.19.14 and others. If you are running Linux kernel 3.19 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-31606 actively exploited?
No — CVE-2026-31606 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.