Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d593574aff0ab846136190b1729c151c736727ec before aa93a46f998a9069368026ac52bba96868c59157; affected d593574aff0ab846136190b1729c151c736727ec before f90822ad63d11301e425311dac0c8e12ca1737b8; affected d593574aff0ab846136190b1729c151c736727ec before 6d16305a1535873e0a8a8ae92ea2d9106ec2d7df; affected d593574aff0ab846136190b1729c151c736727ec before 57a463226638f1ceabbb029cbd21b0c94640f1b5; affected d593574aff0ab846136190b1729c151c736727ec before b64cb3f085fed296103c91f0db6acad30a021b36; affected d593574aff0ab846136190b1729c151c736727ec before 11951c9e3f364d7ae3b568a0e52c8335d43066b5; affected fc58a98f1c98b22d31c53913cca38d5c43807cb4; affected 28ae79a518421348abfc2a2dffd6a6b6e3699476; affected b6aaaaed67b170a9841f0f598cd45ccbfe76e15e; affected f84a8d446a16379df5844bc2bd50f0b7431a4718; affected 1333c3e996eb799286ee2ef2c01752da45bf926f; affected cfd96cbd607ab5d63a33cd63673221f4d572ea8c; affected bac4bf53ca7c65d6c06808aab70c6caa0b9c78b9; affected 3.16.57 before 3.17; affected 3.18.94 before 3.19; affected 4.1.50 before 4.2; affected 4.4.115 before 4.5; affected 4.9.80 before 4.10; affected 4.14.17 before 4.15; affected 4.15.1 before 4.16 |
| Linux / Linux | affected 4.16; unaffected 0 before 4.16; unaffected 5.10.180 through 5.10.*; unaffected 5.15.111 through 5.15.*; unaffected 6.1.28 through 6.1.*; unaffected 6.2.15 through 6.2.*; unaffected 6.3.2 through 6.3.*; unaffected 6.4 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/aa93a46f998a9069368026ac52bba96868c59157
- https://git.kernel.org/stable/c/f90822ad63d11301e425311dac0c8e12ca1737b8
- https://git.kernel.org/stable/c/6d16305a1535873e0a8a8ae92ea2d9106ec2d7df
- https://git.kernel.org/stable/c/57a463226638f1ceabbb029cbd21b0c94640f1b5
- https://git.kernel.org/stable/c/b64cb3f085fed296103c91f0db6acad30a021b36
- https://git.kernel.org/stable/c/11951c9e3f364d7ae3b568a0e52c8335d43066b5
ADP enrichment
No English description supplied.
No references supplied.