CVE-2025-38314
Last modified
CVE-2025-38314 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.13, < 6.15.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-38314?
How severe is CVE-2025-38314?
How do I fix CVE-2025-38314?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-38309In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3831Log files uploaded during troubleshooting by the Harmony SAS…9.8
- CVE-2025-38310In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38311In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38312In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38313In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38315In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38316In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38317In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38318In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38319In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3832The FuseDesk plugin for WordPress is vulnerable to Stored Cr…6.4
Are you affected by CVE-2025-38314?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
