CVE-2025-37810

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
08/05/2025
Last modified:
12/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> usb: dwc3: gadget: check that event count does not exceed event buffer length<br /> <br /> The event count is read from register DWC3_GEVNTCOUNT.<br /> There is a check for the count being zero, but not for exceeding the<br /> event buffer length.<br /> Check that event count does not exceed event buffer length,<br /> avoiding an out-of-bounds access when memcpy&amp;#39;ing the event.<br /> Crash log:<br /> Unable to handle kernel paging request at virtual address ffffffc0129be000<br /> pc : __memcpy+0x114/0x180<br /> lr : dwc3_check_event_buf+0xec/0x348<br /> x3 : 0000000000000030 x2 : 000000000000dfc4<br /> x1 : ffffffc0129be000 x0 : ffffff87aad60080<br /> Call trace:<br /> __memcpy+0x114/0x180<br /> dwc3_interrupt+0x24/0x34

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.2 (including) 5.4.293 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.237 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.181 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.136 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.89 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.26 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.14.5 (excluding)
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*