CVE-2021-47161
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47161 affects the Linux kernel's SPI Freescale DSPI driver (spi-fsl-dspi). The vulnerability was discovered and disclosed in 2021, involving a resource leak in the error handling path of the probe function. Specifically, the 'dspi_request_dma()' function was not properly undone by a 'dspi_release_dma()' call in the error handling path, though this cleanup was correctly implemented in the remove function (Kernel Git).

Technical details

The vulnerability stems from a missing cleanup call in the error handling path of the probe function in the Freescale DSPI driver. When an error occurs during device initialization, the code failed to release previously allocated DMA resources, leading to a resource leak. The issue was introduced in the commit that added DMA support for Vybrid (90ba37033cb9) (Kernel Git). The CVSS v3.1 base score for this vulnerability is 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability could lead to resource exhaustion in the system due to unreleased DMA resources. This could potentially affect system stability and performance over time as resources remain allocated but unused (NVD).

Exploitability

The vulnerability requires local access and low privileges to exploit. It can only be triggered during device initialization when an error occurs in the probe function of the Freescale DSPI driver (NVD).

Mitigation and workarounds

The issue has been fixed by adding a proper cleanup call (dspi_release_dma) in the error handling path of the probe function. The fix has been implemented in the Linux kernel through a patch that ensures DMA resources are properly released when an error occurs during initialization (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74726NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 22, 2026
CVE-2026-74719NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 22, 2026
CVE-2026-74717NONEN/A
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management