CVE-2025-37810

usb: dwc3: gadget: check that event count does not exceed event buffer length

No CVSS score yet EPSS 0.25%

Published 8 May 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-37810

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37810 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.9% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 72246da40f3719af3bfd104a2365b32537c27d83, before 015c39f38e69a491d2abd5e98869a500a9459b3b
affected from 72246da40f3719af3bfd104a2365b32537c27d83, before b43225948b231b3f331194010f84512bee4d9f59
affected from 72246da40f3719af3bfd104a2365b32537c27d83, before c0079630f268843a25ed75226169cba40e0d8880
affected from 72246da40f3719af3bfd104a2365b32537c27d83, before a44547015287a19001384fe94dbff84c92ce4ee1
affected from 72246da40f3719af3bfd104a2365b32537c27d83, before c4d80e41cb42008dceb35e5dbf52574d93beac0d
affected from 72246da40f3719af3bfd104a2365b32537c27d83, before 52a7c9d930b95aa8b1620edaba4818040c32631f
affected from 72246da40f3719af3bfd104a2365b32537c27d83, before 99d655119b870ee60e4dbf310aa9a1ed8d9ede3d
affected from 72246da40f3719af3bfd104a2365b32537c27d83, before 63ccd26cd1f6600421795f6ca3e625076be06c9f
Other versions: unaffected
Linux
affected 3.2
unaffected before 3.2
unaffected from 5.4.293 up to and including 5.4.*
unaffected from 5.10.237 up to and including 5.10.*
unaffected from 5.15.181 up to and including 5.15.*
unaffected from 6.1.136 up to and including 6.1.*
unaffected from 6.6.89 up to and including 6.6.*
unaffected from 6.12.26 up to and including 6.12.*
unaffected from 6.14.5 up to and including 6.14.*
unaffected 6.15 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37810 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37810

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-37810
trivy image --scanners vuln IMAGE | grep CVE-2025-37810

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-37810 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.