Bug 2298129 (CVE-2022-48793) - CVE-2022-48793 kernel: KVM: x86: nSVM: fix potential NULL derefernce on nested migration
Summary: CVE-2022-48793 kernel: KVM: x86: nSVM: fix potential NULL derefernce on neste...
Keywords:
Status: NEW
Alias: CVE-2022-48793
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-16 12:26 UTC by OSIDB Bzimport
Modified: 2024-09-23 15:36 UTC (History)
4 users (show)

Fixed In Version: kernel 5.15.25, kernel 5.16.11, kernel 5.17
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:5692 0 None None None 2024-08-21 11:52:56 UTC

Description OSIDB Bzimport 2024-07-16 12:26:32 UTC
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.

Comment 7 errata-xmlrpc 2024-08-21 11:52:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2024:5692 https://access.redhat.com/errata/RHSA-2024:5692


Note You need to log in before you can comment on or make changes to this bug.