# CVE-2023-54296: KVM: SVM: Get source vCPUs from source VM for SEV-ES intrahost migration

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.26% (percentile 10, 2026-11-26)
- **Published:** 2025-12-30T12:23:33.141Z
- **Modified:** 2026-06-17T06:47:10.613Z

## Who should check

- Anyone running Linux \>= 6defa24d3b12bbd418bc8526dea1cbc605265c06, \< 5c18ace750e4d4d58d7da02d1c669bf21c824158; \>= 6defa24d3b12bbd418bc8526dea1cbc605265c06, \< 2ee4b180d51b12a45bdd3264629719ef6a572a73; \>= 6defa24d3b12bbd418bc8526dea1cbc605265c06, \< f1187ef24eb8f36e8ad8106d22615ceddeea6097; 229334a8b1d0d5e60d3bdd091bbc4552d5321c97; \>= 5.18.8, \< 5.19
- Anyone running Linux 5.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: SVM: Get source vCPUs from source VM for SEV-ES intrahost migration

Fix a goof where KVM tries to grab source vCPUs from the destination VM
when doing intrahost migration.  Grabbing the wrong vCPU not only hoses
the guest, it also crashes the host due to the VMSA pointer being left
NULL.

  BUG: unable to handle page fault for address: ffffe38687000000
  \#PF: supervisor read access in kernel mode
  \#PF: error\_code(0x0000) - not-present page
  PGD 0 P4D 0
  Oops: 0000 \[\#1\] SMP NOPTI
  CPU: 39 PID: 17143 Comm: sev\_migrate\_tes Tainted: GO       6.5.0-smp--fff2e47e6c3b-next \#151
  Hardware name: Google, Inc. Arcadia\_IT\_80/Arcadia\_IT\_80, BIOS 34.28.0 07/10/2023
  RIP: 0010:\_\_free\_pages+0x15/0xd0
  RSP: 0018:ffff923fcf6e3c78 EFLAGS: 00010246
  RAX: 0000000000000000 RBX: ffffe38687000000 RCX: 0000000000000100
  RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffffe38687000000
  RBP: ffff923fcf6e3c88 R08: ffff923fcafb0000 R09: 0000000000000000
  R10: 0000000000000000 R11: ffffffff83619b90 R12: ffff923fa9540000
  R13: 0000000000080007 R14: ffff923f6d35d000 R15: 0000000000000000
  FS:  0000000000000000(0000) GS:ffff929d0d7c0000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: ffffe38687000000 CR3: 0000005224c34005 CR4: 0000000000770ee0
  PKRU: 55555554
  Call Trace:
   \<TASK\>
   sev\_free\_vcpu+0xcb/0x110 \[kvm\_amd\]
   svm\_vcpu\_free+0x75/0xf0 \[kvm\_amd\]
   kvm\_arch\_vcpu\_destroy+0x36/0x140 \[kvm\]
   kvm\_destroy\_vcpus+0x67/0x100 \[kvm\]
   kvm\_arch\_destroy\_vm+0x161/0x1d0 \[kvm\]
   kvm\_put\_kvm+0x276/0x560 \[kvm\]
   kvm\_vm\_release+0x25/0x30 \[kvm\]
   \_\_fput+0x106/0x280
   \_\_\_\_fput+0x12/0x20
   task\_work\_run+0x86/0xb0
   do\_exit+0x2e3/0x9c0
   do\_group\_exit+0xb1/0xc0
   \_\_x64\_sys\_exit\_group+0x1b/0x20
   do\_syscall\_64+0x41/0x90
   entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd
   \</TASK\>
  CR2: ffffe38687000000

## Affected and fixed versions

- Linux: \>= 6defa24d3b12bbd418bc8526dea1cbc605265c06, \< 5c18ace750e4d4d58d7da02d1c669bf21c824158; \>= 6defa24d3b12bbd418bc8526dea1cbc605265c06, \< 2ee4b180d51b12a45bdd3264629719ef6a572a73; \>= 6defa24d3b12bbd418bc8526dea1cbc605265c06, \< f1187ef24eb8f36e8ad8106d22615ceddeea6097; 229334a8b1d0d5e60d3bdd091bbc4552d5321c97; \>= 5.18.8, \< 5.19 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- Upgrade Linux to 5.19 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54296. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54296.md
Affected: Linux >= 6defa24d3b12bbd418bc8526dea1cbc605265c06, < 5c18ace750e4d4d58d7da02d1c669bf21c824158; >= 6defa24d3b12bbd418bc8526dea1cbc605265c06, < 2ee4b180d51b12a45bdd3264629719ef6a572a73; >= 6defa24d3b12bbd418bc8526dea1cbc605265c06, < f1187ef24eb8f36e8ad8106d22615ceddeea6097; 229334a8b1d0d5e60d3bdd091b…
Fixed in: Linux 5c18ace750e4d4d58d7da02d1c669bf21c824158, Linux 2ee4b180d51b12a45bdd3264629719ef6a572a73, Linux 5.19

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.
```

## FAQ

### Is CVE-2023-54296 being exploited?

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

### How serious is CVE-2023-54296?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54296?

Linux \>= 6defa24d3b12bbd418bc8526dea1cbc605265c06, \< 5c18ace750e4d4d58d7da02d1c669bf21c824158; \>= 6defa24d3b12bbd418bc8526dea1cbc605265c06, \< 2ee4b180d51b12a45bdd3264629719ef6a572a73; \>= 6defa24d3b12bbd418bc8526dea1cbc605265c06, \< f1187ef24eb8f36e8ad8106d22615ceddeea6097; 229334a8b1d0d5e60d3bdd091bbc4552d5321c97; \>= 5.18.8, \< 5.19; Linux 5.19.

### Is there a fix for CVE-2023-54296?

Yes. Fixed in Linux 5c18ace750e4d4d58d7da02d1c669bf21c824158, Linux 2ee4b180d51b12a45bdd3264629719ef6a572a73, Linux 5.19. Upgrade Linux to 5.19 or later.

### How do I check if I'm affected by CVE-2023-54296?

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.

## References

- other: <https://git.kernel.org/stable/c/5c18ace750e4d4d58d7da02d1c669bf21c824158>
- other: <https://git.kernel.org/stable/c/2ee4b180d51b12a45bdd3264629719ef6a572a73>
- other: <https://git.kernel.org/stable/c/f1187ef24eb8f36e8ad8106d22615ceddeea6097>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54296>

HTML: <https://flawdb.com/CVE-2023-54296> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54296>
