CVE-2021-47161
spi: spi-fsl-dspi: Fix a resource leak in an error handling path
Mitigation
- Upgrade Linux to 680ec0549a055eb464dce6ffb4bfb736ef87236e or later.
Who should check
- Anyone running Linux >= 90ba37033cb94207e97c4ced9be575770438213b, < 10a089bae827ec30ad9b6cb7048020a62fae0cfa; >= 90ba37033cb94207e97c4ced9be575770438213b, < 00450ed03a17143e2433b461a656ef9cd17c2f1d; >= 90ba37033cb94207e97c4ced9be575770438213b, < 15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1; >= 90ba37033cb94207e97c4ced9be575770438213b, < fe6921e3b8451a537e01c031b8212366bb386e3e; >= 90ba37033cb94207e97c4ced9be575770438213b, < 12391be4724acc9269e1845ccbd881df37de4b56; >= 90ba37033cb94207e97c4ced9be575770438213b, < 680ec0549a055eb464dce6ffb4bfb736ef87236e
- Anyone running Linux 4.10
Vulnerability facts
- Affected
- Linux >= 90ba37033cb94207e97c4ced9be575770438213b, < 10a089bae827ec30ad9b6cb7048020a62fae0cfa; >= 90ba37033cb94207e97c4ced9be575770438213b, < 00450ed03a17143e2433b461a656ef9cd17c2f1d; >= 90ba37033cb94207e97c4ced9be575770438213b, < 15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1; >= 90ba37033cb94207e97c4ced9be575770438213b, < fe6921e3b8451a537e01c031b8212366bb386e3e; >= 90ba37033cb94207e97c4ced9be575770438213b, < 12391be4724acc9269e1845ccbd881df37de4b56; >= 90ba37033cb94207e97c4ced9be575770438213b, < 680ec0549a055eb464dce6ffb4bfb736ef87236e; Linux 4.10
- Fixed in
- Linux 10a089bae827ec30ad9b6cb7048020a62fae0cfa, Linux 00450ed03a17143e2433b461a656ef9cd17c2f1d, Linux 15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1, Linux 12391be4724acc9269e1845ccbd881df37de4b56, Linux 680ec0549a055eb464dce6ffb4bfb736ef87236e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- CWE
- CWE-209
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 90ba37033cb94207e97c4ced9be575770438213b, < 10a089bae827ec30ad9b6cb7048020a62fae0cfa; >= 90ba37033cb94207e97c4ced9be575770438213b, < 00450ed03a17143e2433b461a656ef9cd17c2f1d; >= 90ba37033cb94207e97c4ced9be575770438213b, < 15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1; >= 90ba37033cb94207e97c4ced9be575770438213b, < fe6921e3b8451a537e01c031b8212366bb386e3e; >= 90ba37033cb94207e97c4ced9be575770438213b, < 12391be4724acc9269e1845ccbd881df37de4b56; >= 90ba37033cb94207e97c4ced9be575770438213b, < 680ec0549a055eb464dce6ffb4bfb736ef87236e | — | cvelist |
| Linux | 4.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-47161. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47161.md Affected: Linux >= 90ba37033cb94207e97c4ced9be575770438213b, < 10a089bae827ec30ad9b6cb7048020a62fae0cfa; >= 90ba37033cb94207e97c4ced9be575770438213b, < 00450ed03a17143e2433b461a656ef9cd17c2f1d; >= 90ba37033cb94207e97c4ced9be575770438213b, < 15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1; >= 90ba37033cb94207e97c4ce… Fixed in: Linux 10a089bae827ec30ad9b6cb7048020a62fae0cfa, Linux 00450ed03a17143e2433b461a656ef9cd17c2f1d, Linux 15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1, Linux 12391be4724acc9269e1845ccbd881df37de4b56, Linux 680ec0549a055eb464dce6ffb4bfb736ef87236e Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2021-47161 being exploited?
There is no confirmed exploitation: CVE-2021-47161 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47161?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-47161?
Linux >= 90ba37033cb94207e97c4ced9be575770438213b, < 10a089bae827ec30ad9b6cb7048020a62fae0cfa; >= 90ba37033cb94207e97c4ced9be575770438213b, < 00450ed03a17143e2433b461a656ef9cd17c2f1d; >= 90ba37033cb94207e97c4ced9be575770438213b, < 15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1; >= 90ba37033cb94207e97c4ced9be575770438213b, < fe6921e3b8451a537e01c031b8212366bb386e3e; >= 90ba37033cb94207e97c4ced9be575770438213b, < 12391be4724acc9269e1845ccbd881df37de4b56; >= 90ba37033cb94207e97c4ced9be575770438213b, < 680ec0549a055eb464dce6ffb4bfb736ef87236e; Linux 4.10.
Is there a fix for CVE-2021-47161?
Yes. Fixed in Linux 10a089bae827ec30ad9b6cb7048020a62fae0cfa, Linux 00450ed03a17143e2433b461a656ef9cd17c2f1d, Linux 15d1cc4b4b585f9a2ce72c52cca004d5d735bdf1, Linux 12391be4724acc9269e1845ccbd881df37de4b56, Linux 680ec0549a055eb464dce6ffb4bfb736ef87236e. Upgrade Linux to 680ec0549a055eb464dce6ffb4bfb736ef87236e or later.
How do I check if I'm affected by CVE-2021-47161?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.