{"id":"CVE-2025-21742","aliases":["CVE-2025-21742"],"related":[],"kind":"vulnerability","state":"published","title":"usbnet: ipheth: use static NDP16 location in URB","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusbnet: ipheth: use static NDP16 location in URB\n\nOriginal code allowed for the start of NDP16 to be anywhere within the\nURB based on the `wNdpIndex` value in NTH16. Only the start position of\nNDP16 was checked, so it was possible for even the fixed-length part\nof NDP16 to extend past the end of URB, leading to an out-of-bounds\nread.\n\nOn iOS devices, the NDP16 header always directly follows NTH16. Rely on\nand check for this specific format.\n\nThis, along with NCM-specific minimal URB length check that already\nexists, will ensure that the fixed-length part of NDP16 plus a set\namount of DPEs fit within the URB.\n\nNote that this commit alone does not fully address the OoB read.\nThe limit on the amount of DPEs needs to be enforced separately.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusbnet: ipheth: use static NDP16 location in URB\n\nOriginal code allowed for the start of NDP16 to be anywhere within the\nURB based on the `wNdpIndex` value in NTH16. Only the start position of\nNDP16 was checked, so it was possible for even the fixed-length part\nof NDP16 to extend past the end of URB, leading to an out-of-bounds\nread.\n\nOn iOS devices, the NDP16 header always directly follows NTH16. Rely on\nand check for this specific format.\n\nThis, along with NCM-specific minimal URB length check that already\nexists, will ensure that the fixed-length part of NDP16 plus a set\namount of DPEs fit within the URB.\n\nNote that this commit alone does not fully address the OoB read.\nThe limit on the amount of DPEs needs to be enforced separately.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-02-27T02:12:16.207Z","modified":"2026-06-17T08:44:10.137Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"a2d274c62e44b1995c170595db3865c6fe701226","fixed":"8fb062178e1ce180e2cfdc9abc83a1b9fea381ca","status":"affected"},{"type":"git","introduced":"a2d274c62e44b1995c170595db3865c6fe701226","fixed":"cf1ac7f7cf601ac31d1580559c002b5e37b733b7","status":"affected"},{"type":"git","introduced":"a2d274c62e44b1995c170595db3865c6fe701226","fixed":"2b619445dcb6dab97d8ed033fb57225aca1288c4","status":"affected"},{"type":"git","introduced":"a2d274c62e44b1995c170595db3865c6fe701226","fixed":"86586dcb75cb8fd062a518aca8ee667938b91efb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.5","status":"unaffected"},{"type":"semver","introduced":"6.6.78","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.14","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.3","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.5","fixed":"6.6.78"},{"status":"affected","introduced":"6.7","fixed":"6.12.14"},{"status":"affected","introduced":"6.13","fixed":"6.13.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8fb062178e1ce180e2cfdc9abc83a1b9fea381ca","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf1ac7f7cf601ac31d1580559c002b5e37b733b7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b619445dcb6dab97d8ed033fb57225aca1288c4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/86586dcb75cb8fd062a518aca8ee667938b91efb","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:31:07.424Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21742","url":"https://www.cve.org/CVERecord?id=CVE-2025-21742","licence":"CVE Terms of Use","modified":"2026-05-11T21:05:32.954Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21742","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21742","licence":"Public domain","modified":"2026-06-17T08:44:10.137Z"}],"updatedAt":"2026-11-25T22:58:54.520Z","epss":{"score":0.00222,"percentile":0.13665,"date":"2026-12-01T12:00:22.000Z"}}