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 : dwc3checkevent_buf+0xec/0x348 x3 : 0000000000000030 x2 : 000000000000dfc4 x1 : ffffffc0129be000 x0 : ffffff87aad60080 Call trace: _memcpy+0x114/0x180 dwc3interrupt+0x24/0x34
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37810.json"
}[
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2025-37810-024edb54",
"target": {
"file": "drivers/usb/dwc3/gadget.c",
"function": "dwc3_check_event_buf"
},
"digest": {
"length": 867.0,
"function_hash": "28596419665661691914190016759862286489"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a44547015287a19001384fe94dbff84c92ce4ee1"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2025-37810-1ae5ff10",
"target": {
"file": "drivers/usb/dwc3/gadget.c",
"function": "dwc3_check_event_buf"
},
"digest": {
"length": 911.0,
"function_hash": "7552524064224340094141199670300183189"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@015c39f38e69a491d2abd5e98869a500a9459b3b"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2025-37810-a4442528",
"target": {
"file": "drivers/usb/dwc3/gadget.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"236800545870596865889125647245379820225",
"209048405470716036712418670555824622581",
"332011118416455159894665666847112673866"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a44547015287a19001384fe94dbff84c92ce4ee1"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2025-37810-a86758cb",
"target": {
"file": "drivers/usb/dwc3/gadget.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"236800545870596865889125647245379820225",
"209048405470716036712418670555824622581",
"149538373069690515059249502949506432138"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@015c39f38e69a491d2abd5e98869a500a9459b3b"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37810.json"