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.
[
{
"id": "CVE-2025-21743-10bd0a4c",
"target": {
"file": "drivers/net/usb/ipheth.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"301389355470214459195284982672297822197",
"298133520944151931187362571388482250461",
"76572484340202498387509851637566467690",
"200068095066672702538505363669776667897",
"68481034466493860657717357708890409776"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@18bf6f5cce3172cb303c3f0551aa9443d5ed74f8",
"signature_version": "v1"
},
{
"id": "CVE-2025-21743-130a4825",
"target": {
"file": "drivers/net/usb/ipheth.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"301389355470214459195284982672297822197",
"298133520944151931187362571388482250461",
"76572484340202498387509851637566467690",
"200068095066672702538505363669776667897",
"68481034466493860657717357708890409776"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d824a964185910e317287f034c0a439c08b4fe49",
"signature_version": "v1"
},
{
"id": "CVE-2025-21743-23cdc320",
"target": {
"file": "drivers/net/usb/ipheth.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"301389355470214459195284982672297822197",
"298133520944151931187362571388482250461",
"76572484340202498387509851637566467690",
"200068095066672702538505363669776667897",
"68481034466493860657717357708890409776"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d677e7dd59ad6837496f5a02d8e5d39824278dfd",
"signature_version": "v1"
},
{
"id": "CVE-2025-21743-2cad0d18",
"target": {
"file": "drivers/net/usb/ipheth.c",
"function": "ipheth_rcvbulk_callback_ncm"
},
"digest": {
"length": 1332.0,
"function_hash": "148062528337805178021070550724045519131"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@18bf6f5cce3172cb303c3f0551aa9443d5ed74f8",
"signature_version": "v1"
},
{
"id": "CVE-2025-21743-e363f585",
"target": {
"file": "drivers/net/usb/ipheth.c",
"function": "ipheth_rcvbulk_callback_ncm"
},
"digest": {
"length": 1332.0,
"function_hash": "148062528337805178021070550724045519131"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d677e7dd59ad6837496f5a02d8e5d39824278dfd",
"signature_version": "v1"
},
{
"id": "CVE-2025-21743-e690c86b",
"target": {
"file": "drivers/net/usb/ipheth.c",
"function": "ipheth_rcvbulk_callback_ncm"
},
"digest": {
"length": 1332.0,
"function_hash": "148062528337805178021070550724045519131"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d824a964185910e317287f034c0a439c08b4fe49",
"signature_version": "v1"
}
]