CVE-2022-1852: Null Pointer Dereference

Published May 24, 2022
·
Updated

A NULL pointer dereference flaw was found in the Linux kernel’s KVM module, which can lead to a denial of service in the x86emulateinsn in arch/x86/kvm/emulate.c. This flaw occurs while executing an illegal instruction in guest in the Intel CPU.

Other sources

When we execute an illegal instruction in guest in Intel CPU, such as invlpga(an AMD instruction), which will cause an exception nmi VM-exit. KVM will call handleexceptionnmi to deal with it. Then handleexceptionnmi will call handleud to emulate the undefined instruction. Finally, it will call x86decodeinsn. In x86decodeinsn function, CheckPerm will be set into ctxt->d and ctxt->checkperm will be set to NULL due to the check permition callback function of illegal instruction is not exists.

Red Hat

Affected Software

9 affected componentsFixes available
redhat/kernel-rt<0:4.18.0-425.3.1.rt7.213.el8
0:4.18.0-425.3.1.rt7.213.el8
redhat/kernel<0:4.18.0-425.3.1.el8
0:4.18.0-425.3.1.el8
redhat/kernel<0:5.14.0-162.6.1.el9_1
0:5.14.0-162.6.1.el9_1
redhat/kernel-rt<0:5.14.0-162.6.1.rt21.168.el9_1
0:5.14.0-162.6.1.rt21.168.el9_1
redhat/kernel<5.19
5.19
Linux Linux kernel<5.19
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Information

This flaw can be mitigated by preventing the affected KVM module from loading during the boot time, and ensuring the module is added to the blacklist file. ~~~ Refer: How do I blacklist a kernel module to prevent it from loading automatically? https://access.redhat.com/solutions/41278 ~~~

Event History

May 24, 2022
Data Sourced
via Red Hat·01:42 PM
DescriptionSeverityAffected Software
Jun 1, 2022
CVE Published
12:00 AM
Jun 30, 2022
CVE Published
via MITRE·12:42 PM
Data Sourced
via MITRE·12:42 PM
DescriptionWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:05 AM
Description
Dec 5, 2024
Data Sourced
via Ubuntu·02:56 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-1852?

CVE-2022-1852 has a severity rating that indicates it can lead to a denial of service condition in certain Linux kernel versions.

2

How do I fix CVE-2022-1852?

To fix CVE-2022-1852, update to the patched kernel versions specified by the relevant Linux distribution, such as Red Hat or Debian.

3

Which Linux distributions are affected by CVE-2022-1852?

CVE-2022-1852 affects various versions of the Linux kernel across Red Hat and Debian distributions.

4

What component of the system is affected by CVE-2022-1852?

CVE-2022-1852 specifically affects the KVM module of the Linux kernel's x86 architecture.

5

Can CVE-2022-1852 be exploited remotely?

Exploitation of CVE-2022-1852 typically requires access to the affected system, making it less likely to be exploited remotely.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203