CVE-2025-39893

Source
https://cve.org/CVERecord?id=CVE-2025-39893
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39893.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-39893
Downstream
Published
2025-10-01T07:42:42Z
Modified
2026-08-12T03:51:17Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
spi: spi-qpic-snand: unregister ECC engine on probe error and device remove
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39893.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7304d1909080ef0c9da703500a97f46c98393fcd
Fixed
e4de48e66af17547727bb2e4b1867952817edff7
Fixed
1991a458528588ff34e98b6365362560d208710f

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39893.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.16.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39893.json"