Bug 2090723 (CVE-2022-1789) - CVE-2022-1789 kernel: KVM: NULL pointer dereference in kvm_mmu_invpcid_gva
Summary: CVE-2022-1789 kernel: KVM: NULL pointer dereference in kvm_mmu_invpcid_gva
Keywords:
Status: NEW
Alias: CVE-2022-1789
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2099301 2099302 2099303 2099304 2090724
Blocks: 2090725 2090727
TreeView+ depends on / blocked
 
Reported: 2022-05-26 12:41 UTC by Marian Rehak
Modified: 2022-08-03 09:48 UTC (History)
49 users (show)

Fixed In Version: kernel 5.18
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in KVM. With shadow paging enabled if INVPCID is executed with CR0.PG=0, the invlpg callback is not set, and the result is a NULL pointer dereference. This flaw allows a guest user to cause a kernel oops condition on the host, resulting in a denial of service.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Marian Rehak 2022-05-26 12:41:07 UTC
A flaw was found in KVM. With shadow paging enabled if INVPCID is executed with CR0.PG=0, the invlpg callback is not set, and the result is a NULL pointer dereference. This flaw allows a guest user to cause a kernel oops condition on the host, resulting in a denial of service.


Reference:

https://www.openwall.com/lists/oss-security/2022/05/25/2

Comment 1 Marian Rehak 2022-05-26 12:41:39 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2090724]

Comment 3 Mauro Matteo Cascella 2022-06-20 09:57:56 UTC
Upstream fix:
https://github.com/torvalds/linux/commit/9f46c187e2e680ecd9de7983e4d081c3391acc76


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