cve.bz

CVE-2022-1789 NULL Pointer Dereference

6.8 mediumEPSS 0.3%

Medium (6.8). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 27th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-1789 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-1789?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-1789?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-1789 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 5.8
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36
redhat:enterprise_linux9.0
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11linux5.10.120-1DSA-5161-1
Debian12, 13, 14linux5.17.11-1DEBIAN-CVE-2022-1789
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-1789
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1081.88~18.04.1UBUNTU-CVE-2022-1789 USN-5514-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1086.91~18.04.1UBUNTU-CVE-2022-1789 USN-5514-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2022-1789
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1084.92~18.04.1UBUNTU-CVE-2022-1789 USN-5539-1
Ubuntu18.04:LTSlinux-gke-5.45.4.0-1078.84~18.04.1UBUNTU-CVE-2022-1789 USN-5539-1
Ubuntu18.04:LTSlinux-gkeop-5.45.4.0-1049.52~18.04.1UBUNTU-CVE-2022-1789 USN-5514-1
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-122.138~18.04.1UBUNTU-CVE-2022-1789 USN-5514-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1029.33~18.04.1UBUNTU-CVE-2022-1789 USN-5514-1
Ubuntu18.04:LTSlinux-oracle-5.45.4.0-1079.87~18.04.1UBUNTU-CVE-2022-1789 USN-5514-1
Ubuntu18.04:LTSlinux-raspi-5.45.4.0-1066.76~18.04.1UBUNTU-CVE-2022-1789 USN-5514-1
Ubuntu20.04:LTSlinux5.4.0-122.138UBUNTU-CVE-2022-1789 USN-5514-1
39 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-477.10.1.el8_8RHSA-2023:2951
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-477.10.1.el8_8RHSA-2023:2951
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-477.10.1.rt7.274.el8_8RHSA-2023:2736
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-477.10.1.rt7.274.el8_8RHSA-2023:2736
Red Hatenterprise_linux:9::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crbbpftool-debuginfo0:7.0.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.0.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 40 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::crbperf-debuginfo, kernel-debuginfo, kernel-64k-debuginfo and 10 more0:5.14.0-284.11.1.el9_2RHSA-2023:2458
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 14 more0:5.14.0-284.11.1.rt14.296.el9_2RHSA-2023:2148
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 12 more0:5.14.0-284.11.1.rt14.296.el9_2RHSA-2023:2148
Red Hatrhel_aus:8.6::baseos, rhel_tus:8.6::baseosperf, kernel, bpftool and 21 more0:4.18.0-372.111.1.el8_6RHSA-2024:4447
1 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Module for Legacy 15 SP4 and 1 morekernel-default5.14.21-150400.24.11.1SUSE-SU-2022:2520-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_11-150400.9.5.3SUSE-SU-2022:2520-1
SUSELinux Enterprise Module for Basesystem 15 SP4kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150400.24.11.1SUSE-SU-2022:2520-1
SUSELinux Enterprise Module for Basesystem 15 SP4kernel-default-base5.14.21-150400.24.11.1.150400.24.3.6SUSE-SU-2022:2520-1
SUSELinux Enterprise Module for Development Tools 15 SP4kernel-docs, kernel-syms, kernel-source and 1 more5.14.21-150400.24.11.1SUSE-SU-2022:2520-1
SUSELinux Enterprise Module for Public Cloud 15 SP4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.7.1SUSE-SU-2022:2615-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.11.1SUSE-SU-2022:2520-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.7.1SUSE-SU-2022:2615-1
openSUSELeap 15.4kernel-default-base5.14.21-150400.24.11.1.150400.24.3.6SUSE-SU-2022:2520-1
AlmaLinux8kernel-rt, kernel-rt-kvm, kernel-rt-core and 9 more4.18.0-477.10.1.rt7.274.el8_8ALSA-2023:2736
AlmaLinux8perf, kernel, bpftool and 21 more4.18.0-477.10.1.el8_8ALSA-2023:2951
AlmaLinux9bpftool7.0.0-284.11.1.el9_2ALSA-2023:2458
AlmaLinux9kernel-rt, kernel-rt-kvm, kernel-rt-core and 11 more5.14.0-284.11.1.rt14.296.el9_2ALSA-2023:2148
AlmaLinux9perf, rtla, kernel and 43 more5.14.0-284.11.1.el9_2ALSA-2023:2458

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Enterprise Linux 6 and 7 did not provide support for INVPCID in shadow paging mode and therefore are not affected by this issue.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-477.10.1.rt7.274.el8_8Fixed 2023-05-16RHSA-2023:2736
Red Hat Enterprise Linux 8kernel-0:4.18.0-477.10.1.el8_8Fixed 2023-05-16RHSA-2023:2951
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportkernel-0:4.18.0-372.111.1.el8_6Fixed 2024-07-10RHSA-2024:4447
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicekernel-0:4.18.0-372.111.1.el8_6Fixed 2024-07-10RHSA-2024:4447
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionskernel-0:4.18.0-372.111.1.el8_6Fixed 2024-07-10RHSA-2024:4447
Red Hat Enterprise Linux 9kernel-0:5.14.0-284.11.1.el9_2Fixed 2023-05-09RHSA-2023:2458
Red Hat Enterprise Linux 9kernel-rt-0:5.14.0-284.11.1.rt14.296.el9_2Fixed 2023-05-09RHSA-2023:2148
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-1789.

References

Check your stackJSON