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

Not scored Published Updated

A missing length check in the Linux kernel RNDIS driver allows attackers to cause a denial of service via malformed USB headers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-64505?

CVE-2026-64505 is a denial of service vulnerability in Linux, published on 25 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2026-64505?

How do I fix CVE-2026-64505?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-64505 being exploited?

There is no known exploitation of CVE-2026-64505 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-64505, DEBIAN-CVE-2026-64505, GHSA-qg2c-f29c-cqr6, ROOT-OS-UBUNTU-2204-CVE-2026-64505, UBUNTU-CVE-2026-64505.

Is CVE-2026-64505 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free