What’s Vulnerable › Vulnerabilities
CVE-2021-47161: spi: spi-fsl-dspi: Fix a resource leak in an error handling path
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-25 · updated 2026-06-17
- Weakness: CWE-209
Description
In the Linux kernel, the following vulnerability has been resolved: spi: spi-fsl-dspi: Fix a resource leak in an error handling path 'dspi_request_dma()' should be undone by a 'dspi_release_dma()' call in the error handling path of the probe function, as already done in the remove function
Affected products
- Linux kernel: from 4.10 before 4.14.241; from 4.15 before 4.19.199; from 4.20 before 5.4.124; from 5.5 before 5.10.42; from 5.11 before 5.12.9; 5.13-rc1, 5.13-rc2, 5.13-rc3 — fixed in 4.14.241, 4.19.199, 5.10.42, 5.12.9, 5.4.124
How to fix
Upgrade to a fixed version: Linux kernel 4.14.241, 4.19.199, 5.10.42, 5.12.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/00450ed03a17143e2433b461a656ef9cd17c2f1d
- https://git.kernel.org/stable/c/10a089bae827ec30ad9b6cb7048020a62fae0cfa
- https://git.kernel.org/stable/c/12391be4724acc9269e1845ccbd881df37de4b56
- https://git.kernel.org/stable/c/15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1
- https://git.kernel.org/stable/c/680ec0549a055eb464dce6ffb4bfb736ef87236e
- https://git.kernel.org/stable/c/fe6921e3b8451a537e01c031b8212366bb386e3e
- https://git.kernel.org/stable/c/00450ed03a17143e2433b461a656ef9cd17c2f1d
- https://git.kernel.org/stable/c/10a089bae827ec30ad9b6cb7048020a62fae0cfa
- https://git.kernel.org/stable/c/12391be4724acc9269e1845ccbd881df37de4b56
- https://git.kernel.org/stable/c/15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1
- https://git.kernel.org/stable/c/680ec0549a055eb464dce6ffb4bfb736ef87236e
- https://git.kernel.org/stable/c/fe6921e3b8451a537e01c031b8212366bb386e3e
Get alerted when CVE-2021-47161 or the next vulnerability affects your stack