{"cve":"CVE-2026-93122","nvd":{"published":"2026-09-17T17:18:06.917","modified":"2026-10-21T13:21:00.020","status":"Received","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: uac: validate rate list length before storing\n\nUAC1 and UAC2 configfs rate-list attributes parse a comma-separated\nlist of sampling rates and store each parsed value in fixed-size arrays.\nThe arrays have UAC_MAX_RATES entries, but the store paths do not check\nthat the input contains at most that many tokens before writing through\nopts->name##s[i++].\n\nWriting more than ten rates therefore writes past the end of the\np_srates[] or c_srates[] array in struct f_uac1_opts or struct\nf_uac2_opts.\n\nWith CONFIG_UBSAN_BOUNDS enabled, writing an 11-entry rate list to the\nUAC1 p_srate attribute reports:\n\n  UBSAN: array-index-out-of-bounds\n  drivers/usb/gadget/function/f_uac1.c:1669:1\n  index 10 is out of range for type 'int [10]'\n  __ubsan_handle_out_of_bounds.cold\n  f_uac1_opts_p_srate_store\n  configfs_write_iter\n  vfs_write\n  ksys_write\n  do_syscall_64\n\nThe same reproducer against the UAC2 p_srate attribute reports:\n\n  UBSAN: array-index-out-of-bounds\n  drivers/usb/gadget/function/f_uac2.c:2087:1\n  index 10 is out of range for type 'int [10]'\n  __ubsan_handle_out_of_bounds.cold\n  f_uac2_opts_p_srate_store\n  configfs_write_iter\n  vfs_write\n  ksys_write\n  do_syscall_64\n\nReject additional tokens once UAC_MAX_RATES entries have been parsed.\nAlso keep the original kstrdup() pointer for kfree(), because strsep()\nadvances the parsing cursor. Freeing the advanced cursor leaks the\noriginal buffer on successful parses and can free an interior pointer on\nsome error paths.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":[],"references":["https://git.kernel.org/stable/c/0203146ad450932c2d3132e367a99c49efe3122d","https://git.kernel.org/stable/c/0c2710a36b41bf8defba83c395b99eb1660e9e9a","https://git.kernel.org/stable/c/3819c6f255a37c4d085ce9f264f9f11bf3c2c6bb","https://git.kernel.org/stable/c/72888d54bae3677ecd4ba9793b7fd27ba0b27862","https://git.kernel.org/stable/c/844d83d5964b87919b958ff48405188c6ddae9cc"],"products":[],"source":"nvd","synced_at":"2026-10-22T16:41:11.231219466+00:00"},"epss":{"cve":"CVE-2026-93122","score":0.00175,"percentile":0.0695,"date":"2026-10-25"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}