{"id":"CVE-2025-40145","published":"2025-11-12T10:23:26Z","modified":"2026-05-11T21:43:36Z","title":"PCI/pwrctrl: Fix double cleanup on devm_add_action_or_reset() failure","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI/pwrctrl: Fix double cleanup on devm_add_action_or_reset() failure\n\nWhen devm_add_action_or_reset() fails, it calls the passed cleanup\nfunction.  Hence the caller must not repeat that cleanup.\n\nReplace the \"goto err_regulator_free\" by the actual freeing, as there\nwill never be a need again for a second user of this label.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00241,"percentile":0.15127,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/77732c58fef6247b71493dc3997af0ec0aaad5c7","tags":[]},{"url":"https://git.kernel.org/stable/c/ab81f2f79c683c94bac622aafafbe8232e547159","tags":[]}],"priority":{"score":3.0,"factors":[{"name":"EPSS percentile","points":3.03}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 75996c92f4de309f855471927e6489f5a354cfd4, < 77732c58fef6247b71493dc3997af0ec0aaad5c7",">= 75996c92f4de309f855471927e6489f5a354cfd4, < ab81f2f79c683c94bac622aafafbe8232e547159"]},{"vendor":"Linux","product":"Linux","versions":["6.15"]}],"euvd":{"id":"EUVD-2025-124938","exploited":false,"provenance":"source"}}