CVE-2025-40145
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
12/11/2025
Last modified:
12/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
PCI/pwrctrl: Fix double cleanup on devm_add_action_or_reset() failure<br />
<br />
When devm_add_action_or_reset() fails, it calls the passed cleanup<br />
function. Hence the caller must not repeat that cleanup.<br />
<br />
Replace the "goto err_regulator_free" by the actual freeing, as there<br />
will never be a need again for a second user of this label.



