Menu

Star on GitHub · 3.2k

CVE-2025-38314

7.3 · HIGH

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_ge…

Published Jul 10, 2025EPSS 0.14%

Overview

CVE-2025-38314 is a high-severity vulnerability. It was published on July 10, 2025 and has a CVSS 3.1 base score of 7.3 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-38314?

CVE-2025-38314 is a high-severity vulnerability. It was published on July 10, 2025 and has a CVSS 3.1 base score of 7.3 (HIGH).

How severe is CVE-2025-38314?

This vulnerability has a CVSS 3.1 base score of 7.3, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-38314?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-38314?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-38314 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2025

View all