5.5

CVE-2025-37881

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

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
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 4.18 < 5.4.293
LinuxLinux Kernel Version >= 5.5 < 5.10.237
LinuxLinux Kernel Version >= 5.11 < 5.15.181
LinuxLinux Kernel Version >= 5.16 < 6.1.136
LinuxLinux Kernel Version >= 6.2 < 6.6.89
LinuxLinux Kernel Version >= 6.7 < 6.12.26
LinuxLinux Kernel Version >= 6.13 < 6.14.5
DebianDebian Linux Version11.0
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.25% 0.167
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-476 NULL Pointer Dereference

The product dereferences a pointer that it expects to be valid but is NULL.

https://git.kernel.org/stable/c/a777ccfb9ba8d43f745e41b69ba39d4a506a081e
Patch
https://git.kernel.org/stable/c/c8d4faf452a627f9b09c3a5c366133a19e5b7a28
Patch
https://git.kernel.org/stable/c/d26a6093d52904cacdbb75424c323c19b443a890
Patch
https://git.kernel.org/stable/c/36d68151712e525450f0fbb3045e7110f0d9b610
Patch
https://git.kernel.org/stable/c/cfa7984f69359761b07a7831c1258c0fde1e0389
Patch
https://git.kernel.org/stable/c/052fb65335befeae8500e88d69ea022266baaf6d
Patch
https://git.kernel.org/stable/c/61006ca381b4d65d2b8ca695ea8da1ce18d6dee3
Patch
https://git.kernel.org/stable/c/8c75f3e6a433d92084ad4e78b029ae680865420f
Patch
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
Third Party Advisory