CVE-2025-21743

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

05 Mar 2025, 18:47

Type Values Removed Values Added
CWE CWE-125
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usbnet: ipheth: corrige posible desbordamiento en la comprobación de longitud de DPE Originalmente, era posible que la comprobación de longitud de DPE se desbordara si wDatagramIndex + wDatagramLength &gt; U16_MAX. Esto podría provocar una lectura OoB. Mueva el término wDatagramIndex al otro lado de la desigualdad. Una condición existente asegura que wDatagramIndex &lt; urb-&gt;actual_length.
References () https://git.kernel.org/stable/c/18bf6f5cce3172cb303c3f0551aa9443d5ed74f8 - () https://git.kernel.org/stable/c/18bf6f5cce3172cb303c3f0551aa9443d5ed74f8 - Patch
References () https://git.kernel.org/stable/c/c219427ed296f94bb4b91d08626776dc7719ee27 - () https://git.kernel.org/stable/c/c219427ed296f94bb4b91d08626776dc7719ee27 - Patch
References () https://git.kernel.org/stable/c/d677e7dd59ad6837496f5a02d8e5d39824278dfd - () https://git.kernel.org/stable/c/d677e7dd59ad6837496f5a02d8e5d39824278dfd - Patch
References () https://git.kernel.org/stable/c/d824a964185910e317287f034c0a439c08b4fe49 - () https://git.kernel.org/stable/c/d824a964185910e317287f034c0a439c08b4fe49 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

27 Feb 2025, 03:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-27 03:15

Updated : 2025-03-05 18:47


NVD link : CVE-2025-21743

Mitre link : CVE-2025-21743

CVE.ORG link : CVE-2025-21743


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read