CVE-2025-21742
Last modified
CVE-2025-21742 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.5, < 6.6.78 |
| Linux | Linux Kernel | >= 6.7, < 6.12.14 |
| Linux | Linux Kernel | >= 6.13, < 6.13.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-21742?
How severe is CVE-2025-21742?
How do I fix CVE-2025-21742?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-21737In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21738In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21739In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-2174A vulnerability was found in libzvbi up to 0.2.43. It has be…7.5
- CVE-2025-21740Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-21741In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-21743In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-21744In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21745In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21746In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-21747In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21748In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-21742?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
