# CVE-2021-47161: spi: spi-fsl-dspi: Fix a resource leak in an error handling 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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-03-25T09:16:15.132Z
- Modified: 2026-06-17T04:16:48.010Z
- Weaknesses: CWE-209
- 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: 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

(As written by CVE List.)

## Affected

- Linux Linux: from 90ba37033cb94207e97c4ced9be575770438213b before 10a089bae827ec30ad9b6cb7048020a62fae0cfa; from 90ba37033cb94207e97c4ced9be575770438213b before 00450ed03a17143e2433b461a656ef9cd17c2f1d; from 90ba37033cb94207e97c4ced9be575770438213b before 15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1; from 90ba37033cb94207e97c4ced9be575770438213b before fe6921e3b8451a537e01c031b8212366bb386e3e; from 90ba37033cb94207e97c4ced9be575770438213b before 12391be4724acc9269e1845ccbd881df37de4b56; from 90ba37033cb94207e97c4ced9be575770438213b before 680ec0549a055eb464dce6ffb4bfb736ef87236e; 4.10 (not affected: before 4.10; from 4.14.241 up to 4.14.*; from 4.19.199 up to 4.19.*; from 5.4.124 up to 5.4.*; from 5.10.42 up to 5.10.*; from 5.12.9 up to 5.12.*; from 5.13 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/10a089bae827ec30ad9b6cb7048020a62fae0cfa> (patch)
- <https://git.kernel.org/stable/c/00450ed03a17143e2433b461a656ef9cd17c2f1d> (patch)
- <https://git.kernel.org/stable/c/15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1> (patch)
- <https://git.kernel.org/stable/c/fe6921e3b8451a537e01c031b8212366bb386e3e> (patch)
- <https://git.kernel.org/stable/c/12391be4724acc9269e1845ccbd881df37de4b56> (patch)
- <https://git.kernel.org/stable/c/680ec0549a055eb464dce6ffb4bfb736ef87236e> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2021-47161 · Whole record: https://cve.day/CVE-2021-47161.json · Rebuilt by cve.day 2026-11-25T22:58:08.692Z
