CVE-2025-39893

MEDIUM

Linux Kernel 6.15-6.16.5 - Use-After-Free in SPI QPIC SNAND ECC Engine

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: spi: spi-qpic-snand: unregister ECC engine on probe error and device remove The on-host hardware ECC engine remains registered both when the spi_register_controller() function returns with an error and also on device removal. Change the qcom_spi_probe() function to unregister the engine on the error path, and add the missing unregistering call to qcom_spi_remove() to avoid possible use-after-free issues.

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 1.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-401
Status published
Products (9)
linux/Kernel 6.15.0 - 6.16.6linux
Linux/Linux < 6.15
Linux/Linux 6.15
Linux/Linux 6.16.6 - 6.16.*
Linux/Linux 6.17
Linux/Linux 7304d1909080ef0c9da703500a97f46c98393fcd - 1991a458528588ff34e98b6365362560d208710f
Linux/Linux 7304d1909080ef0c9da703500a97f46c98393fcd - e4de48e66af17547727bb2e4b1867952817edff7
linux/linux_kernel 6.17 rc1 (4 CPE variants)
linux/linux_kernel 6.15 - 6.16.6
Published Oct 01, 2025
Tracked Since Feb 18, 2026