# CVE-2026-93120: usb: gadget: configfs: fix out-of-bounds read of qw_sign

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-17T16:11:26.548Z
- Modified: 2026-10-19T10:17:01.980Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: configfs: fix out-of-bounds read of qw_sign

os_desc_qw_sign_show() passes OS_STRING_QW_SIGN_LEN as the input
length to utf16s_to_utf8s(), but that argument counts UTF-16 code
units while OS_STRING_QW_SIGN_LEN (14) is the byte size of qw_sign[].
The array holds only OS_STRING_QW_SIGN_LEN / 2 (7) code units, so the
conversion reads up to 7 units (14 bytes) past the end of qw_sign[]
into the following members of struct gadget_info when the stored
signature fills the array without a NUL terminator, exposing those
bytes through the configfs attribute.

The store path halves the count for its input bound but passes the
full byte count as the utf8s_to_utf16s() output limit; use the
destination code-unit count in both directions.

(As written by CVE List.)

## Affected

- Linux Linux: from 76180d716f91f035d9c8639497cf5459b44e1a51 before b895dbed8ac9e12a5ffa1a2165575a8469f8340d; from 76180d716f91f035d9c8639497cf5459b44e1a51 before 9b45125501aad2dff7730970461b455b0e0658ee; from 76180d716f91f035d9c8639497cf5459b44e1a51 before f6da500b0f8106882598b6dec87fe37d653946cf; from 76180d716f91f035d9c8639497cf5459b44e1a51 before a28c486434634f6d1e120711d2b09f3eddea6c98; from 76180d716f91f035d9c8639497cf5459b44e1a51 before 7e94cb967778e074411940db4db97f22ed77560c; from 76180d716f91f035d9c8639497cf5459b44e1a51 before afbf39c0f2297c6abef6d670a82a2079b0836191; from 76180d716f91f035d9c8639497cf5459b44e1a51 before 36315a330e067f7773196940552feacb1debbef1; from 76180d716f91f035d9c8639497cf5459b44e1a51 before f63edb54d8f738f9c21e2068c777ae1c097df6b7; 4.13 (not affected: before 4.13; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/b895dbed8ac9e12a5ffa1a2165575a8469f8340d>
- <https://git.kernel.org/stable/c/9b45125501aad2dff7730970461b455b0e0658ee>
- <https://git.kernel.org/stable/c/f6da500b0f8106882598b6dec87fe37d653946cf>
- <https://git.kernel.org/stable/c/a28c486434634f6d1e120711d2b09f3eddea6c98>
- <https://git.kernel.org/stable/c/7e94cb967778e074411940db4db97f22ed77560c>
- <https://git.kernel.org/stable/c/afbf39c0f2297c6abef6d670a82a2079b0836191>
- <https://git.kernel.org/stable/c/36315a330e067f7773196940552feacb1debbef1>
- <https://git.kernel.org/stable/c/f63edb54d8f738f9c21e2068c777ae1c097df6b7>

## Sources

- CVE List: [CVE-2026-93120](https://www.cve.org/CVERecord?id=CVE-2026-93120), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-93120](https://nvd.nist.gov/vuln/detail/CVE-2026-93120), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-93120 · Whole record: https://cve.day/CVE-2026-93120.json · Rebuilt by cve.day 2026-11-25T22:59:39.460Z
