CVE-2026-93122
usb: gadget: uac: validate rate list length before storing
Mitigation
- Upgrade Linux to 844d83d5964b87919b958ff48405188c6ddae9cc or later.
Who should check
- Anyone running Linux >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 30b3b3494000aa01fc8f08bf07ed503c9fde4895; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 72888d54bae3677ecd4ba9793b7fd27ba0b27862; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 0c2710a36b41bf8defba83c395b99eb1660e9e9a; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 0203146ad450932c2d3132e367a99c49efe3122d; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 844d83d5964b87919b958ff48405188c6ddae9cc
- Anyone running Linux 5.18
Vulnerability facts
- Affected
- Linux >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 30b3b3494000aa01fc8f08bf07ed503c9fde4895; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 72888d54bae3677ecd4ba9793b7fd27ba0b27862; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 0c2710a36b41bf8defba83c395b99eb1660e9e9a; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 0203146ad450932c2d3132e367a99c49efe3122d; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 844d83d5964b87919b958ff48405188c6ddae9cc; Linux 5.18
- Fixed in
- Linux 30b3b3494000aa01fc8f08bf07ed503c9fde4895, Linux 72888d54bae3677ecd4ba9793b7fd27ba0b27862, Linux 0c2710a36b41bf8defba83c395b99eb1660e9e9a, Linux 0203146ad450932c2d3132e367a99c49efe3122d, Linux 3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb, Linux 844d83d5964b87919b958ff48405188c6ddae9cc
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 30b3b3494000aa01fc8f08bf07ed503c9fde4895; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 72888d54bae3677ecd4ba9793b7fd27ba0b27862; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 0c2710a36b41bf8defba83c395b99eb1660e9e9a; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 0203146ad450932c2d3132e367a99c49efe3122d; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 844d83d5964b87919b958ff48405188c6ddae9cc | — | cvelist |
| Linux | 5.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-93122. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-93122.md Affected: Linux >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 30b3b3494000aa01fc8f08bf07ed503c9fde4895; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 72888d54bae3677ecd4ba9793b7fd27ba0b27862; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 0c2710a36b41bf8defba83c395b99eb1660e9e9a; >= a7339e4f5788bd088bb0be1… Fixed in: Linux 30b3b3494000aa01fc8f08bf07ed503c9fde4895, Linux 72888d54bae3677ecd4ba9793b7fd27ba0b27862, Linux 0c2710a36b41bf8defba83c395b99eb1660e9e9a, Linux 0203146ad450932c2d3132e367a99c49efe3122d, Linux 3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb, Linux 844d83d5964b87919b958ff48405188c6ddae9cc Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/30b3b3494000aa01fc8f08bf07ed503c9fde4895
- https://git.kernel.org/stable/c/72888d54bae3677ecd4ba9793b7fd27ba0b27862
- https://git.kernel.org/stable/c/0c2710a36b41bf8defba83c395b99eb1660e9e9a
- https://git.kernel.org/stable/c/0203146ad450932c2d3132e367a99c49efe3122d
- https://git.kernel.org/stable/c/3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb
- https://git.kernel.org/stable/c/844d83d5964b87919b958ff48405188c6ddae9cc
FAQ
Is CVE-2026-93122 being exploited?
There is no confirmed exploitation: CVE-2026-93122 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-93122?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-93122?
Linux >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 30b3b3494000aa01fc8f08bf07ed503c9fde4895; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 72888d54bae3677ecd4ba9793b7fd27ba0b27862; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 0c2710a36b41bf8defba83c395b99eb1660e9e9a; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 0203146ad450932c2d3132e367a99c49efe3122d; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb; >= a7339e4f5788bd088bb0be1f96a6cce459676ed0, < 844d83d5964b87919b958ff48405188c6ddae9cc; Linux 5.18.
Is there a fix for CVE-2026-93122?
Yes. Fixed in Linux 30b3b3494000aa01fc8f08bf07ed503c9fde4895, Linux 72888d54bae3677ecd4ba9793b7fd27ba0b27862, Linux 0c2710a36b41bf8defba83c395b99eb1660e9e9a, Linux 0203146ad450932c2d3132e367a99c49efe3122d, Linux 3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb, Linux 844d83d5964b87919b958ff48405188c6ddae9cc. Upgrade Linux to 844d83d5964b87919b958ff48405188c6ddae9cc or later.
How do I check if I'm affected by CVE-2026-93122?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.