CVE-2025-38145
soc: aspeed: Add NULL check in aspeed_lpc_enable_snoop()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 2beee9cf833374550e673d428ad8b6ab37c175b3; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < c550999f939b529d28a914d5034cc4290066aea6; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 1fd889c145722579aa038c31cbc07cfdd4d75166; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < d62a589eaaec6385e3e2b25cf5a28b4560ace93f; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 8312b1f776f71979bf33bda7acc05b348e8792c7; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < f697ef117ecbf3a367dfc559a6a3589905956530; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 45b2e8b0fdd280aba04c3cc869e9ae500c44e4b7; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < f1706e0e1a74b095cbc60375b9b1e6205f5f4c98
- Anyone running Linux 4.19
Vulnerability facts
- Affected
- Linux >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 2beee9cf833374550e673d428ad8b6ab37c175b3; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < c550999f939b529d28a914d5034cc4290066aea6; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 1fd889c145722579aa038c31cbc07cfdd4d75166; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < d62a589eaaec6385e3e2b25cf5a28b4560ace93f; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 8312b1f776f71979bf33bda7acc05b348e8792c7; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < f697ef117ecbf3a367dfc559a6a3589905956530; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 45b2e8b0fdd280aba04c3cc869e9ae500c44e4b7; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < f1706e0e1a74b095cbc60375b9b1e6205f5f4c98; Linux 4.19
- Fixed in
- Linux 2beee9cf833374550e673d428ad8b6ab37c175b3, Linux 1fd889c145722579aa038c31cbc07cfdd4d75166, Linux 8312b1f776f71979bf33bda7acc05b348e8792c7, Linux 45b2e8b0fdd280aba04c3cc869e9ae500c44e4b7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-476
- Modified
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]
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 2beee9cf833374550e673d428ad8b6ab37c175b3; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < c550999f939b529d28a914d5034cc4290066aea6; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 1fd889c145722579aa038c31cbc07cfdd4d75166; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < d62a589eaaec6385e3e2b25cf5a28b4560ace93f; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 8312b1f776f71979bf33bda7acc05b348e8792c7; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < f697ef117ecbf3a367dfc559a6a3589905956530; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 45b2e8b0fdd280aba04c3cc869e9ae500c44e4b7; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < f1706e0e1a74b095cbc60375b9b1e6205f5f4c98 | — | cvelist |
| Linux | 4.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38145. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38145.md Affected: Linux >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 2beee9cf833374550e673d428ad8b6ab37c175b3; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < c550999f939b529d28a914d5034cc4290066aea6; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 1fd889c145722579aa038c31cbc07cfdd4d75166; >= 3772e5da445420543b25825… Fixed in: Linux 2beee9cf833374550e673d428ad8b6ab37c175b3, Linux 1fd889c145722579aa038c31cbc07cfdd4d75166, Linux 8312b1f776f71979bf33bda7acc05b348e8792c7, Linux 45b2e8b0fdd280aba04c3cc869e9ae500c44e4b7 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/2beee9cf833374550e673d428ad8b6ab37c175b3
- https://git.kernel.org/stable/c/c550999f939b529d28a914d5034cc4290066aea6
- https://git.kernel.org/stable/c/1fd889c145722579aa038c31cbc07cfdd4d75166
- https://git.kernel.org/stable/c/d62a589eaaec6385e3e2b25cf5a28b4560ace93f
- https://git.kernel.org/stable/c/8312b1f776f71979bf33bda7acc05b348e8792c7
- https://git.kernel.org/stable/c/f697ef117ecbf3a367dfc559a6a3589905956530
- https://git.kernel.org/stable/c/45b2e8b0fdd280aba04c3cc869e9ae500c44e4b7
- https://git.kernel.org/stable/c/f1706e0e1a74b095cbc60375b9b1e6205f5f4c98
FAQ
Is CVE-2025-38145 being exploited?
There is no confirmed exploitation: CVE-2025-38145 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38145?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38145?
Linux >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 2beee9cf833374550e673d428ad8b6ab37c175b3; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < c550999f939b529d28a914d5034cc4290066aea6; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 1fd889c145722579aa038c31cbc07cfdd4d75166; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < d62a589eaaec6385e3e2b25cf5a28b4560ace93f; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 8312b1f776f71979bf33bda7acc05b348e8792c7; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < f697ef117ecbf3a367dfc559a6a3589905956530; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < 45b2e8b0fdd280aba04c3cc869e9ae500c44e4b7; >= 3772e5da445420543b25825ac2b5971f3743f6e8, < f1706e0e1a74b095cbc60375b9b1e6205f5f4c98; Linux 4.19.
Is there a fix for CVE-2025-38145?
Yes. Fixed in Linux 2beee9cf833374550e673d428ad8b6ab37c175b3, Linux 1fd889c145722579aa038c31cbc07cfdd4d75166, Linux 8312b1f776f71979bf33bda7acc05b348e8792c7, Linux 45b2e8b0fdd280aba04c3cc869e9ae500c44e4b7. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38145?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.