CVE-2022-48793

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

published July 16, 2024

CVSS
—
EPSS
0%
Percentile
14.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00241 · 14.3th percentile
Published
2024-07-16T11:43Z
EPSS history
Timeline
  • 16 JUL 11:43Z
    KVM: x86: nSVM: fix potential NULL derefernce on nested migration
    cvelistv5