CVE-2025-38145

published 3 Jul 2025 · updated 11 May 2026

soc: aspeed: Add NULL check in aspeed_lpc_enable_snoop()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1fd889c145722579aa038c31cbc07cfdd4d75166, Kernel 2beee9cf833374550e673d428ad8b6ab37c175b3, Kernel 45b2e8b0fdd280aba04c3cc869e9ae500c44e4b7 and 5 more.

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]

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.19, >=3772e5da445420543b25825ac2b5971f3743f6e8 <1fd889c145722579aa038c31cbc07cfdd4d75166, >=3772e5da445420543b25825ac2b5971f3743f6e8 <2beee9cf833374550e673d428ad8b6ab37c175b3, >=3772e5da445420543b25825ac2b5971f3743f6e8 <45b2e8b0fdd280aba04c3cc869e9ae500c44e4b7, >=3772e5da445420543b25825ac2b5971f3743f6e8 <8312b1f776f71979bf33bda7acc05b348e8792c7, >=3772e5da445420543b25825ac2b5971f3743f6e8 <c550999f939b529d28a914d5034cc4290066aea6, >=3772e5da445420543b25825ac2b5971f3743f6e8 <d62a589eaaec6385e3e2b25cf5a28b4560ace93f, >=3772e5da445420543b25825ac2b5971f3743f6e8 <f1706e0e1a74b095cbc60375b9b1e6205f5f4c98, >=3772e5da445420543b25825ac2b5971f3743f6e8 <f697ef117ecbf3a367dfc559a6a35899059565301fd889c145722579aa038c31cbc07cfdd4d75166, 2beee9cf833374550e673d428ad8b6ab37c175b3, 45b2e8b0fdd280aba04c3cc869e9ae500c44e4b7, 8312b1f776f71979bf33bda7acc05b348e8792c7, c550999f939b529d28a914d5034cc4290066aea6, d62a589eaaec6385e3e2b25cf5a28b4560ace93f, f1706e0e1a74b095cbc60375b9b1e6205f5f4c98, f697ef117ecbf3a367dfc559a6a3589905956530

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38145 severity on Zeptric[![CVE-2025-38145](https://zeptric.io/badge/cve/CVE-2025-38145.svg)](https://zeptric.io/cve/CVE-2025-38145)