Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-37810

HIGH 7.8EPSS 19%

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

Mitigation

  • Upgrade Linux to 63ccd26cd1f6600421795f6ca3e625076be06c9f or later.

Who should check

  • Anyone running Linux >= 72246da40f3719af3bfd104a2365b32537c27d83, < 015c39f38e69a491d2abd5e98869a500a9459b3b; >= 72246da40f3719af3bfd104a2365b32537c27d83, < b43225948b231b3f331194010f84512bee4d9f59; >= 72246da40f3719af3bfd104a2365b32537c27d83, < c0079630f268843a25ed75226169cba40e0d8880; >= 72246da40f3719af3bfd104a2365b32537c27d83, < a44547015287a19001384fe94dbff84c92ce4ee1; >= 72246da40f3719af3bfd104a2365b32537c27d83, < c4d80e41cb42008dceb35e5dbf52574d93beac0d; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 52a7c9d930b95aa8b1620edaba4818040c32631f; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 99d655119b870ee60e4dbf310aa9a1ed8d9ede3d; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 63ccd26cd1f6600421795f6ca3e625076be06c9f
  • Anyone running Linux 3.2

Vulnerability facts

Affected
Linux >= 72246da40f3719af3bfd104a2365b32537c27d83, < 015c39f38e69a491d2abd5e98869a500a9459b3b; >= 72246da40f3719af3bfd104a2365b32537c27d83, < b43225948b231b3f331194010f84512bee4d9f59; >= 72246da40f3719af3bfd104a2365b32537c27d83, < c0079630f268843a25ed75226169cba40e0d8880; >= 72246da40f3719af3bfd104a2365b32537c27d83, < a44547015287a19001384fe94dbff84c92ce4ee1; >= 72246da40f3719af3bfd104a2365b32537c27d83, < c4d80e41cb42008dceb35e5dbf52574d93beac0d; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 52a7c9d930b95aa8b1620edaba4818040c32631f; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 99d655119b870ee60e4dbf310aa9a1ed8d9ede3d; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 63ccd26cd1f6600421795f6ca3e625076be06c9f; Linux 3.2
Fixed in
Linux 015c39f38e69a491d2abd5e98869a500a9459b3b, Linux 52a7c9d930b95aa8b1620edaba4818040c32631f, Linux 99d655119b870ee60e4dbf310aa9a1ed8d9ede3d, Linux 63ccd26cd1f6600421795f6ca3e625076be06c9f
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
CWE
CWE-787
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 72246da40f3719af3bfd104a2365b32537c27d83, < 015c39f38e69a491d2abd5e98869a500a9459b3b; >= 72246da40f3719af3bfd104a2365b32537c27d83, < b43225948b231b3f331194010f84512bee4d9f59; >= 72246da40f3719af3bfd104a2365b32537c27d83, < c0079630f268843a25ed75226169cba40e0d8880; >= 72246da40f3719af3bfd104a2365b32537c27d83, < a44547015287a19001384fe94dbff84c92ce4ee1; >= 72246da40f3719af3bfd104a2365b32537c27d83, < c4d80e41cb42008dceb35e5dbf52574d93beac0d; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 52a7c9d930b95aa8b1620edaba4818040c32631f; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 99d655119b870ee60e4dbf310aa9a1ed8d9ede3d; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 63ccd26cd1f6600421795f6ca3e625076be06c9f—cvelist
Linux3.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-37810. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37810.md
Affected: Linux >= 72246da40f3719af3bfd104a2365b32537c27d83, < 015c39f38e69a491d2abd5e98869a500a9459b3b; >= 72246da40f3719af3bfd104a2365b32537c27d83, < b43225948b231b3f331194010f84512bee4d9f59; >= 72246da40f3719af3bfd104a2365b32537c27d83, < c0079630f268843a25ed75226169cba40e0d8880; >= 72246da40f3719af3bfd104…
Fixed in: Linux 015c39f38e69a491d2abd5e98869a500a9459b3b, Linux 52a7c9d930b95aa8b1620edaba4818040c32631f, Linux 99d655119b870ee60e4dbf310aa9a1ed8d9ede3d, Linux 63ccd26cd1f6600421795f6ca3e625076be06c9f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-37810 being exploited?

There is no confirmed exploitation: CVE-2025-37810 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-37810?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-37810?

Linux >= 72246da40f3719af3bfd104a2365b32537c27d83, < 015c39f38e69a491d2abd5e98869a500a9459b3b; >= 72246da40f3719af3bfd104a2365b32537c27d83, < b43225948b231b3f331194010f84512bee4d9f59; >= 72246da40f3719af3bfd104a2365b32537c27d83, < c0079630f268843a25ed75226169cba40e0d8880; >= 72246da40f3719af3bfd104a2365b32537c27d83, < a44547015287a19001384fe94dbff84c92ce4ee1; >= 72246da40f3719af3bfd104a2365b32537c27d83, < c4d80e41cb42008dceb35e5dbf52574d93beac0d; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 52a7c9d930b95aa8b1620edaba4818040c32631f; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 99d655119b870ee60e4dbf310aa9a1ed8d9ede3d; >= 72246da40f3719af3bfd104a2365b32537c27d83, < 63ccd26cd1f6600421795f6ca3e625076be06c9f; Linux 3.2.

Is there a fix for CVE-2025-37810?

Yes. Fixed in Linux 015c39f38e69a491d2abd5e98869a500a9459b3b, Linux 52a7c9d930b95aa8b1620edaba4818040c32631f, Linux 99d655119b870ee60e4dbf310aa9a1ed8d9ede3d, Linux 63ccd26cd1f6600421795f6ca3e625076be06c9f. Upgrade Linux to 63ccd26cd1f6600421795f6ca3e625076be06c9f or later.

How do I check if I'm affected by CVE-2025-37810?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors