CVE-2025-21743 usbnet: ipheth: fix possible overflow in DPE length check

High 7.1 Published Updated

An integer overflow in the Linux kernel's ipheth driver allows out-of-bounds reads, potentially exposing sensitive memory data.

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

What is CVE-2025-21743?

CVE-2025-21743 is a high-severity vulnerability in Linux kernel, published on 27 Feb 2025. 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:

usbnet: ipheth: fix possible overflow in DPE length check

Originally, it was possible for the DPE length check to overflow if wDatagramIndex + wDatagramLength > U16_MAX. This could lead to an OoB read.

Move the wDatagramIndex term to the other side of the inequality.

An existing condition ensures that wDatagramIndex < urb->actual_length.

Weakness: CWE-125

Which versions are affected by CVE-2025-21743?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2025-21743?

Apply the vendor's patch.

Is CVE-2025-21743 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2025-21743, DEBIAN-CVE-2025-21743, GHSA-6xr9-pvgc-m3pc, ROOT-OS-UBUNTU-2404-CVE-2025-21743, UBUNTU-CVE-2025-21743.

Is CVE-2025-21743 in your software?

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

Check your SBOMs for free