PoC Monitor
← All CVEs
CVE-2025-38314published 10 Jul 2025 07:42 UTCData: JSON · API

Linux

virtio-pci: Fix result size returned for the admin command completion

In the Linux kernel, the following vulnerability has been resolved: virtio-pci: Fix result size returned for the admin command completion The result size returned by virtio_pci_admin_dev_parts_get() is 8 bytes larger than the actual result data size. This occurs because the result_sg_size field of the command is filled with the result length from virtqueue_get_buf(), which includes both the data size and an additional 8 bytes of status. This oversized result size causes two issues: 1. The state transferred to the destination includes 8 bytes of extra data at the end. 2. The allocated buffer in the kernel may be smaller than the returned size, leading to failures when reading beyond the allocated size. The commit fixes this by subtracting the status size from the result of virtqueue_get_buf(). This fix has been tested through live migrations with virtio-net, virtio-net-transitional, and virtio-blk devices.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.3high · scored by CNA
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 704806ca400e5daa86c110f14bfdda9d28203bb7, < 920b6720bb63893b81516c0c45884a8350f9e4bf
  • >= 704806ca400e5daa86c110f14bfdda9d28203bb7, < 9ef41ebf787fcbde99ac404ae473f8467641f983

Fixed in 920b6720bb63893b81516c0c45884a8350f9e4bf, 9ef41ebf787fcbde99ac404ae473f8467641f983

Linux Linux
  • 6.13

Fixed in 0, 6.15.3, 6.16

Mitigation

Upgrade Linux to 920b6720bb63893b81516c0c45884a8350f9e4bf or 9ef41ebf787fcbde99ac404ae473f8467641f983 or later.

Upgrade Linux to 0 or 6.15.3 or 6.16 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published10 Jul 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.