CVE-2025-38064
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools-devel | Amazon Linux | 1:6.1.147-172.266.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.37-61.105.amzn2023 |
| kernel-headers | Amazon Linux | 4.14.355-280.664.amzn2 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.37-61.105.amzn2023 |
| linux-azure-6.12 | Chainguard | 6.12.80-r0 |
| kernel-livepatch-4.14.355-280.664 | Amazon Linux | 1.0-0.amzn2 |
| kernel-livepatch-6.1.147-172.266 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 1:6.1.147-172.266.amzn2023 |
| perf | Amazon Linux | 4.14.355-280.664.amzn2, 1:6.1.147-172.266.amzn2023 |
| linux-aws-6.12 | Chainguard | 6.12.80-r0 |
| python3-perf | Amazon Linux | 1:6.1.147-172.266.amzn2023 |
| linux-vmware-6.12 | Chainguard | 6.12.80-r0 |
9 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ec3d41c4db4c21164332826ea8d812f94f2f6886, ec3d41c4db4c21164332826ea8d812f94f2f6886, ec3d41c4db4c21164332826ea8d812f94f2f6886 |
| Linux | Linux | 2.6.24, 0, 6.1.191 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| chainguard | linux-azure-6.12 | 0 |
| amazon:2 | kernel-livepatch-4.14.355-280.664 | 0 |
| amazon:2023 | kernel-livepatch-6.1.147-172.266 | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2 | perf | 0 |
| chainguard | linux-aws-6.12 | 0 |
| amazon:2023 | python3-perf | 0 |
| chainguard | linux-vmware-6.12 | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
…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