# CVE-2026-43004: spi: stm32-ospi: Fix resource leak in remove() callback

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-01T14:15:12.032Z
- Modified: 2026-11-11T23:10:00.263Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 79b8a705e26c08f8f09dd55f1dd56f2375973d2d before b4ec54c974c6ea68b309989dcc3d3511068f45f3; from 79b8a705e26c08f8f09dd55f1dd56f2375973d2d before 0807532c5ebb72751bfe773e6ae79db0e9c57ab9; from 79b8a705e26c08f8f09dd55f1dd56f2375973d2d before 73cd1f97946ae3796544448ff12c07f399bb2881; 6.15 (not affected: before 6.15; from 6.18.22 up to 6.18.*; from 6.19.12 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.15 before 6.18.22; from 6.19 before 6.19.12; 7.0

## References

- <https://git.kernel.org/stable/c/b4ec54c974c6ea68b309989dcc3d3511068f45f3> (patch)
- <https://git.kernel.org/stable/c/0807532c5ebb72751bfe773e6ae79db0e9c57ab9> (patch)
- <https://git.kernel.org/stable/c/73cd1f97946ae3796544448ff12c07f399bb2881> (patch)

## Sources

- CVE List: [CVE-2026-43004](https://www.cve.org/CVERecord?id=CVE-2026-43004), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-43004](https://nvd.nist.gov/vuln/detail/CVE-2026-43004), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43004 · Whole record: https://cve.day/CVE-2026-43004.json · Rebuilt by cve.day 2026-11-25T22:59:20.388Z
