What’s Vulnerable › Vulnerabilities
CVE-2026-43004: spi: stm32-ospi: Fix resource leak in remove() callback
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-01 · updated 2026-06-17
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.
Affected products
- Linux kernel: from 6.15 before 6.18.22; from 6.19 before 6.19.12; 7.0-rc1, 7.0-rc2, 7.0-rc3, 7.0-rc4, 7.0-rc5, 7.0-rc6 — fixed in 6.18.22, 6.19.12
How to fix
Upgrade to a fixed version: Linux kernel 6.18.22, 6.19.12. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0807532c5ebb72751bfe773e6ae79db0e9c57ab9
- https://git.kernel.org/stable/c/73cd1f97946ae3796544448ff12c07f399bb2881
- https://git.kernel.org/stable/c/b4ec54c974c6ea68b309989dcc3d3511068f45f3
Get alerted when CVE-2026-43004 or the next vulnerability affects your stack