VDB

CVE-2025-38064

CVE-2025-38064 PUBLISHED CVSS 7.8 HIGH

virtio: break and reset virtio devices on device_shutdown()

Reported by linux · Published June 18, 2025

In the Linux kernel, the following vulnerability has been resolved: virtio: break and reset virtio devices on device_shutdown() Hongyu reported a hang on kexec in a VM. QEMU reported invalid memory accesses during the hang. Invalid read at addr 0x102877002, size 2, region '(null)', reason: rejected Invalid write at addr 0x102877A44, size 2, region '(null)', reason: rejected ... It was traced down to virtio-console. Kexec works fine if virtio-console is not in use. The issue is that virtio-console continues to write to the MMIO even after underlying virtio-pci device is reset. Additionally, Eric noticed that IOMMUs are reset before devices, if devices are not reset on shutdown they continue to poke at guest memory and get errors from the IOMMU. Some devices get wedged then. The problem can be solved by breaking all virtio devices on virtio bus shutdown, then resetting them.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-tools-develAmazon Linux1:6.1.147-172.266.amzn2023
python3-perf6.12Amazon Linux1:6.12.37-61.105.amzn2023
kernel-headersAmazon Linux4.14.355-280.664.amzn2
kernel6.12-modules-extraAmazon Linux1:6.12.37-61.105.amzn2023
linux-azure-6.12Chainguard6.12.80-r0
kernel-livepatch-4.14.355-280.664Amazon Linux1.0-0.amzn2
kernel-livepatch-6.1.147-172.266Amazon Linux1:1.0-0.amzn2023
kernel-libbpf-staticAmazon Linux1:6.1.147-172.266.amzn2023
perfAmazon Linux4.14.355-280.664.amzn2, 1:6.1.147-172.266.amzn2023
linux-aws-6.12Chainguard6.12.80-r0
python3-perfAmazon Linux1:6.1.147-172.266.amzn2023
linux-vmware-6.12Chainguard6.12.80-r0

9 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxec3d41c4db4c21164332826ea8d812f94f2f6886, ec3d41c4db4c21164332826ea8d812f94f2f6886, ec3d41c4db4c21164332826ea8d812f94f2f6886
LinuxLinux2.6.24, 0, 6.1.191
amazon:2023kernel-tools-devel0
amazon:2023python3-perf6.120
amazon:2kernel-headers0
amazon:2023kernel6.12-modules-extra0
chainguardlinux-azure-6.120
amazon:2kernel-livepatch-4.14.355-280.6640
amazon:2023kernel-livepatch-6.1.147-172.2660
amazon:2023kernel-libbpf-static0
amazon:2perf0
chainguardlinux-aws-6.120
amazon:2023python3-perf0
chainguardlinux-vmware-6.120
amazon:2023kernel6.12-libbpf-static0
amazon:2023perf0
amazon:2023perf6.120
amazon:2023bpftool6.120
amazon:2python-perf0
amazon:2023kernel6.12-modules-extra-common0

…and 25 more

Timeline

  • Jun 17, 2025 CVE Published
  • Jun 18, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 18, 2025 Coalition ESS Score (13 in total, the first dated here)
  • Oct 12, 2025 PoC Published (6 in total, the first dated here)
  • Dec 15, 2025 Security Advisory (276 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (264 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38064
vulnetix vdb fixes CVE-2025-38064

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38064/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›