Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-40145

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 75996c92f4de309f855471927e6489f5a354cfd4 to < 77732c58fef6247b71493dc3997af0ec0aaad5c7affected
  • 75996c92f4de309f855471927e6489f5a354cfd4 to < ab81f2f79c683c94bac622aafafbe8232e547159affected

Linux Linux

Default version status: affected

  • 6.15affected
  • 0 to < 6.15unaffected
  • 6.17.3 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References