
Cloud Vulnerability DB
A community-led vulnerabilities database
In the Linux kernel, a vulnerability (CVE-2021-47554) was discovered in the vdpa_sim component that could lead to system crashes. The issue occurs when an uninitialized iova_domain is accessed, specifically when an error occurs before initializing the iova_domain in vdpasim_create(). This vulnerability affects Linux kernel versions from 5.13 up to (excluding) 5.15.6, as well as versions 5.16-rc1 and 5.16-rc2 (NVD).
The vulnerability stems from improper handling of an uninitialized iova_domain in the vdpa_sim component. When an error occurs before the initialization of iova_domain in vdpasim_create(), the system attempts to access an uninitialized resource, resulting in a NULL pointer dereference. The issue manifests in the call trace through put_iova_domain and related functions. Additionally, the vulnerability can trigger warnings in drivers/iommu/iova.c when iova_cache_put() is invoked without a preceding iova_cache_get(). The CVSS v3.1 base score for this vulnerability is 5.5 (Medium), with a vector string of CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
The primary impact of this vulnerability is system stability, as it can cause kernel crashes due to NULL pointer dereference. When triggered, the system will experience a crash, affecting availability. The vulnerability specifically impacts the vdpa_sim component's functionality and system stability, but does not appear to have confidentiality or integrity implications (NVD).
The vulnerability requires local access and can be triggered when an error occurs during the vdpa_sim device initialization process. The exploitation path involves scenarios where the iova_domain initialization fails in vdpasim_create(). The attack complexity is considered low, but requires local privileges to exploit (NVD).
The vulnerability has been patched in the Linux kernel. The fix involves adding proper checks to ensure the iova_domain is initialized before attempting to use it, and ensuring iova_cache_put() is only called when iova_cache_get() has been previously invoked. The patch specifically adds a condition to check if vdpa_get_dma_dev(vdpa) is valid before performing operations on iova_domain (Kernel Patch).
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."