What’s Vulnerable › Vulnerabilities

CVE-2023-53225: spi: imx: Don't skip cleanup in remove's error path

Description

In the Linux kernel, the following vulnerability has been resolved: spi: imx: Don't skip cleanup in remove's error path Returning early in a platform driver's remove callback is wrong. In this case the dma resources are not released in the error path. this is never retried later and so this is a permanent leak. To fix this, only skip hardware disabling if waking the device fails.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 3.17, 3.19, 4.10, 4.15. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53225 or the next vulnerability affects your stack