CVE-2026-43004
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.15 before 6.18.22, from 6.19 before 6.19.12, 7.0NVD

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: spi: stm32-ospi: Corrección de fuga de recursos en la función de devolución de llamada remove() La función de devolución de llamada remove() retornaba prematuramente si pm_runtime_resume_and_get() fallaba, omitiendo la limpieza del controlador spi y otros recursos. Eliminar el retorno prematuro para que la limpieza se complete independientemente del resultado de la reanudación de PM.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43004 changed 2026-05-11CVE Terms of Use
NVDCVE-2026-43004 changed 2026-11-11Public domain