CVE-2022-1789 Null dereference in kernel

Medium 6.8 Published Updated

A NULL pointer dereference in the Linux kernel KVM module allows a local attacker to cause a denial of service when shadow paging is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-1789?

CVE-2022-1789 is a medium-severity vulnerability in Debian Debian Linux, published on 31 May 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

With shadow paging enabled, the INVPCID instruction results in a call to kvm_mmu_invpcid_gva. If INVPCID is executed with CR0.PG=0, the invlpg callback is not set and the result is a NULL pointer dereference.

Weakness: CWE-476

Which versions are affected by CVE-2022-1789?

It affects 4 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Linux kernel, Redhat Enterprise Linux.

How do I fix CVE-2022-1789?

Apply the vendor's patch.

Is CVE-2022-1789 being exploited?

There is no known exploitation of CVE-2022-1789 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-1789, GHSA-v8pq-23qj-q7x7, UBUNTU-CVE-2022-1789.

Is CVE-2022-1789 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free