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.
Published: 2026-07-25
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The RNDIS gadget in the Linux kernel parses incoming packets using the rndis_rm_hdr function. In versions before the recent patch, no bounds check is performed before accessing the MessageType, MessageLength, DataOffset, and DataLength fields. An attacker can send a packet that is too short, causing the kernel to read memory beyond the supplied buffer. This out‑of‑bounds read is a classic CWE‑125 weakness that may expose kernel data or lead to a crash, compromising confidentiality, integrity, or availability of the affected system.

Affected Systems

All Linux kernel releases that contain the unpatched RNDIS gadget code are affected. Because the CVE definition does not provide explicit version ranges, any kernel that includes the old rndis_rm_hdr routine should be considered vulnerable until the added bounds check is applied.

Risk and Exploitability

The EPSS score of less than 1 % indicates a very low likelihood of exploitation at present, and the vulnerability is not listed in CISA’s KEV catalog. Attackers would need physical or local USB access to a device exposing the RNDIS gadget interface. No public exploits are known, but the out‑of‑bounds read could still be leveraged to leak sensitive information or destabilize the kernel if an attacker can supply a crafted packet.

Generated by OpenCVE AI on August 5, 2026 at 00:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that includes the added length check for the rndis_rm_hdr routine.
  • If an immediate kernel upgrade is not feasible, disable the RNDIS gadget or the entire USB gadget subsystem to eliminate the vulnerable code path.
  • Monitor kernel logs for signs of memory read anomalies and audit USB traffic for suspicious packets that may indicate an attempted exploitation.

Generated by OpenCVE AI on August 5, 2026 at 00:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Mon, 03 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Thu, 30 Jul 2026 00:15:00 +0000


Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
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.
Title usb: gadget: function: rndis: add length check for header
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-27T04:37:44.365Z

Reserved: 2026-07-19T15:36:31.793Z

Link: CVE-2026-64505

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-07-25T10:17:36.583

Modified: 2026-07-27T05:16:55.357

Link: CVE-2026-64505

cve-icon Redhat

Severity :

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64505 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T00:30:05Z

Weaknesses