CVE-2025-37881
usb: gadget: aspeed: Add NULL pointer check in ast_vhub_init_dev()
Check your servers for CVE-2025-37881
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37881 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Exploitation
EPSS 0.31%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 26.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7ecca2a4080cb6b1fa174adc588fce9e9014c43c, before a777ccfb9ba8d43f745e41b69ba39d4a506a081e affected from 7ecca2a4080cb6b1fa174adc588fce9e9014c43c, before c8d4faf452a627f9b09c3a5c366133a19e5b7a28 affected from 7ecca2a4080cb6b1fa174adc588fce9e9014c43c, before d26a6093d52904cacdbb75424c323c19b443a890 affected from 7ecca2a4080cb6b1fa174adc588fce9e9014c43c, before 36d68151712e525450f0fbb3045e7110f0d9b610 affected from 7ecca2a4080cb6b1fa174adc588fce9e9014c43c, before cfa7984f69359761b07a7831c1258c0fde1e0389 affected from 7ecca2a4080cb6b1fa174adc588fce9e9014c43c, before 052fb65335befeae8500e88d69ea022266baaf6d affected from 7ecca2a4080cb6b1fa174adc588fce9e9014c43c, before 61006ca381b4d65d2b8ca695ea8da1ce18d6dee3 affected from 7ecca2a4080cb6b1fa174adc588fce9e9014c43c, before 8c75f3e6a433d92084ad4e78b029ae680865420f
Other versions: unaffected
|
| Linux |
affected 4.18 unaffected before 4.18 unaffected from 5.4.293 up to and including 5.4.* unaffected from 5.10.237 up to and including 5.10.* unaffected from 5.15.181 up to and including 5.15.* unaffected from 6.1.136 up to and including 6.1.* unaffected from 6.6.89 up to and including 6.6.* unaffected from 6.12.26 up to and including 6.12.* unaffected from 6.14.5 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37881 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37881
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-37881
trivy image --scanners vuln IMAGE | grep CVE-2025-37881
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/a777ccfb9ba8d43f745e41b69ba39d4a506a081e git.kernel.org
- https://git.kernel.org/stable/c/c8d4faf452a627f9b09c3a5c366133a19e5b7a28 git.kernel.org
- https://git.kernel.org/stable/c/d26a6093d52904cacdbb75424c323c19b443a890 git.kernel.org
- https://git.kernel.org/stable/c/36d68151712e525450f0fbb3045e7110f0d9b610 git.kernel.org
- https://git.kernel.org/stable/c/cfa7984f69359761b07a7831c1258c0fde1e0389 git.kernel.org
- https://git.kernel.org/stable/c/052fb65335befeae8500e88d69ea022266baaf6d git.kernel.org
- https://git.kernel.org/stable/c/61006ca381b4d65d2b8ca695ea8da1ce18d6dee3 git.kernel.org
- https://git.kernel.org/stable/c/8c75f3e6a433d92084ad4e78b029ae680865420f git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org
Source: the record CVE-2025-37881 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse