CVE-2021-47467
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47467 affects the Linux kernel's KUnit testing framework. The vulnerability was discovered in the kfree_at_end() function where a reference counting issue occurs. The issue was disclosed on May 22, 2024, and involves a reference count leak that happens when kunit_alloc_and_get_resource() is called but fails to properly handle the returned resource object (Kernel Git).

Technical details

The vulnerability stems from a reference counting issue in the normal execution path of kfree_at_end(). When kunit_alloc_and_get_resource() is invoked, the function fails to handle the returned resource object properly, whose reference count is increased inside the function. This oversight results in a reference count leak. The CVSS v3.1 base score for this vulnerability is 5.3 (Medium) with a vector of AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L (NVD).

Impact

The reference count leak can lead to resource exhaustion in the Linux kernel's KUnit testing framework. This could potentially affect system stability and resource management, though the impact is limited to availability issues without compromising confidentiality or integrity (CISA-ADP).

Exploitability

The vulnerability exists in the normal execution path of the KUnit testing framework and requires no special privileges or user interaction to trigger. However, it is primarily a resource management issue rather than a security exploit vector (NVD).

Mitigation and workarounds

The issue has been fixed by replacing the call to kunit_alloc_and_get_resource() with kunit_alloc_resource(). This change ensures proper reference counting management. The fix has been implemented in the kernel source code and is available through the appropriate kernel updates (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-64597CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 06, 2026
CVE-2026-68480HIGH8.8
  • Linux Kernel logoLinux Kernel
  • rv
NoYesAug 06, 2026
CVE-2026-64598HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesAug 06, 2026
CVE-2026-64604HIGH7.7
  • Linux Kernel logoLinux Kernel
  • linux-hwe-5.15
NoYesAug 06, 2026
CVE-2026-64603NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.8
NoYesAug 06, 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