CVE-2023-53225
JSON

5.5medium

spi: imx: Don't skip cleanup in remove's error path

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.17% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom d593574aff0ab846136190b1729c151c736727ec before aa93a46f998a9069368026ac52bba96868c59157, from d593574aff0ab846136190b1729c151c736727ec before f90822ad63d11301e425311dac0c8e12ca1737b8, from d593574aff0ab846136190b1729c151c736727ec before 6d16305a1535873e0a8a8ae92ea2d9106ec2d7df, from d593574aff0ab846136190b1729c151c736727ec before 57a463226638f1ceabbb029cbd21b0c94640f1b5, from d593574aff0ab846136190b1729c151c736727ec before b64cb3f085fed296103c91f0db6acad30a021b36, from d593574aff0ab846136190b1729c151c736727ec before 11951c9e3f364d7ae3b568a0e52c8335d43066b5, fc58a98f1c98b22d31c53913cca38d5c43807cb4, 28ae79a518421348abfc2a2dffd6a6b6e3699476 and 13 more
Not affected: before 4.16, from 5.10.180 up to 5.10.*, from 5.15.111 up to 5.15.*, from 6.1.28 up to 6.1.*, from 6.2.15 up to 6.2.*, from 6.3.2 up to 6.3.*
CVE List
linux linux_kernelfrom 3.16.57 before 3.17, from 3.18.94 before 3.19, from 4.1.50 before 4.2, from 4.4.115 before 4.5, from 4.9.80 before 4.10, from 4.14.17 before 4.15, from 4.15.1 before 5.10.180, from 5.11 before 5.15.111 and 3 moreNVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53225 changed 2026-05-23CVE Terms of Use
NVDCVE-2023-53225 changed 2026-06-17Public domain