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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-09-15T14:21:54.138Z
- Modified: 2026-06-17T06:44:33.540Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; b6aaaaed67b170a9841f0f598cd45ccbfe76e15e; f84a8d446a16379df5844bc2bd50f0b7431a4718; 1333c3e996eb799286ee2ef2c01752da45bf926f; cfd96cbd607ab5d63a33cd63673221f4d572ea8c; and 9 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.*; from 6.4 up to *)
- linux linux_kernel: from 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; from 5.16 before 6.1.28; from 6.2 before 6.2.15; from 6.3 before 6.3.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/aa93a46f998a9069368026ac52bba96868c59157> (patch)
- <https://git.kernel.org/stable/c/f90822ad63d11301e425311dac0c8e12ca1737b8> (patch)
- <https://git.kernel.org/stable/c/6d16305a1535873e0a8a8ae92ea2d9106ec2d7df> (patch)
- <https://git.kernel.org/stable/c/57a463226638f1ceabbb029cbd21b0c94640f1b5> (patch)
- <https://git.kernel.org/stable/c/b64cb3f085fed296103c91f0db6acad30a021b36> (patch)
- <https://git.kernel.org/stable/c/11951c9e3f364d7ae3b568a0e52c8335d43066b5> (patch)

## Sources

- CVE List: [CVE-2023-53225](https://www.cve.org/CVERecord?id=CVE-2023-53225), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2023-53225](https://nvd.nist.gov/vuln/detail/CVE-2023-53225), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-53225 · Whole record: https://cve.day/CVE-2023-53225.json · Rebuilt by cve.day 2026-11-25T22:58:34.784Z
