Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38064

HIGH 7.8EPSS 15%

virtio: break and reset virtio devices on device_shutdown()

Mitigation

  • Upgrade Linux to 8bd2fa086a04886798b505f28db4002525895203 or later.

Who should check

  • Anyone running Linux >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 0c03e32494dd0bbcc301523e5ae567c2f567a7d9; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < acdfe206be6c70ec55dc8bfdb1a22036d10fae26; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 1eaa83fd94ed5e40d43139025f5acb7bcfed3b5f; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < aee42f3d57bfa37b2716df4584edeecf63b9df4c; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 8bd2fa086a04886798b505f28db4002525895203
  • Anyone running Linux 2.6.24

Vulnerability facts

Affected
Linux >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 0c03e32494dd0bbcc301523e5ae567c2f567a7d9; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < acdfe206be6c70ec55dc8bfdb1a22036d10fae26; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 1eaa83fd94ed5e40d43139025f5acb7bcfed3b5f; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < aee42f3d57bfa37b2716df4584edeecf63b9df4c; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 8bd2fa086a04886798b505f28db4002525895203; Linux 2.6.24
Fixed in
Linux 0c03e32494dd0bbcc301523e5ae567c2f567a7d9, Linux 1eaa83fd94ed5e40d43139025f5acb7bcfed3b5f, Linux 8bd2fa086a04886798b505f28db4002525895203
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 0c03e32494dd0bbcc301523e5ae567c2f567a7d9; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < acdfe206be6c70ec55dc8bfdb1a22036d10fae26; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 1eaa83fd94ed5e40d43139025f5acb7bcfed3b5f; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < aee42f3d57bfa37b2716df4584edeecf63b9df4c; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 8bd2fa086a04886798b505f28db4002525895203—cvelist
Linux2.6.24—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-38064. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38064.md
Affected: Linux >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 0c03e32494dd0bbcc301523e5ae567c2f567a7d9; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < acdfe206be6c70ec55dc8bfdb1a22036d10fae26; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 1eaa83fd94ed5e40d43139025f5acb7bcfed3b5f; >= ec3d41c4db4c21164332826…
Fixed in: Linux 0c03e32494dd0bbcc301523e5ae567c2f567a7d9, Linux 1eaa83fd94ed5e40d43139025f5acb7bcfed3b5f, Linux 8bd2fa086a04886798b505f28db4002525895203

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-38064 being exploited?

There is no confirmed exploitation: CVE-2025-38064 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-38064?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-38064?

Linux >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 0c03e32494dd0bbcc301523e5ae567c2f567a7d9; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < acdfe206be6c70ec55dc8bfdb1a22036d10fae26; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 1eaa83fd94ed5e40d43139025f5acb7bcfed3b5f; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < aee42f3d57bfa37b2716df4584edeecf63b9df4c; >= ec3d41c4db4c21164332826ea8d812f94f2f6886, < 8bd2fa086a04886798b505f28db4002525895203; Linux 2.6.24.

Is there a fix for CVE-2025-38064?

Yes. Fixed in Linux 0c03e32494dd0bbcc301523e5ae567c2f567a7d9, Linux 1eaa83fd94ed5e40d43139025f5acb7bcfed3b5f, Linux 8bd2fa086a04886798b505f28db4002525895203. Upgrade Linux to 8bd2fa086a04886798b505f28db4002525895203 or later.

How do I check if I'm affected by CVE-2025-38064?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors