# CVE-2026-64505: usb: gadget: function: rndis: add length check for header

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- 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.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-07-25T08:51:59.618Z
- Modified: 2026-11-12T18:26:52.990Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

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

usb: gadget: function: rndis: add length check for header

Add a length check for the rndis header in rndis_rm_hdr, to ensure that
MessageType, MessageLength, DataOffset, and DataLength fields are
present before they are accessed.

(As written by CVE List.)

## Affected

- Linux Linux: from 6cdee106e7571751ecc0e9f96606322f88b64a8d before 200dd5092296ad4d5ae47f8445a2fb1edd1da973; from 6cdee106e7571751ecc0e9f96606322f88b64a8d before 9ffd567d7bf269824dfac06f8ab9a32fef72699b; from 6cdee106e7571751ecc0e9f96606322f88b64a8d before b73c0142e3acdc063b50c33afb7be19cdb2cd410; from 6cdee106e7571751ecc0e9f96606322f88b64a8d before d6ef5af7d0fe1ac31e5653a77e6d775dd36bc433; from 6cdee106e7571751ecc0e9f96606322f88b64a8d before ba2cc601e59fe68716646199a33303493513e2e3; from 6cdee106e7571751ecc0e9f96606322f88b64a8d before 7515a6d4a9e9e4838b833825882efa00e85f8901; from 6cdee106e7571751ecc0e9f96606322f88b64a8d before 9facd79028a7807879eb441d12f0e00720980aa3; from 6cdee106e7571751ecc0e9f96606322f88b64a8d before 21b5bf155435008e0fb0736795289788e63d426f; 2.6.12 (not affected: before 2.6.12; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 2.6.12.1 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4; 2.6.12; 7.2

## References

- <https://git.kernel.org/stable/c/200dd5092296ad4d5ae47f8445a2fb1edd1da973> (patch)
- <https://git.kernel.org/stable/c/9ffd567d7bf269824dfac06f8ab9a32fef72699b> (patch)
- <https://git.kernel.org/stable/c/b73c0142e3acdc063b50c33afb7be19cdb2cd410> (patch)
- <https://git.kernel.org/stable/c/d6ef5af7d0fe1ac31e5653a77e6d775dd36bc433> (patch)
- <https://git.kernel.org/stable/c/ba2cc601e59fe68716646199a33303493513e2e3> (patch)
- <https://git.kernel.org/stable/c/7515a6d4a9e9e4838b833825882efa00e85f8901> (patch)
- <https://git.kernel.org/stable/c/9facd79028a7807879eb441d12f0e00720980aa3> (patch)
- <https://git.kernel.org/stable/c/21b5bf155435008e0fb0736795289788e63d426f> (patch)

## Sources

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

---

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