
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-5158 is a vulnerability discovered in the Linux Kernel's virtio ring implementation, specifically in the vringh_kiov_advance function within drivers/vhost/vringh.c. The flaw was found in the host side of a virtio ring and was publicly disclosed on September 25, 2023. This vulnerability affects Linux Kernel versions up to 5.12.19 (NVD).
The vulnerability stems from improper handling of iov buffers in the vringh_kiov_advance() function. The issue occurs when processing zero-length descriptors, where the code fails to properly advance the iov->i counter in certain conditions. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H by NIST, while Red Hat assessed it with a score of 6.5 (Medium) with vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H (NVD).
The vulnerability can result in a denial of service condition, allowing a guest virtual machine to crash the host system through the exploitation of zero-length descriptors. This poses a significant risk in virtualized environments where guest isolation is crucial (Ubuntu Security).
A fix has been developed and merged upstream in the Linux kernel. The solution involves modifying the vringh_iov_xfer() function rather than completely reverting the original implementation. The patch has been merged into the mainline kernel and backported to stable branches (Red Hat Bugzilla).
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."