
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-38314 is a vulnerability discovered in the Linux kernel's virtio-pci component, specifically related to the result size returned for admin command completion. The vulnerability was disclosed on July 10, 2025, affecting the Linux kernel's virtio-pci subsystem (NVD CVE).
The vulnerability stems from the virtio_pci_admin_dev_parts_get() function returning a result size that is 8 bytes larger than the actual result data size. This occurs because the result_sg_size field is filled with the result length from virtqueue_get_buf(), which includes both the data size and an additional 8 bytes of status. The vulnerability has been assigned a CVSS v3.1 score of 5.5 (Moderate) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (Red Hat CVE).
The vulnerability results in two primary issues: 1) The state transferred to the destination includes 8 bytes of extra data at the end, and 2) The allocated buffer in the kernel may be smaller than the returned size, which can lead to failures when reading beyond the allocated size (NVD CVE).
A fix has been implemented by subtracting the status size from the result of virtqueue_get_buf(). The fix has been tested through live migrations with virtio-net, virtio-net-transitional, and virtio-blk devices (NVD CVE).
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."