CVE-2025-21743

usbnet: ipheth: fix possible overflow in DPE length check

State
Published
Severity
7.1 High
Published
Feb 27, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • a2d274c62e44b1995c170595db3865c6fe701226 to before 18bf6f5cce3172cb303c3f0551aa9443d5ed74f8Affected
  • a2d274c62e44b1995c170595db3865c6fe701226 to before d677e7dd59ad6837496f5a02d8e5d39824278dfdAffected
  • a2d274c62e44b1995c170595db3865c6fe701226 to before d824a964185910e317287f034c0a439c08b4fe49Affected
  • a2d274c62e44b1995c170595db3865c6fe701226 to before c219427ed296f94bb4b91d08626776dc7719ee27Affected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 6.6.78 through 6.6.*Not affected
  • 6.12.14 through 6.12.*Not affected
  • 6.13.3 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.