CVE-2022-48793

KVM: x86: nSVM: fix potential NULL derefernce on nested migration

State
Published
Severity
Not scored
Published
Jul 16, 2024
Updated
May 11, 2026
Reserved
Jul 16, 2024

Read the record on cve.org

Description

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

KVM: x86: nSVM: fix potential NULL derefernce on nested migration

Turns out that due to review feedback and/or rebases I accidentally moved the call to nested_svm_load_cr3 to be too early, before the NPT is enabled, which is very wrong to do.

KVM can't even access guest memory at that point as nested NPT is needed for that, and of course it won't initialize the walk_mmu, which is main issue the patch was addressing.

Fix this for real.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 232f75d3b4b5456de6f0b671aa86345d62de1473 to before 74b426bea4f7e3b081add2b88d4fba16d3af7ab6Affected
  • 232f75d3b4b5456de6f0b671aa86345d62de1473 to before 352193edda48e08e8824a7ece09aec830a603cfeAffected
  • 232f75d3b4b5456de6f0b671aa86345d62de1473 to before e1779c2714c3023e4629825762bcbc43a3b943dfAffected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.25 through 5.15.*Not affected
  • 5.16.11 through 5.16.*Not affected
  • 5.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.