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

- Severity: High 7.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-02-27T02:12:16.696Z
- Modified: 2026-06-17T08:44:10.293Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from a2d274c62e44b1995c170595db3865c6fe701226 before 18bf6f5cce3172cb303c3f0551aa9443d5ed74f8; from a2d274c62e44b1995c170595db3865c6fe701226 before d677e7dd59ad6837496f5a02d8e5d39824278dfd; from a2d274c62e44b1995c170595db3865c6fe701226 before d824a964185910e317287f034c0a439c08b4fe49; from a2d274c62e44b1995c170595db3865c6fe701226 before c219427ed296f94bb4b91d08626776dc7719ee27; 6.5 (not affected: before 6.5; from 6.6.78 up to 6.6.*; from 6.12.14 up to 6.12.*; from 6.13.3 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.5 before 6.6.78; from 6.7 before 6.12.14; from 6.13 before 6.13.3

## Every score

- CISA-ADP: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/18bf6f5cce3172cb303c3f0551aa9443d5ed74f8> (patch)
- <https://git.kernel.org/stable/c/d677e7dd59ad6837496f5a02d8e5d39824278dfd> (patch)
- <https://git.kernel.org/stable/c/d824a964185910e317287f034c0a439c08b4fe49> (patch)
- <https://git.kernel.org/stable/c/c219427ed296f94bb4b91d08626776dc7719ee27> (patch)

## Sources

- CVE List: [CVE-2025-21743](https://www.cve.org/CVERecord?id=CVE-2025-21743), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-21743](https://nvd.nist.gov/vuln/detail/CVE-2025-21743), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21743 · Whole record: https://cve.day/CVE-2025-21743.json · Rebuilt by cve.day 2026-11-25T22:58:54.521Z
