NONE · 0

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 c...

Vulnerability 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.

References

FAQ

What is CVE-2025-40145?

CVE-2025-40145 is a documented vulnerability. 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 c...

How severe is CVE-2025-40145?

CVSS scoring is not yet available for CVE-2025-40145. Check NVD for updates.

Is there a patch for CVE-2025-40145?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.