CVE-2025-38145
soc: aspeed: Add NULL check in aspeed_lpc_enable_snoop()
Check your servers for CVE-2025-38145
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-38145 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:
soc: aspeed: Add NULL check in aspeed_lpc_enable_snoop()
devm_kasprintf() returns NULL when memory allocation fails. Currently, aspeed_lpc_enable_snoop() does not check for this case, which results in a NULL pointer dereference.
Add NULL check after devm_kasprintf() to prevent this issue.
[arj: Fix Fixes: tag to use subject from 3772e5da4454]
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3772e5da445420543b25825ac2b5971f3743f6e8, before 2beee9cf833374550e673d428ad8b6ab37c175b3 affected from 3772e5da445420543b25825ac2b5971f3743f6e8, before c550999f939b529d28a914d5034cc4290066aea6 affected from 3772e5da445420543b25825ac2b5971f3743f6e8, before 1fd889c145722579aa038c31cbc07cfdd4d75166 affected from 3772e5da445420543b25825ac2b5971f3743f6e8, before d62a589eaaec6385e3e2b25cf5a28b4560ace93f affected from 3772e5da445420543b25825ac2b5971f3743f6e8, before 8312b1f776f71979bf33bda7acc05b348e8792c7 affected from 3772e5da445420543b25825ac2b5971f3743f6e8, before f697ef117ecbf3a367dfc559a6a3589905956530 affected from 3772e5da445420543b25825ac2b5971f3743f6e8, before 45b2e8b0fdd280aba04c3cc869e9ae500c44e4b7 affected from 3772e5da445420543b25825ac2b5971f3743f6e8, before f1706e0e1a74b095cbc60375b9b1e6205f5f4c98
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 5.4.295 up to and including 5.4.* unaffected from 5.10.239 up to and including 5.10.* unaffected from 5.15.186 up to and including 5.15.* unaffected from 6.1.142 up to and including 6.1.* unaffected from 6.6.94 up to and including 6.6.* unaffected from 6.12.34 up to and including 6.12.* unaffected from 6.15.3 up to and including 6.15.* unaffected 6.16 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-38145 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38145
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-38145
trivy image --scanners vuln IMAGE | grep CVE-2025-38145
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/2beee9cf833374550e673d428ad8b6ab37c175b3 git.kernel.org
- https://git.kernel.org/stable/c/c550999f939b529d28a914d5034cc4290066aea6 git.kernel.org
- https://git.kernel.org/stable/c/1fd889c145722579aa038c31cbc07cfdd4d75166 git.kernel.org
- https://git.kernel.org/stable/c/d62a589eaaec6385e3e2b25cf5a28b4560ace93f git.kernel.org
- https://git.kernel.org/stable/c/8312b1f776f71979bf33bda7acc05b348e8792c7 git.kernel.org
- https://git.kernel.org/stable/c/f697ef117ecbf3a367dfc559a6a3589905956530 git.kernel.org
- https://git.kernel.org/stable/c/45b2e8b0fdd280aba04c3cc869e9ae500c44e4b7 git.kernel.org
- https://git.kernel.org/stable/c/f1706e0e1a74b095cbc60375b9b1e6205f5f4c98 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
Source: the record CVE-2025-38145 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