CVE-2025-39893Missing Release of Memory after Effective Lifetime in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 95.28%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel6.156.16.6+1
Debianlinux/linux_kernel< 6.16.6-1
CVEListV5linux/linux7304d1909080ef0c9da703500a97f46c98393fcde4de48e66af17547727bb2e4b1867952817edff7+2
debiandebian/linux< linux 6.16.6-1 (forky)

Patches

🔴Vulnerability Details

2
OSV
CVE-2025-39893: In the Linux kernel, the following vulnerability has been resolved: spi: spi-qpic-snand: unregister ECC engine on probe error and device remove The on2025-10-01
GHSA
GHSA-733m-qp96-w42h: In the Linux kernel, the following vulnerability has been resolved: spi: spi-qpic-snand: unregister ECC engine on probe error and device remove The2025-10-01

📋Vendor Advisories

2
Red Hat
kernel: spi: spi-qpic-snand: unregister ECC engine on probe error and device remove2025-10-01
Debian
CVE-2025-39893: linux - In the Linux kernel, the following vulnerability has been resolved: spi: spi-qp...2025