CVE-2025-40145 in Goto products
In the Linux kernel, the following vulnerability has been resolved: PCI/pwrctrl: Fix double cleanup on devm_add_action_or_reset() failure When devm_add_action_or_reset() fails, it calls the passed cleanup function. Hence the caller must not repeat that cleanup. Replace the "goto err_regulator_free" by the actual...
Affects 1 product from 3 vendors. Facts below cite their sources.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In the Linux kernel, the following vulnerability has been resolved: PCI/pwrctrl: Fix double cleanup on devm_add_action_or_reset() failure When devm_add_action_or_reset() fails, it calls the passed cleanup function. Hence the caller must not repeat that cleanup. Replace the "goto err_regulator_free" by the actual freeing, as there will never be a need again for a second user of this label.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-40145 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-258870-I |
| Published | 2025-11-12 |
| Last modified | 2026-10-19 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Linux kernel's PCI power control module could lead to double cleanup issues when devm_add_action_or_reset() fails, potentially causing system instability or crashes.
The vulnerability arises from improper handling of cleanup actions in the PCI power control module. If devm_add_action_or_reset() fails, the cleanup function is called, but the code incorrectly attempts to perform the cleanup again, leading to undefined behavior.
Questions
What is CVE-2025-40145?
A vulnerability in the Linux kernel's PCI power control module could lead to double cleanup issues when devm_add_action_or_reset() fails, potentially causing system instability or crashes.
Is CVE-2025-40145 actively exploited?
No confirmed active exploitation of CVE-2025-40145 as of 2026-10-25.
How do I remediate CVE-2025-40145?
Priority: MEDIUM.
What systems are affected by CVE-2025-40145?
CVE-2025-40145 affects Goto; Kernel; Linux Linux.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Goto","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.