CVE-2026-64505
usb: gadget: function: rndis: add length check for header
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.
INFO
Published Date :
July 25, 2026, 10:17 a.m.
Last Modified :
July 25, 2026, 10:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-64505
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update the Linux kernel.
- Apply the RNDIS header length check patch.
- Recompile the kernel.
- Reboot the system.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64505.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64505 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64505
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64505 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64505 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 25, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '200dd5092296ad4d5ae47f8445a2fb1edd1da973', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '9ffd567d7bf269824dfac06f8ab9a32fef72699b', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'b73c0142e3acdc063b50c33afb7be19cdb2cd410', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'd6ef5af7d0fe1ac31e5653a77e6d775dd36bc433', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': 'ba2cc601e59fe68716646199a33303493513e2e3', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '7515a6d4a9e9e4838b833825882efa00e85f8901', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '9facd79028a7807879eb441d12f0e00720980aa3', 'versionType': 'git'}, {'status': 'affected', 'version': '1da177e4c3f41524e886b7f1b8a0c1fc7321cac2', 'lessThan': '21b5bf155435008e0fb0736795289788e63d426f', 'versionType': 'git'}, {'status': 'affected', 'version': '0', 'lessThan': '5.10.261', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '5.15.212', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.1.178', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.6.145', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.12.96', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '6.18.39', 'versionType': 'semver'}, {'status': 'affected', 'version': '0', 'lessThan': '7.1.4', 'versionType': 'semver'}], 'programFiles': ['drivers/usb/gadget/function/rndis.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc3', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/usb/gadget/function/rndis.c'], 'defaultStatus': 'affected'}] 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. Added Reference https://git.kernel.org/stable/c/200dd5092296ad4d5ae47f8445a2fb1edd1da973 Added Reference https://git.kernel.org/stable/c/21b5bf155435008e0fb0736795289788e63d426f Added Reference https://git.kernel.org/stable/c/7515a6d4a9e9e4838b833825882efa00e85f8901 Added Reference https://git.kernel.org/stable/c/9facd79028a7807879eb441d12f0e00720980aa3 Added Reference https://git.kernel.org/stable/c/9ffd567d7bf269824dfac06f8ab9a32fef72699b Added Reference https://git.kernel.org/stable/c/b73c0142e3acdc063b50c33afb7be19cdb2cd410 Added Reference https://git.kernel.org/stable/c/ba2cc601e59fe68716646199a33303493513e2e3 Added Reference https://git.kernel.org/stable/c/d6ef5af7d0fe1ac31e5653a77e6d775dd36bc433