CVE-2025-38064

CVE-2025-38064

High · published June 18, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
8.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00190 · 8.2th percentile
Published
2025-06-18T14:15Z
Affected products (1)
ProductVersionsFixed in
linux/linux_kernel< 6.14.96.14.9
References (4)
EPSS history
Timeline
  • 18 JUN 09:33Z
    virtio: break and reset virtio devices on device_shutdown()
    cvelistv5