CVE record · CVE-2026-31606

usb: gadget: f_hid: don't call cdev_init while cdev in use

No CVSS scoreEPSS 0.0016 · 4th percentile

Published by the CVE Program (CNA: Linux) at 24 Apr 2026, 14:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
Linux Linux
  • affected cb382536052fcc7713988869b54a81137069e5a9 to before 92f23ab86d9524bc51dae25ed916d0e69dce5992 git
  • affected cb382536052fcc7713988869b54a81137069e5a9 to before 3aa77f5da0ecb00895411f4246d8a3e4db0343c2 git
  • affected cb382536052fcc7713988869b54a81137069e5a9 to before c6c0d13db5d0f8d465eabc14bd23d2b6a7247a43 git
  • affected cb382536052fcc7713988869b54a81137069e5a9 to before eb6ef6185f2054a341ec70d7e2165f5381744215 git
  • affected cb382536052fcc7713988869b54a81137069e5a9 to before 5a229016ca3ac551294ec59770be9da94ec4bf63 git
  • affected cb382536052fcc7713988869b54a81137069e5a9 to before 75ecc46828ec377dd5692c677168ef6d64fd7123 git
  • affected cb382536052fcc7713988869b54a81137069e5a9 to before 81ebd43cc0d6d106ce7b6ccbf7b5e40ca7f5503d git
Other versions: unaffected
Linux Linux
  • affected 3.19
  • unaffected before 3.19 semver
  • unaffected 6.1.191 to 6.1.*, inclusive semver
  • unaffected 6.6.160 to 6.6.*, inclusive semver
  • unaffected 6.12.83 to 6.12.*, inclusive semver
  • unaffected 6.18.24 to 6.18.*, inclusive semver
  • unaffected 6.19.14 to 6.19.*, inclusive semver
  • unaffected 7.0.1 to 7.0.*, inclusive semver
  • unaffected 7.1 to *, inclusive original_commit_for_fix
Other versions: affected
Identifiers
CVE-2026-31606
CNA
Linux
Published
24 Apr 2026
Updated
30 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The Linux kernel USB gadget HID function (f_hid) is affected from a 2014-era commit until fixes in several stable branches, with affected versions listed as 3.19 and later before the fixed releases. Unbinding and rebinding the gadget while a /dev/hidg* device is still open reinitializes a character device that still has references, which can cause a crash. The source gives few details about who can trigger this or what else an attacker could do. Upgrade to a fixed kernel version from the stable branch that matches your release, such as 6.1.191, 6.6.160, 6.12.83, or 6.18.24 or later.

Written 12 Nov 2026.

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

No source has published a CVSS score for this record yet.

  • CISA KEV Not listed.
  • EPSS 0.0016, the 4th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 24 Apr 2026, 15:16 UTC Confirmed by NVD

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.