CVE-2025-40145

published 12 Nov 2025 · updated 11 May 2026

PCI/pwrctrl: Fix double cleanup on devm_add_action_or_reset() failure

5.0MediumEPSS 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 77732c58fef6247b71493dc3997af0ec0aaad5c7 and Kernel ab81f2f79c683c94bac622aafafbe8232e547159.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.15, >=75996c92f4de309f855471927e6489f5a354cfd4 <77732c58fef6247b71493dc3997af0ec0aaad5c7, >=75996c92f4de309f855471927e6489f5a354cfd4 <ab81f2f79c683c94bac622aafafbe8232e54715977732c58fef6247b71493dc3997af0ec0aaad5c7, ab81f2f79c683c94bac622aafafbe8232e547159

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-40145 severity on Zeptric[![CVE-2025-40145](https://zeptric.io/badge/cve/CVE-2025-40145.svg)](https://zeptric.io/cve/CVE-2025-40145)