# CVE-2022-48793: KVM: x86: nSVM: fix potential NULL derefernce on nested migration

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-07-16T11:43:48.749Z
- Modified: 2026-06-17T05:16:12.543Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 232f75d3b4b5456de6f0b671aa86345d62de1473 before 74b426bea4f7e3b081add2b88d4fba16d3af7ab6; from 232f75d3b4b5456de6f0b671aa86345d62de1473 before 352193edda48e08e8824a7ece09aec830a603cfe; from 232f75d3b4b5456de6f0b671aa86345d62de1473 before e1779c2714c3023e4629825762bcbc43a3b943df; 5.13 (not affected: before 5.13; from 5.15.25 up to 5.15.*; from 5.16.11 up to 5.16.*; from 5.17 up to *)
- linux linux_kernel: from 5.13 before 5.15.25; from 5.16 before 5.16.11

## References

- <https://git.kernel.org/stable/c/74b426bea4f7e3b081add2b88d4fba16d3af7ab6> (patch)
- <https://git.kernel.org/stable/c/352193edda48e08e8824a7ece09aec830a603cfe> (patch)
- <https://git.kernel.org/stable/c/e1779c2714c3023e4629825762bcbc43a3b943df> (patch)

## Sources

- CVE List: [CVE-2022-48793](https://www.cve.org/CVERecord?id=CVE-2022-48793), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48793](https://nvd.nist.gov/vuln/detail/CVE-2022-48793), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48793 · Whole record: https://cve.day/CVE-2022-48793.json · Rebuilt by cve.day 2026-11-25T22:58:19.884Z
