{"id":"CVE-2025-21742","published":"2025-02-27T02:12:16Z","modified":"2026-05-11T21:05:32Z","title":"usbnet: ipheth: use static NDP16 location in URB","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.003,"percentile":0.15148,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://git.kernel.org/stable/c/8fb062178e1ce180e2cfdc9abc83a1b9fea381ca","tags":[]},{"url":"https://git.kernel.org/stable/c/cf1ac7f7cf601ac31d1580559c002b5e37b733b7","tags":[]},{"url":"https://git.kernel.org/stable/c/2b619445dcb6dab97d8ed033fb57225aca1288c4","tags":[]},{"url":"https://git.kernel.org/stable/c/86586dcb75cb8fd062a518aca8ee667938b91efb","tags":[]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":3.03},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a2d274c62e44b1995c170595db3865c6fe701226, < 8fb062178e1ce180e2cfdc9abc83a1b9fea381ca",">= a2d274c62e44b1995c170595db3865c6fe701226, < cf1ac7f7cf601ac31d1580559c002b5e37b733b7",">= a2d274c62e44b1995c170595db3865c6fe701226, < 2b619445dcb6dab97d8ed033fb57225aca1288c4",">= a2d274c62e44b1995c170595db3865c6fe701226, < 86586dcb75cb8fd062a518aca8ee667938b91efb"]},{"vendor":"Linux","product":"Linux","versions":["6.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:31:07.424616Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-5173","exploited":false,"provenance":"source"}}