VDB

CVE-2025-38145

CVE-2025-38145 PUBLISHED

soc: aspeed: Add NULL check in aspeed_lpc_enable_snoop()

Reported by linux · Published July 3, 2025

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]

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.15.3, 6.12.34, 6.6.94, 6.1.142, 5.15.186, 5.10.239, 5.4.295

Affected products

VendorProductVersions
LinuxLinux3772e5da445420543b25825ac2b5971f3743f6e8, 3772e5da445420543b25825ac2b5971f3743f6e8, 3772e5da445420543b25825ac2b5971f3743f6e8
LinuxLinux4.19, 0, 5.4.295
linuxlinux_kernel4.19, 4.19, 4.19
LinuxLinux3772e5da445420543b25825ac2b5971f3743f6e8, 3772e5da445420543b25825ac2b5971f3743f6e8, 3772e5da445420543b25825ac2b5971f3743f6e8

Timeline

  • Jul 2, 2025 CVE Published
  • Jul 3, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (11 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (224 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (238 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score
  • Oct 26, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38145
vulnetix vdb fixes CVE-2025-38145

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38145/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›