Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2025-39893

spi: spi-qpic-snand: unregister ECC engine on probe error and device remove

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 7304d1909080ef0c9da703500a97f46c98393fcd to < e4de48e66af17547727bb2e4b1867952817edff7affected
  • 7304d1909080ef0c9da703500a97f46c98393fcd to < 1991a458528588ff34e98b6365362560d208710faffected

Linux Linux

Default version status: affected

  • 6.15affected
  • 0 to < 6.15unaffected
  • 6.16.6 to ≤ 6.16.*unaffected
  • 6.17 to ≤ *unaffected

References