CVE-2026-64505Published Jul 25, 2026 · Jul 25Updated 5d ago
usb: gadget: function: rndis: add length check for header
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6cdee106e7571751ecc0e9f96606322f88b64a8d · < 7515a6d4a9e9e4838b833825882efa00e85f8901| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's USB RNDIS gadget function did not check that a header was long enough before accessing its fields. This can cause an out-of-bounds read; the input does not specify how an attacker could reach the flaw or whether authentication or user interaction is required.
Engineers running Linux kernels with the USB RNDIS gadget function should check their versions; affected versions are not specified.