{"id":"CVE-2023-53225","summary":"spi: imx: Don't skip cleanup in remove's error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: imx: Don't skip cleanup in remove's error path\n\nReturning early in a platform driver's remove callback is wrong. In this\ncase the dma resources are not released in the error path. this is never\nretried later and so this is a permanent leak. To fix this, only skip\nhardware disabling if waking the device fails.","modified":"2026-04-02T09:43:50.264210Z","published":"2025-09-15T14:21:54.138Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53225.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/11951c9e3f364d7ae3b568a0e52c8335d43066b5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/57a463226638f1ceabbb029cbd21b0c94640f1b5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d16305a1535873e0a8a8ae92ea2d9106ec2d7df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa93a46f998a9069368026ac52bba96868c59157"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b64cb3f085fed296103c91f0db6acad30a021b36"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f90822ad63d11301e425311dac0c8e12ca1737b8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53225.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53225"},{"type":"PACKAGE","url":"https://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":"d593574aff0ab846136190b1729c151c736727ec"},{"fixed":"aa93a46f998a9069368026ac52bba96868c59157"},{"fixed":"f90822ad63d11301e425311dac0c8e12ca1737b8"},{"fixed":"6d16305a1535873e0a8a8ae92ea2d9106ec2d7df"},{"fixed":"57a463226638f1ceabbb029cbd21b0c94640f1b5"},{"fixed":"b64cb3f085fed296103c91f0db6acad30a021b36"},{"fixed":"11951c9e3f364d7ae3b568a0e52c8335d43066b5"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"fc58a98f1c98b22d31c53913cca38d5c43807cb4"},{"last_affected":"28ae79a518421348abfc2a2dffd6a6b6e3699476"},{"last_affected":"b6aaaaed67b170a9841f0f598cd45ccbfe76e15e"},{"last_affected":"f84a8d446a16379df5844bc2bd50f0b7431a4718"},{"last_affected":"1333c3e996eb799286ee2ef2c01752da45bf926f"},{"last_affected":"cfd96cbd607ab5d63a33cd63673221f4d572ea8c"},{"last_affected":"bac4bf53ca7c65d6c06808aab70c6caa0b9c78b9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53225.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}