CVE-2021-22543: Improper memory handling in Linux KVM

Published May 18, 2021
·
Updated

A flaw was found in the Linux kernel’s KVM implementation, where improper handing of the VMIO|VMPFNMAP VMAs in KVM bypasses RO checks and leads to pages being freed while still accessible by the VMM and guest. This flaw allows users who can start and control a VM to read/write random pages of memory, resulting in local privilege escalation. The highest threat from this vulnerability is to confidentiality, integrity, and system availability.

Other sources

An issue was discovered in Linux: KVM through Improper handling of VMIO|VMPFNMAP vmas in KVM can bypass RO checks and can lead to pages being freed while still accessible by the VMM and guest. This allows users with the ability to start and control a VM to read/write random pages of memory and can result in local privilege escalation.

An issue was discovered in the Linux: KVM through Improper handling of VMIO|VMPFNMAP vmas in KVM can bypass RO checks and can lead to pages being freed while still accessible by the VMM and guest. This allows users with the ability to start and control a VM to read/write random pages of memory and can result in local privilege escalation.

References:

https://github.com/google/security-research/security/advisories/GHSA-7wq5-phmq-m584 http://www.openwall.com/lists/oss-security/2021/05/26/3 http://www.openwall.com/lists/oss-security/2021/05/26/4 http://www.openwall.com/lists/oss-security/2021/05/26/5

Red Hat

Linux Kernel could allow a local authenticated attacker to gain elevated privileges on the system, caused by improper handling of VMIO|VMPFNMAP vmas in KVM. By sending a specially-crafted request, an authenticated attacker could exploit this vulnerability to gain elevated privileges to start and control a VM to read/write random pages of memory.

IBM

Affected Software

58 affected componentsFixes available
redhat/kernel<0:2.6.32-754.48.1.el6
0:2.6.32-754.48.1.el6
redhat/kernel-rt<0:3.10.0-1160.45.1.rt56.1185.el7
0:3.10.0-1160.45.1.rt56.1185.el7
redhat/kernel<0:3.10.0-1160.45.1.el7
0:3.10.0-1160.45.1.el7
redhat/kernel<0:3.10.0-327.101.1.el7
0:3.10.0-327.101.1.el7
redhat/kernel<0:3.10.0-514.93.1.el7
0:3.10.0-514.93.1.el7
redhat/kernel<0:3.10.0-693.94.1.el7
0:3.10.0-693.94.1.el7
redhat/kernel<0:3.10.0-957.84.1.el7
0:3.10.0-957.84.1.el7
redhat/kernel<0:3.10.0-1062.59.1.el7
0:3.10.0-1062.59.1.el7
redhat/kernel-rt<0:4.18.0-305.12.1.rt7.84.el8_4
0:4.18.0-305.12.1.rt7.84.el8_4
redhat/kernel<0:4.18.0-305.12.1.el8_4
0:4.18.0-305.12.1.el8_4
redhat/kernel<0:4.18.0-147.52.1.el8_1
0:4.18.0-147.52.1.el8_1
redhat/kernel-rt<0:4.18.0-193.64.1.rt13.115.el8_2
0:4.18.0-193.64.1.rt13.115.el8_2
redhat/kernel<0:4.18.0-193.64.1.el8_2
0:4.18.0-193.64.1.el8_2
redhat/redhat-virtualization-host<0:4.3.19-20211013.0.el7_9
0:4.3.19-20211013.0.el7_9
redhat/redhat-virtualization-host<0:4.4.7-20210804.0.el8_4
0:4.4.7-20210804.0.el8_4
redhat/kernel<5.13
5.13
IBM Cloud Pak for Security (CP4S)<=1.7.2.0
IBM Cloud Pak for Security (CP4S)<=1.7.1.0
IBM Cloud Pak for Security (CP4S)<=1.7.0.0
Linux Linux kernel=2021-05-18
Fedoraproject Fedora=33
Fedoraproject Fedora=34
Debian Debian Linux=9.0
All of the following
NetApp H410c Firmware
NetApp H410c
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H300e Firmware
NetApp H300e
All of the following
NetApp H500e Firmware
NetApp H500e
All of the following
NetApp H700e Firmware
NetApp H700e
All of the following
NetApp H410s Firmware
NetApp H410s
NetApp Cloud Backup
NetApp Solidfire Baseboard Management Controller Firmware
NetApp Baseboard Management Controller H410c Firmware
NetApp Baseboard Management Controller H410c
NetApp Baseboard Management Controller H300s Firmware
NetApp Baseboard Management Controller H300s
NetApp Baseboard Management Controller H500s Firmware
NetApp Baseboard Management Controller H500s
NetApp Baseboard Management Controller H700s Firmware
NetApp Baseboard Management Controller H700s
NetApp Baseboard Management Controller H300e Firmware
NetApp Baseboard Management Controller H300e
NetApp Baseboard Management Controller H500e Firmware
NetApp Baseboard Management Controller H500e
NetApp Baseboard Management Controller H700e Firmware
NetApp Baseboard Management Controller H700e
NetApp Baseboard Management Controller H410s Firmware
NetApp Baseboard Management Controller H410s
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Information

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update as soon as possible.

Event History

May 18, 2021
CVE Published
12:00 AM
May 26, 2021
CVE Published
via MITRE·10:30 AM
Data Sourced
via MITRE·10:30 AM
DescriptionWeakness
May 27, 2021
Data Sourced
via Red Hat·06:19 PM
DescriptionSeverityAffected Software
May 31, 2024
Data Sourced
via Launchpad·02:05 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·04:24 AM
RemedyDescriptionSeverityAffected Software
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-2021-22543?

CVE-2021-22543 has been assigned a high severity rating due to its potential impact on system integrity and confidentiality.

2

How do I fix CVE-2021-22543?

To fix CVE-2021-22543, upgrade to the latest kernel versions as specified by the vendor for your system.

3

Which systems are affected by CVE-2021-22543?

CVE-2021-22543 affects multiple versions of the Linux kernel, particularly those from Red Hat and other distributions such as Fedora and Debian.

4

What can be exploited in CVE-2021-22543?

CVE-2021-22543 can be exploited by users who control a virtual machine, allowing them to read or write memory that should be restricted.

5

Is there a patch available for CVE-2021-22543?

Yes, patches are available and users should apply them based on the specific kernel version they are using.

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