CVE-2026-31721: usb: gadget: f_hid: move list and spinlock inits from bind to alloc
Noroxi assessment
Priority: Monitor (action score 22/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.12% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 13440c0db227c5db01da751ed966dde4cdd2ea18, 26a879a41ed960b3fb4ec773ef2788c515c0e488, 4e0a88254ad59f6c53a34bf5fa241884ec09e8b2; azl3 kernel 6.6.134.1-2 on Azure Linux 3.0 6.6.137.1-2.
Low priority for now. Upgrade to Linux Linux 13440c0db227c5db01da751ed966dde4cdd2ea18, 26a879a41ed960b3fb4ec773ef2788c515c0e488, 4e0a88254ad59f6c53a34bf5fa241884ec09e8b2; azl3 kernel 6.6.134.1-2 on Azure Linux 3.0 6.6.137.1-2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_hid: move list and spinlock inits from bind to alloc There was an issue when you did the following: - setup and bind an hid gadget - open /dev/hidg0 - use the resulting fd in EPOLL_CTL_ADD - unbind the UDC - bind the UDC - use the fd in EPOLL_CTL_DEL When CONFIG_DEBUG_LIST was enabled, a list_del corruption was reported within remove_wait_queue (via ep_remove_wait_queue). After some debugging I found out that the queues, which f_hid registers via poll_wait were the problem. These were initialized using init_waitqueue_head inside hidg_bind. So effectively, the bind function re-initialized the queues while there were still items in them. The solution is to move the initialization from hidg_bind to hidg_alloc to extend their lifetimes to the lifetime of the function instance. Additionally, I found many other possibly problematic init calls in the bind function, which I moved as well.
- Published
- May 1, 2026
- Updated
- Nov 11, 2026
- EPSS
- 0.1% · 2th percentile
- CWE
- —
Report tools
Action score
22
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 3.19affected
- cb382536052fcc7713988869b54a81137069e5a9 and later · before 13440c0db227c5db01da751ed966dde4cdd2ea18affected · git
- cb382536052fcc7713988869b54a81137069e5a9 and later · before de93e0862169b5539e00c2b9980b93fd80c37c0daffected · git
- cb382536052fcc7713988869b54a81137069e5a9 and later · before 81aee4500055876883658b024b6fb61801afe134affected · git
- cb382536052fcc7713988869b54a81137069e5a9 and later · before 8ec6a58586f195a88479edcdb0b8027c39f12d03affected · git
- cb382536052fcc7713988869b54a81137069e5a9 and later · before f7d00ee1c8082c8a134340aaf16d71a27e29c362affected · git
- cb382536052fcc7713988869b54a81137069e5a9 and later · before 5d1bb391ceeebb28327703dd07af8c6324af298faffected · git
- cb382536052fcc7713988869b54a81137069e5a9 and later · before 26a879a41ed960b3fb4ec773ef2788c515c0e488affected · git
- cb382536052fcc7713988869b54a81137069e5a9 and later · before 4e0a88254ad59f6c53a34bf5fa241884ec09e8b2affected · git
- before 3.19not affected · semver
Affected versions · NVD (8)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel3.19 and later · before 5.10.253
- linux linux kernel5.11 and later · before 5.15.203
- linux linux kernel5.16 and later · before 6.1.169
- linux linux kernel6.2 and later · before 6.6.135
- linux linux kernel6.7 and later · before 6.12.81
- linux linux kernel6.13 and later · before 6.18.22
- linux linux kernel6.19 and later · before 6.19.12
- linux linux kernel7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.170-1 | 6.1.170-1 |
| Debian:13 | linux | before 6.12.85-1 | 6.12.85-1 |
| Debian:14 | linux | before 6.19.12-1 | 6.19.12-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2026-31719May 1, 2026 · crypto: krb5enc - fix async decrypt skipping hash verification30Monitor
- ← EarlierCVE-2026-31720May 1, 2026 · usb: gadget: f_uac1_legacy: validate control request size31Monitor
- Later →CVE-2026-31722May 1, 2026 · usb: gadget: f_rndis: Fix net_device lifecycle with device_move22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 13440c0db227c5db01da751ed966dde4cdd2ea18 | Vendor (CNA) |
| Linux Linux | 26a879a41ed960b3fb4ec773ef2788c515c0e488 | Vendor (CNA) |
| Linux Linux | 4e0a88254ad59f6c53a34bf5fa241884ec09e8b2 | Vendor (CNA) |
| Linux Linux | 5d1bb391ceeebb28327703dd07af8c6324af298f | Vendor (CNA) |
| Linux Linux | 81aee4500055876883658b024b6fb61801afe134 | Vendor (CNA) |
| Linux Linux | 8ec6a58586f195a88479edcdb0b8027c39f12d03 | Vendor (CNA) |
| Linux Linux | de93e0862169b5539e00c2b9980b93fd80c37c0d | Vendor (CNA) |
| Linux Linux | f7d00ee1c8082c8a134340aaf16d71a27e29c362 | Vendor (CNA) |
| azl3 kernel 6.6.134.1-2 on Azure Linux 3.0 | 6.6.137.1-2 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:linux | 6.1.170-1 · Debian:12 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:0 | 2026-08-26 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+116 d
- TodayNov 16, 2026+199 d
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- git.kernel.org/stable/c/26a879a41ed960b3fb4ec773ef2788c515c0e488
- git.kernel.org/stable/c/4e0a88254ad59f6c53a34bf5fa241884ec09e8b2
- git.kernel.org/stable/c/5d1bb391ceeebb28327703dd07af8c6324af298f
- git.kernel.org/stable/c/81aee4500055876883658b024b6fb61801afe134
- git.kernel.org/stable/c/8ec6a58586f195a88479edcdb0b8027c39f12d03
- git.kernel.org/stable/c/de93e0862169b5539e00c2b9980b93fd80c37c0d
- git.kernel.org/stable/c/f7d00ee1c8082c8a134340aaf16d71a27e29c362
Vendor advisories and official records. Exploit/PoC links are deliberately left out.