
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."