Bug 2400607 (CVE-2025-39893) - CVE-2025-39893 kernel: spi: spi-qpic-snand: unregister ECC engine on probe error and device remove
Summary: CVE-2025-39893 kernel: spi: spi-qpic-snand: unregister ECC engine on probe er...
Keywords:
Status: NEW
Alias: CVE-2025-39893
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-01 08:02 UTC by OSIDB Bzimport
Modified: 2025-11-26 11:25 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-01 08:02:22 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.