
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-38314 is a buffer over-read vulnerability in the Linux kernel's virtio-pci subsystem, specifically in the virtio_pci_admin_dev_parts_get() function. The result size returned by this function is 8 bytes larger than the actual result data size because result_sg_size is populated with the raw output of virtqueue_get_buf(), which includes both the data payload and an 8-byte status field. Affected versions are Linux kernel 6.13 through 6.15.2 (exclusive of 6.15.3). It was published on July 10, 2025, and carries a CVSS v3.1 base score of 5.5 (Medium) (Feedly).
The root cause is an off-by-one-style size accounting error (CWE-131: Incorrect Calculation of Buffer Size) in the virtio-pci admin command path. When virtqueue_get_buf() returns the total buffer length, it includes an 8-byte status structure appended after the actual result data; the code incorrectly assigns this inflated value to result_sg_size without subtracting the status size. This produces two consequences: state data transferred during live migration includes 8 spurious trailing bytes, and kernel code that subsequently reads from the result buffer may attempt to access memory beyond the allocated region, causing a failure or potential memory corruption. The fix, committed to the stable kernel tree, subtracts the status size constant from the virtqueue_get_buf() return value before storing it (Feedly, Kernel Patch 1, Kernel Patch 2).
Successful exploitation can cause denial of service through kernel failures when code attempts to read beyond the allocated buffer boundary, and may result in memory corruption affecting the integrity of live migration state for virtio-net, virtio-net-transitional, and virtio-blk devices. There is no confidentiality impact (no data disclosure to unprivileged users), and the scope is limited to the local system. The primary risk is availability loss on virtualized workloads performing live migrations on affected kernel versions (Feedly).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The vulnerability requires local access with low privileges (e.g., a guest VM user or local system user with access to virtio admin commands), limiting its attack surface. The EPSS score is approximately 0.018% (0.000180), indicating a very low probability of exploitation in the near term. It is not listed in the CISA Known Exploited Vulnerabilities catalog (Feedly).
The primary remediation is to upgrade the Linux kernel to version 6.15.3 or later, which includes the fix that subtracts the status size from the virtqueue_get_buf() result. Patches are available in the Linux kernel stable repository at commits 920b6720bb63893b81516c0c45884a8350f9e4bf and 9ef41ebf787fcbde99ac404ae473f8467641f983. Ubuntu has issued security notices (USN-7769-2, USN-7770-1, USN-7789-2) for affected kernel variants including Azure, real-time, and Raspberry Pi kernels. As a temporary workaround for systems that cannot be patched immediately, restrict local user access and avoid performing live migrations of virtio-net or virtio-blk devices until the patch is applied (Feedly, Ubuntu USN-7770-1, Ubuntu USN-7769-2).
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."