CVE-2025-37881

Source
https://cve.org/CVERecord?id=CVE-2025-37881
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37881.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37881
Downstream
Related
Published
2025-05-09T06:45:45.205Z
Modified
2026-03-20T12:42:32.096727Z
Summary
usb: gadget: aspeed: Add NULL pointer check in ast_vhub_init_dev()
Details

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: aspeed: Add NULL pointer check in astvhubinit_dev()

The variable d->name, returned by devmkasprintf(), could be NULL. A pointer check is added to prevent potential NULL pointer dereference. This is similar to the fix in commit 3027e7b15b02 ("ice: Fix some null pointer dereference issues in iceptp.c").

This issue is found by our static analysis tool

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37881.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7ecca2a4080cb6b1fa174adc588fce9e9014c43c
Fixed
a777ccfb9ba8d43f745e41b69ba39d4a506a081e
Fixed
c8d4faf452a627f9b09c3a5c366133a19e5b7a28
Fixed
d26a6093d52904cacdbb75424c323c19b443a890
Fixed
36d68151712e525450f0fbb3045e7110f0d9b610
Fixed
cfa7984f69359761b07a7831c1258c0fde1e0389
Fixed
052fb65335befeae8500e88d69ea022266baaf6d
Fixed
61006ca381b4d65d2b8ca695ea8da1ce18d6dee3
Fixed
8c75f3e6a433d92084ad4e78b029ae680865420f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37881.json"