Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38314

published high CVSS 3.1 · 7.3

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

Published
10 Jul 2025, 07:42:21 UTC
Updated
05 Aug 2026, 12:01:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux704806ca400e5daa86c110f14bfdda9d28203bb7 to < 920b6720bb63893b81516c0c45884a8350f9e4bf · 704806ca400e5daa86c110f14bfdda9d28203bb7 to < 9ef41ebf787fcbde99ac404ae473f8467641f983 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.15.3 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-docaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-205.92.4.2.el10uek ELSA-2026-500150
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150
Oracle Linux 9 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-205.92.4.2.el9uek ELSA-2026-500150

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

9

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.3 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
Scenarios
en: AV:L - The buggy completion handler is only driven by admin-vq commands issued from the virtio VFIO variant driver, reached through local `VFIO_DEVICE_FEATURE` migration-state ioctls and `read()` on the migration anon-inode fd. Nothing on the path processes remote or guest-supplied input, so the attacker needs local access to the host's VFIO device node. AC:L - The off-by-8 is unconditional — every `virtio_pci_admin_dev_parts_get()` completion returns `len` including the status SG, so the attacker simply performs a normal STOP_COPY/PRE_COPY save and reads the fd. There is no race, no timing window, and no dependence on memory layout the attacker cannot influence. PR:L - Neither `virtiovf_pci_set_device_state()` nor the save-fd `read()` path performs any capability check; access is gated only by permissions on the VFIO device/group node, which in the standard libvirt/QEMU model are delegated to an unprivileged VMM user. That is low privilege, not genuine host root. UI:N - The attacker drives the migration state transition and reads the migration file descriptor entirely on their own. No victim action, cooperation, or pre-existing migration in progress is required. S:U - The disclosed data and the failing operation both belong to the host kernel's own security authority, with the leak flowing to the same userspace process that already owns the VFIO device. No VM, IOMMU, or sandbox boundary is crossed by the defect itself. C:H - Because the migration buffer pages are allocated via `alloc_pages_bulk()` without `__GFP_ZERO`, the 8 bytes past the device-written data are stale kernel page contents that `virtiovf_buf_read()` copies to userspace and that are then transmitted off-host to the migration destination. Each save/precopy cycle allocates fresh pages, so the leak can be harvested repeatedly to sample arbitrary previously-freed memory — kernel pointers, page-cache contents, or other tenants' data. I:L - The inflated size propagates into `virtiovf_add_buf_header()`, so the record written into the migration stream is 8 bytes too long and the destination feeds a corrupted device-parts blob to `virtio_pci_admin_dev_parts_set()`, modifying the migrated guest's device state. There is no out-of-bounds or attacker-controlled write in kernel memory, so the modification is bounded. A:H - Whenever the device-parts size is page-aligned, `res_size` exceeds `buf->allocated_length` and `virtiovf_get_migration_page()` returns NULL, making every `read()` on the migration fd fail with `-EINVAL` and aborting live migration for that device outright. Combined with the malformed state blob, the migrated guest's virtio device cannot be restored on the destination, denying availability of the workload being migrated.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 704806ca400e5daa86c110f14bfdda9d28203bb7 to < 920b6720bb63893b81516c0c45884a8350f9e4bf (affected · git)704806ca400e5daa86c110f14bfdda9d28203bb7 to < 9ef41ebf787fcbde99ac404ae473f8467641f983 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.13 (affected)0 to < 6.13 (unaffected · semver)6.15.3 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
47b10d53ddf293cd79b25442fc19b7124ac05313ea3a3c8beadb7374be7a3957
Ingested
23 Sep 2026, 08:46:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected