CVE-2022-48793

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

MEDIUM
5.5
CVSS Score
Published: July 16, 2024 at 11:43 AM UTC
Updated: June 17, 2026 at 05:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.13 ≤ v < 5.15.255.13 ≤ v < 5.16.115.13 ≤ v < 5.175.16 ≤ v < 5.16.11232f75d3b4b5456de6f0b671aa86345d62de14735.13
Vendor states this is fixed in 352193edda48e08e8824a7ece09aec830a603cfe (fixed)
Vendor states this is fixed in 74b426bea4f7e3b081add2b88d4fba16d3af7ab6 (fixed)
Vendor states this is fixed in e1779c2714c3023e4629825762bcbc43a3b943df (fixed)
Vendor states this is fixed in 5.13 (unaffected)
Vendor states this is fixed in 5.15.25 (unaffected)
Vendor states this is fixed in 5.16.11 (unaffected)
Vendor states this is fixed in 5.17 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/352193edda48e08e8824a7ece09aec830a603cfe
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/74b426bea4f7e3b081add2b88d4fba16d3af7ab6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e1779c2714c3023e4629825762bcbc43a3b943df

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card