CVE-2025-39893CWE-401

CVE-2025-39893

Medium · published October 1, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
2.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00130 · 2.4th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2025-10-01T12:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 6.15, < 6.16.66.16.6
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (2)
EPSS history
Timeline
  • 01 OCT 07:42Z
    spi: spi-qpic-snand: unregister ECC engine on probe error and device remove
    cvelistv5