{"id":"CVE-2025-21743","summary":"usbnet: ipheth: fix possible overflow in DPE length check","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusbnet: ipheth: fix possible overflow in DPE length check\n\nOriginally, it was possible for the DPE length check to overflow if\nwDatagramIndex + wDatagramLength \u003e U16_MAX. This could lead to an OoB\nread.\n\nMove the wDatagramIndex term to the other side of the inequality.\n\nAn existing condition ensures that wDatagramIndex \u003c urb-\u003eactual_length.","modified":"2026-04-02T12:45:11.774692Z","published":"2025-02-27T02:12:16.696Z","related":["ALSA-2025:20095","SUSE-SU-2025:01919-1","SUSE-SU-2025:1177-1","SUSE-SU-2025:1178-1","SUSE-SU-2025:1180-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1","USN-7521-2"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21743.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/18bf6f5cce3172cb303c3f0551aa9443d5ed74f8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c219427ed296f94bb4b91d08626776dc7719ee27"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d677e7dd59ad6837496f5a02d8e5d39824278dfd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d824a964185910e317287f034c0a439c08b4fe49"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21743.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21743"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a2d274c62e44b1995c170595db3865c6fe701226"},{"fixed":"18bf6f5cce3172cb303c3f0551aa9443d5ed74f8"},{"fixed":"d677e7dd59ad6837496f5a02d8e5d39824278dfd"},{"fixed":"d824a964185910e317287f034c0a439c08b4fe49"},{"fixed":"c219427ed296f94bb4b91d08626776dc7719ee27"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21743.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"}]}