Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: spi: qup: 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 64ff247a978facc437d40f0c9b754675846a98f0 before fd53f41bd86daa39b454fd4637a908ff2123547f; affected 64ff247a978facc437d40f0c9b754675846a98f0 before 8632384337038b97910c2f7bb5a3f377aa68d001; affected 64ff247a978facc437d40f0c9b754675846a98f0 before bc88243bbe6140d289bb32b4ee4607ba5ce1124a; affected 64ff247a978facc437d40f0c9b754675846a98f0 before f345d4d71e87d878437417ffbb9a7d4e16d235eb; affected 64ff247a978facc437d40f0c9b754675846a98f0 before 2d0f63077f481f11a07f20eab1c1f4367dfaef32; affected 64ff247a978facc437d40f0c9b754675846a98f0 before 55ecdcd12bc176b86fecbcb125ac814ac8fe857a; affected 64ff247a978facc437d40f0c9b754675846a98f0 before 49c17fccae36505550c9121891722fff337f148a; affected 64ff247a978facc437d40f0c9b754675846a98f0 before 61f49171a43ab1f80c73c5c88c508770c461e0f2 |
| Linux / Linux | affected 3.15; unaffected 0 before 3.15; unaffected 4.19.283 through 4.19.*; unaffected 5.4.243 through 5.4.*; 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/fd53f41bd86daa39b454fd4637a908ff2123547f
- https://git.kernel.org/stable/c/8632384337038b97910c2f7bb5a3f377aa68d001
- https://git.kernel.org/stable/c/bc88243bbe6140d289bb32b4ee4607ba5ce1124a
- https://git.kernel.org/stable/c/f345d4d71e87d878437417ffbb9a7d4e16d235eb
- https://git.kernel.org/stable/c/2d0f63077f481f11a07f20eab1c1f4367dfaef32
- https://git.kernel.org/stable/c/55ecdcd12bc176b86fecbcb125ac814ac8fe857a
- https://git.kernel.org/stable/c/49c17fccae36505550c9121891722fff337f148a
- https://git.kernel.org/stable/c/61f49171a43ab1f80c73c5c88c508770c461e0f2