CWE
476
Advisory Published
Updated

CVE-2025-37881: usb: gadget: aspeed: Add NULL pointer check in ast_vhub_init_dev()

First published: Fri May 09 2025(Updated: )

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

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-37881?

    CVE-2025-37881 has been categorized as a moderate severity vulnerability due to the potential for a NULL pointer dereference.

  • How do I fix CVE-2025-37881?

    To fix CVE-2025-37881, update your Linux kernel to the latest version where the NULL pointer check has been implemented.

  • What systems are affected by CVE-2025-37881?

    CVE-2025-37881 affects all versions of the Linux kernel that include the usb gadget feature.

  • What impact does CVE-2025-37881 have on system security?

    If exploited, CVE-2025-37881 could lead to system instability or crashes due to NULL pointer dereference issues.

  • Is CVE-2025-37881 related to USB devices?

    Yes, CVE-2025-37881 is related to the USB gadget subsystem in the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203