{"id":"CVE-2026-93120","aliases":["CVE-2026-93120"],"related":[],"kind":"vulnerability","state":"published","title":"usb: gadget: configfs: fix out-of-bounds read of qw_sign","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: configfs: fix out-of-bounds read of qw_sign\n\nos_desc_qw_sign_show() passes OS_STRING_QW_SIGN_LEN as the input\nlength to utf16s_to_utf8s(), but that argument counts UTF-16 code\nunits while OS_STRING_QW_SIGN_LEN (14) is the byte size of qw_sign[].\nThe array holds only OS_STRING_QW_SIGN_LEN / 2 (7) code units, so the\nconversion reads up to 7 units (14 bytes) past the end of qw_sign[]\ninto the following members of struct gadget_info when the stored\nsignature fills the array without a NUL terminator, exposing those\nbytes through the configfs attribute.\n\nThe store path halves the count for its input bound but passes the\nfull byte count as the utf8s_to_utf16s() output limit; use the\ndestination code-unit count in both directions.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: configfs: fix out-of-bounds read of qw_sign\n\nos_desc_qw_sign_show() passes OS_STRING_QW_SIGN_LEN as the input\nlength to utf16s_to_utf8s(), but that argument counts UTF-16 code\nunits while OS_STRING_QW_SIGN_LEN (14) is the byte size of qw_sign[].\nThe array holds only OS_STRING_QW_SIGN_LEN / 2 (7) code units, so the\nconversion reads up to 7 units (14 bytes) past the end of qw_sign[]\ninto the following members of struct gadget_info when the stored\nsignature fills the array without a NUL terminator, exposing those\nbytes through the configfs attribute.\n\nThe store path halves the count for its input bound but passes the\nfull byte count as the utf8s_to_utf16s() output limit; use the\ndestination code-unit count in both directions.","source":"cvelist"}],"published":"2026-09-17T16:11:26.548Z","modified":"2026-10-19T10:17:01.980Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"76180d716f91f035d9c8639497cf5459b44e1a51","fixed":"b895dbed8ac9e12a5ffa1a2165575a8469f8340d","status":"affected"},{"type":"git","introduced":"76180d716f91f035d9c8639497cf5459b44e1a51","fixed":"9b45125501aad2dff7730970461b455b0e0658ee","status":"affected"},{"type":"git","introduced":"76180d716f91f035d9c8639497cf5459b44e1a51","fixed":"f6da500b0f8106882598b6dec87fe37d653946cf","status":"affected"},{"type":"git","introduced":"76180d716f91f035d9c8639497cf5459b44e1a51","fixed":"a28c486434634f6d1e120711d2b09f3eddea6c98","status":"affected"},{"type":"git","introduced":"76180d716f91f035d9c8639497cf5459b44e1a51","fixed":"7e94cb967778e074411940db4db97f22ed77560c","status":"affected"},{"type":"git","introduced":"76180d716f91f035d9c8639497cf5459b44e1a51","fixed":"afbf39c0f2297c6abef6d670a82a2079b0836191","status":"affected"},{"type":"git","introduced":"76180d716f91f035d9c8639497cf5459b44e1a51","fixed":"36315a330e067f7773196940552feacb1debbef1","status":"affected"},{"type":"git","introduced":"76180d716f91f035d9c8639497cf5459b44e1a51","fixed":"f63edb54d8f738f9c21e2068c777ae1c097df6b7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.13","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b895dbed8ac9e12a5ffa1a2165575a8469f8340d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b45125501aad2dff7730970461b455b0e0658ee","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f6da500b0f8106882598b6dec87fe37d653946cf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a28c486434634f6d1e120711d2b09f3eddea6c98","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7e94cb967778e074411940db4db97f22ed77560c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/afbf39c0f2297c6abef6d670a82a2079b0836191","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/36315a330e067f7773196940552feacb1debbef1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f63edb54d8f738f9c21e2068c777ae1c097df6b7","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93120","url":"https://www.cve.org/CVERecord?id=CVE-2026-93120","licence":"CVE Terms of Use","modified":"2026-10-19T09:05:53.824Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93120","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93120","licence":"Public domain","modified":"2026-10-19T10:17:01.980Z"}],"updatedAt":"2026-11-25T22:59:39.460Z","epss":{"score":0.00216,"percentile":0.12846,"date":"2026-12-01T12:00:22.000Z"}}