CVE-2026-43004

spi: stm32-ospi: Fix resource leak in remove() callback

State
Published
Severity
Not scored
Published
May 1, 2026
Updated
May 11, 2026
Reserved
May 1, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

spi: stm32-ospi: Fix resource leak in remove() callback

The remove() callback returned early if pm_runtime_resume_and_get() failed, skipping the cleanup of spi controller and other resources.

Remove the early return so cleanup completes regardless of PM resume result.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 79b8a705e26c08f8f09dd55f1dd56f2375973d2d to before b4ec54c974c6ea68b309989dcc3d3511068f45f3Affected
  • 79b8a705e26c08f8f09dd55f1dd56f2375973d2d to before 0807532c5ebb72751bfe773e6ae79db0e9c57ab9Affected
  • 79b8a705e26c08f8f09dd55f1dd56f2375973d2d to before 73cd1f97946ae3796544448ff12c07f399bb2881Affected
LinuxLinux
  • 6.15Affected
  • before 6.15Not affected
  • 6.18.22 through 6.18.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.