CVE-2025-40145
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.
Affected versions
Linux kernel versions
6.15
and later are affected. Fixed in
6.17.3,
6.18
and their respective stable series.
References
2 totalFrequently asked questions
-
What is CVE-2025-40145?
CVE-2025-40145 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.15 onward and has been patched in 6.17.3 and 6.18. CVE-2025-40145 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-40145?
Yes. CVE-2025-40145 has been patched. Fixed versions include 6.17.3 and 6.18. If you are running Linux kernel 6.15 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-40145 actively exploited?
No. CVE-2025-40145 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.