{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-40145","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T07:20:57.175Z","datePublished":"2025-11-12T10:23:26.013Z","dateUpdated":"2026-05-11T21:43:36.510Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T21:43:36.510Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/pwrctrl/slot.c"],"versions":[{"version":"75996c92f4de309f855471927e6489f5a354cfd4","lessThan":"77732c58fef6247b71493dc3997af0ec0aaad5c7","status":"affected","versionType":"git"},{"version":"75996c92f4de309f855471927e6489f5a354cfd4","lessThan":"ab81f2f79c683c94bac622aafafbe8232e547159","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/pwrctrl/slot.c"],"versions":[{"version":"6.15","status":"affected"},{"version":"0","lessThan":"6.15","status":"unaffected","versionType":"semver"},{"version":"6.17.3","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.17.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/77732c58fef6247b71493dc3997af0ec0aaad5c7"},{"url":"https://git.kernel.org/stable/c/ab81f2f79c683c94bac622aafafbe8232e547159"}],"title":"PCI/pwrctrl: Fix double cleanup on devm_add_action_or_reset() failure","x_generator":{"engine":"bippy-1.2.0"}}}}