7.1high
usbnet: ipheth: use static NDP16 location in URB
- Severity
- 7.1high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: usbnet: ipheth: use static NDP16 location in URB Original code allowed for the start of NDP16 to be anywhere within the URB based on the `wNdpIndex` value in NTH16. Only the start position of NDP16 was checked, so it was possible for even the fixed-length part of NDP16 to extend past the end of URB, leading to an out-of-bounds read. On iOS devices, the NDP16 header always directly follows NTH16. Rely on and check for this specific format. This, along with NCM-specific minimal URB length check that already exists, will ensure that the fixed-length part of NDP16 plus a set amount of DPEs fit within the URB. Note that this commit alone does not fully address the OoB read. The limit on the amount of DPEs needs to be enforced separately.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from a2d274c62e44b1995c170595db3865c6fe701226 before 8fb062178e1ce180e2cfdc9abc83a1b9fea381ca, from a2d274c62e44b1995c170595db3865c6fe701226 before cf1ac7f7cf601ac31d1580559c002b5e37b733b7, from a2d274c62e44b1995c170595db3865c6fe701226 before 2b619445dcb6dab97d8ed033fb57225aca1288c4, from a2d274c62e44b1995c170595db3865c6fe701226 before 86586dcb75cb8fd062a518aca8ee667938b91efb, 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 * | CVE List |
| linux linux_kernel | from 6.5 before 6.6.78, from 6.7 before 6.12.14, from 6.13 before 6.13.3 | NVD |
All scores
| CISA-ADP | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: usbnet: ipheth: use static NDP16 location in URB Original code allowed for the start of NDP16 to be anywhere within the URB based on the `wNdpIndex` value in NTH16. Only the start position of NDP16 was checked, so it was possible for even the fixed-length part of NDP16 to extend past the end of URB, leading to an out-of-bounds read. On iOS devices, the NDP16 header always directly follows NTH16. Rely on and check for this specific format. This, along with NCM-specific minimal URB length check that already exists, will ensure that the fixed-length part of NDP16 plus a set amount of DPEs fit within the URB. Note that this commit alone does not fully address the OoB read. The limit on the amount of DPEs needs to be enforced separately.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usbnet: ipheth: usar ubicación estática de NDP16 en URB El código original permitía que el inicio de NDP16 estuviera en cualquier lugar dentro de URB según el valor `wNdpIndex` en NTH16. Solo se comprobó la posición de inicio de NDP16, por lo que era posible que incluso la parte de longitud fija de NDP16 se extendiera más allá del final de URB, lo que generaba una lectura fuera de los límites. En los dispositivos iOS, el encabezado NDP16 siempre sigue directamente a NTH16. Confíe en este formato específico y compruébelo. Esto, junto con la comprobación de longitud mínima de URB específica de NCM que ya existe, garantizará que la parte de longitud fija de NDP16 más una cantidad establecida de DPE quepan dentro de URB. Tenga en cuenta que esta confirmación por sí sola no aborda por completo la lectura OoB. El límite en la cantidad de DPE debe aplicarse por separado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-21742 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-21742 changed 2026-06-17 | Public domain |