CVE-2025-37881

published 9 May 2025 · updated 11 May 2026

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

4.7MediumCVSS 4.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 052fb65335befeae8500e88d69ea022266baaf6d, Kernel 36d68151712e525450f0fbb3045e7110f0d9b610, Kernel 61006ca381b4d65d2b8ca695ea8da1ce18d6dee3 and 5 more.

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: aspeed: Add NULL pointer check in ast_vhub_init_dev() The variable d->name, returned by devm_kasprintf(), 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 ice_ptp.c"). This issue is found by our static analysis tool

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.18, >=7ecca2a4080cb6b1fa174adc588fce9e9014c43c <052fb65335befeae8500e88d69ea022266baaf6d, >=7ecca2a4080cb6b1fa174adc588fce9e9014c43c <36d68151712e525450f0fbb3045e7110f0d9b610, >=7ecca2a4080cb6b1fa174adc588fce9e9014c43c <61006ca381b4d65d2b8ca695ea8da1ce18d6dee3, >=7ecca2a4080cb6b1fa174adc588fce9e9014c43c <8c75f3e6a433d92084ad4e78b029ae680865420f, >=7ecca2a4080cb6b1fa174adc588fce9e9014c43c <a777ccfb9ba8d43f745e41b69ba39d4a506a081e, >=7ecca2a4080cb6b1fa174adc588fce9e9014c43c <c8d4faf452a627f9b09c3a5c366133a19e5b7a28, >=7ecca2a4080cb6b1fa174adc588fce9e9014c43c <cfa7984f69359761b07a7831c1258c0fde1e0389, >=7ecca2a4080cb6b1fa174adc588fce9e9014c43c <d26a6093d52904cacdbb75424c323c19b443a890052fb65335befeae8500e88d69ea022266baaf6d, 36d68151712e525450f0fbb3045e7110f0d9b610, 61006ca381b4d65d2b8ca695ea8da1ce18d6dee3, 8c75f3e6a433d92084ad4e78b029ae680865420f, a777ccfb9ba8d43f745e41b69ba39d4a506a081e, c8d4faf452a627f9b09c3a5c366133a19e5b7a28, cfa7984f69359761b07a7831c1258c0fde1e0389, d26a6093d52904cacdbb75424c323c19b443a890

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-37881 severity on Zeptric[![CVE-2025-37881](https://zeptric.io/badge/cve/CVE-2025-37881.svg)](https://zeptric.io/cve/CVE-2025-37881)