CVE-2025-38314
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Mitigation and workarounds

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).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management