Bug 2365257 (CVE-2025-37881) - CVE-2025-37881 kernel: usb: gadget: aspeed: Add NULL pointer check in ast_vhub_init_dev()
Summary: CVE-2025-37881 kernel: usb: gadget: aspeed: Add NULL pointer check in ast_vhu...
Keywords:
Status: NEW
Alias: CVE-2025-37881
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-09 07:02 UTC by OSIDB Bzimport
Modified: 2025-05-19 18:13 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-09 07:02:01 UTC
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


Note You need to log in before you can comment on or make changes to this bug.