CVE-2025-37810 Details
Description
In the Linux kernel, the following vulnerability has been resolved: usb: dwc3: gadget: check that event count does not exceed event buffer length The event count is read from register DWC3_GEVNTCOUNT. There is a check for the count being zero, but not for exceeding the event buffer length. Check that event count does not exceed event buffer length, avoiding an out-of-bounds access when memcpy'ing the event. Crash log: Unable to handle kernel paging request at virtual address ffffffc0129be000 pc : __memcpy+0x114/0x180 lr : dwc3_check_event_buf+0xec/0x348 x3 : 0000000000000030 x2 : 000000000000dfc4 x1 : ffffffc0129be000 x0 : ffffff87aad60080 Call trace: __memcpy+0x114/0x180 dwc3_interrupt+0x24/0x34
A vulnerability in the Linux kernel's DWC3 USB gadget driver allows for out-of-bounds memory access. The issue arises because the event count, read from the DWC3_GEVNTCOUNT register, is not properly validated against the event buffer length. This oversight can lead to memory corruption when the event count exceeds the buffer length, causing a kernel crash. The vulnerability has been addressed by implementing a check to ensure the event count does not surpass the event buffer length, thereby preventing the out-of-bounds access during memory copy operations.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/015c39f38e69a491d2abd5e98869a500a9459b3b | kernel.org | Patch |
| https://git.kernel.org/stable/c/52a7c9d930b95aa8b1620edaba4818040c32631f | kernel.org | Patch |
| https://git.kernel.org/stable/c/63ccd26cd1f6600421795f6ca3e625076be06c9f | kernel.org | Patch |
| https://git.kernel.org/stable/c/99d655119b870ee60e4dbf310aa9a1ed8d9ede3d | kernel.org | Patch |
| https://git.kernel.org/stable/c/a44547015287a19001384fe94dbff84c92ce4ee1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b43225948b231b3f331194010f84512bee4d9f59 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c0079630f268843a25ed75226169cba40e0d8880 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c4d80e41cb42008dceb35e5dbf52574d93beac0d | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html | CVE | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.2, < 5.4.293 >= 5.5, < 5.10.237 >= 5.11, < 5.15.181 >= 5.16, < 6.1.136 >= 6.2, < 6.6.89 >= 6.7, < 6.12.26 >= 6.13, < 6.14.5 6.15 rc1 6.15 rc2 6.15 rc3 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 12, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| May 8, 2025 | New CVE Received | kernel.org |