CVE-2026-93122usb: gadget: uac: validate rate list length before storing
- 7.8HighCVSS base score
- 0.18%Exploitation in 30 daysEPSS · top 93% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: uac: validate rate list length before storing UAC1 and UAC2 configfs rate-list attributes parse a comma-separated list of sampling rates and store each parsed value in fixed-size arrays. The arrays have UAC_MAX_RATES entries, but the store paths do not check that the input contains at most that many tokens before writing through opts->name##s[i++]. Writing more than ten rates therefore writes past the end of the p_srates[] or c_srates[] array in struct f_uac1_opts or struct f_uac2_opts. With CONFIG_UBSAN_BOUNDS enabled, writing an 11-entry rate list to the UAC1 p_srate attribute reports: UBSAN: array-index-out-of-bounds drivers/usb/gadget/function/f_uac1.c:1669:1 index 10 is out of range for type 'int [10]' __ubsan_handle_out_of_bounds.cold f_uac1_opts_p_srate_store configfs_write_iter vfs_write ksys_write do_syscall_64 The same reproducer against the UAC2 p_srate attribute reports: UBSAN: array-index-out-of-bounds drivers/usb/gadget/function/f_uac2.c:2087:1 index 10 is out of range for type 'int [10]' __ubsan_handle_out_of_bounds.cold f_uac2_opts_p_srate_store configfs_write_iter vfs_write ksys_write do_syscall_64 Reject additional tokens once UAC_MAX_RATES entries have been parsed. Also keep the original kstrdup() pointer for kfree(), because strsep() advances the parsing cursor. Freeing the advanced cursor leaks the original buffer on successful parses and can free an interior pointer on some error paths.
Timeline
ID reserved
By Linux
Published
- 43 days later
· 43 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Received | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.18% · top 93% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected a7339e4f5788bd088bb0be1f96a6cce459676ed0 – < 30b3b3494000aa01fc8f08bf07ed503c9fde4895
- affected a7339e4f5788bd088bb0be1f96a6cce459676ed0 – < 72888d54bae3677ecd4ba9793b7fd27ba0b27862
- affected a7339e4f5788bd088bb0be1f96a6cce459676ed0 – < 0c2710a36b41bf8defba83c395b99eb1660e9e9a
- affected a7339e4f5788bd088bb0be1f96a6cce459676ed0 – < 0203146ad450932c2d3132e367a99c49efe3122d
- affected a7339e4f5788bd088bb0be1f96a6cce459676ed0 – < 3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb
- affected a7339e4f5788bd088bb0be1f96a6cce459676ed0 – < 844d83d5964b87919b958ff48405188c6ddae9cc
- affected 5.18
- unaffected < 5.18
- unaffected 6.1.191 – ≤ 6.1.*
- unaffected 6.6.160 – ≤ 6.6.*
- unaffected 6.12.114 – ≤ 6.12.*
- unaffected 6.18.57 – ≤ 6.18.*
- unaffected 7.2.6 – ≤ 7.2.*
- unaffected 7.3 – ≤ *
References
References6
- https://git.kernel.org/stable/c/30b3b3494000aa01fc8f08bf07ed503c9fde4895 (opens in a new tab)
- https://git.kernel.org/stable/c/72888d54bae3677ecd4ba9793b7fd27ba0b27862 (opens in a new tab)
- https://git.kernel.org/stable/c/0c2710a36b41bf8defba83c395b99eb1660e9e9a (opens in a new tab)
- https://git.kernel.org/stable/c/0203146ad450932c2d3132e367a99c49efe3122d (opens in a new tab)
- https://git.kernel.org/stable/c/3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb (opens in a new tab)
- https://git.kernel.org/stable/c/844d83d5964b87919b958ff48405188c6ddae9cc (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-82230 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-93122)Record last updated .