CVE-2021-47104
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47104 is a memory leak vulnerability discovered in the Linux kernel's InfiniBand QLogic (IB/qib) driver. The issue specifically affects the qib_user_sdma_queue_pkts() function where an incorrect goto label was used for error handling, resulting in a missed cleanup of packet allocation (CVE).

Technical details

The vulnerability stems from a coding error in the qib_user_sdma_queue_pkts() function within the Linux kernel's IB/qib driver. The issue occurs when the wrong goto label ('free_pbc' instead of 'free_pkt') was used in the error case, which caused a failure to properly clean up the packet allocation. This was identified through Coverity scan with ID 1493352 as a "Resource leak" issue (Kernel Commit).

Impact

The vulnerability results in a memory leak in the Linux kernel's InfiniBand QLogic driver. When triggered, the system would fail to properly free allocated memory resources, potentially leading to resource exhaustion over time (CVE).

Exploitability

The vulnerability requires local access to the system and the ability to interact with the InfiniBand QLogic driver. No known exploits have been reported in the wild (Red Hat).

Mitigation and workarounds

The issue has been fixed in the Linux kernel through a patch that corrects the goto label from 'free_pbc' to 'free_pkt' in the error handling code path. The fix was implemented in commit bee90911e0138c76ee67458ac0d58b38a3190f65 and has been backported to various stable kernel versions (Kernel Commit).

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