Skip to main content
Network Thinking Solutions Logo

CVE-2026-31606

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

All CVEs
CVE-2026-31606Published 4/24/2026

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

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
4/24/2026
Last modified
11/11/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.19, < 6.12.83

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.18.24

Verify advisory

Source
linux kernel
linux
≥ 6.19, < 6.19.14

Verify advisory

Source
linux kernel
linux
≥ 7.0, < 7.0.1

Verify advisory

Source
Linux
Linux
≥ cb382536052fcc7713988869b54a81137069e5a9, < 92f23ab86d9524bc51dae25ed916d0e69dce5992

Verify advisory

Source
Linux
Linux
≥ cb382536052fcc7713988869b54a81137069e5a9, < 3aa77f5da0ecb00895411f4246d8a3e4db0343c2

Verify advisory

Source
Linux
Linux
≥ cb382536052fcc7713988869b54a81137069e5a9, < c6c0d13db5d0f8d465eabc14bd23d2b6a7247a43

Verify advisory

Source
Linux
Linux
≥ cb382536052fcc7713988869b54a81137069e5a9, < eb6ef6185f2054a341ec70d7e2165f5381744215

Verify advisory

Source
Linux
Linux
≥ cb382536052fcc7713988869b54a81137069e5a9, < 5a229016ca3ac551294ec59770be9da94ec4bf63

Verify advisory

Source
Linux
Linux
≥ cb382536052fcc7713988869b54a81137069e5a9, < 75ecc46828ec377dd5692c677168ef6d64fd7123

Verify advisory

Source
Linux
Linux
≥ cb382536052fcc7713988869b54a81137069e5a9, < 81ebd43cc0d6d106ce7b6ccbf7b5e40ca7f5503d

Verify advisory

Source
Linux
Linux
3.19

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.