CVE Catalog

CVE-2025-39893

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

2th percentile - higher than 2% of all known CVEs

Summary

In the Linux kernel, the spi-qpic-snand driver fails to unregister the on-host hardware ECC engine when spi_register_controller() returns an error and on device removal. The fix unregisters the engine on the error path in qcom_spi_probe() and adds the missing call in qcom_spi_remove() to avoid use-after-free issues.

Risk Assessment

Leaving the ECC engine registered can lead to use-after-free and kernel instability, potentially causing crashes or privilege escalation.

Recommendation

Update the Linux kernel to a version containing the fix that unregisters the ECC engine on the error path and on device removal.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS