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

CVE-2025-37810
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.23 % · centile 14 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 72246da40f3719af3bfd104a2365b32537c27d83 < 015c39f38e69a491d2abd5e98869a500a9459b3b ; affected 72246da40f3719af3bfd104a2365b32537c27d83 < b43225948b231b3f331194010f84512bee4d9f59 ; affected 72246da40f3719af3bfd104a2365b32537c27d83 < c0079630f268843a25ed75226169cba40e0d8880 ; affected 72246da40f3719af3bfd104a2365b32537c27d83 < a44547015287a19001384fe94dbff84c92ce4ee1 ; affected 72246da40f3719af3bfd104a2365b32537c27d83 < c4d80e41cb42008dceb35e5dbf52574d93beac0d ; affected 72246da40f3719af3bfd104a2365b32537c27d83 < 52a7c9d930b95aa8b1620edaba4818040c32631f
Linux · Linuxaffected 3.2 ; unaffected 0 < 3.2 ; unaffected 5.4.293 ≤ 5.4.* ; unaffected 5.10.237 ≤ 5.10.* ; unaffected 5.15.181 ≤ 5.15.* ; unaffected 6.1.136 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD