CVE-2025-38064 json
virtio: break and reset virtio devices on device_shutdown()
published 2025-06-18 16 mo ago modified 2026-10-30 10 d ago also EUVD-2025-18589
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 6.1.191, 6.6.160, 6.12.114, 6.14.9, 6.15
- linux Debian 13 6.12.115-2
- linux Debian 14 6.16.3-1
debian advisories DEBIAN-CVE-2025-38064
- linux-aws-6.14 Ubuntu 24.04 LTS 6.14.0-1013.13~24.04.1
- linux-gcp-6.14 Ubuntu 24.04 LTS 6.14.0-1016.17~24.04.1
- linux-oem-6.14 Ubuntu 24.04 LTS 6.14.0-1012.12
- linux-riscv-6.14 Ubuntu 24.04 LTS 6.14.0-32.32.1~24.04.1
- linux-oracle-6.14 Ubuntu 24.04 LTS 6.14.0-1013.13~24.04.1
- linux-nvidia-tegra Ubuntu 24.04 LTS 6.8.0-1035.38
- linux-azure-nvidia-6.14 Ubuntu 24.04 LTS 6.14.0-1007.7
- linux-realtime-6.14 Ubuntu Pro Realtime 24.04 LTS 6.14.0-1012.12~24.04.1
ubuntu advisories UBUNTU-CVE-2025-38064
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Real Time Module 15 SP6, openSUSE Leap 15.6 6.4.0-150600.10.49.1
- kernel-syms-rt Real Time Module 15 SP6, openSUSE Leap 15.6 6.4.0-150600.10.49.1
- kernel-rt_debug Real Time Module 15 SP6, openSUSE Leap 15.6 6.4.0-150600.10.49.1
- kernel-source-rt Real Time Module 15 SP6, openSUSE Leap 15.6 6.4.0-150600.10.49.1
- kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.11.1
- kernel-syms-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.11.1
- kernel-source-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.11.1
- kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.11.1
suse advisories SUSE-SU-2025:03023-1SUSE-SU-2025:03011-1SUSE-SU-2025:02997-1SUSE-SU-2025:02996-1SUSE-SU-2025:20586-1SUSE-SU-2025:20602-1
- git.kernel.org/stable/c/0c03e32494dd0bbcc301523e5ae567c2f567a7d9 commit
- git.kernel.org/stable/c/acdfe206be6c70ec55dc8bfdb1a22036d10fae26 commit
- git.kernel.org/stable/c/1eaa83fd94ed5e40d43139025f5acb7bcfed3b5f commit
- git.kernel.org/stable/c/aee42f3d57bfa37b2716df4584edeecf63b9df4c commit
- git.kernel.org/stable/c/8bd2fa086a04886798b505f28db4002525895203 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-38064 updated cvss 6.7
kernel: virtio: break and reset virtio devices on device_shutdown()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 24 d ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/0c03e32494dd0bbcc301523e5ae567c2f567a7d9
- git.kernel.org /stable/c/acdfe206be6c70ec55dc8bfdb1a22036d10fae26
- git.kernel.org /stable/c/1eaa83fd94ed5e40d43139025f5acb7bcfed3b5f
-
git.kernel.org
/stable/c/aee42f3d57bfa37b2716df4584edeecf63b9df4c
patch
-
git.kernel.org
/stable/c/8bd2fa086a04886798b505f28db4002525895203
patch
Sources
- CVE List CVE-2025-38064
- NVD CVE-2025-38064
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.