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

- Severity: High 8.7 (CVSS:4.0, scored by Google) `CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-26T10:30:10.775Z
- Modified: 2026-06-17T03:37:24.440Z
- Weaknesses: CWE-119
- Assigned by: Google

## Description

An issue was discovered in Linux: KVM through Improper handling of VM_IO|VM_PFNMAP 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.

(As written by CVE List.)

## Affected

- Linux Kernel Linux Kernel: from add6a0cd1c5ba51b201e1361b05a5df817083618 before f8be156be163a052a067306417cd0ff679068c97
- linux linux_kernel: 2021-05-18
- fedoraproject fedora: 33; 34
- debian debian_linux: 9.0
- netapp h410c_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp cloud_backup: no versions given
- netapp solidfire_baseboard_management_controller_firmware: no versions given

## Every score

- Google: CVSS:4.0 8.7 High `CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/google/security-research/security/advisories/GHSA-7wq5-phmq-m584> (exploit, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2021/06/26/1> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4G5YBUVEPHZYXMKNGBZ3S6INFCTEEL4E/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ROQIXQB7ZAWI3KSGSHR6H5RDUWZI775S/> (vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20210708-0002/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/10/msg00010.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/12/msg00012.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-22543](https://www.cve.org/CVERecord?id=CVE-2021-22543), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-22543](https://nvd.nist.gov/vuln/detail/CVE-2021-22543), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-22543 · Whole record: https://cve.day/CVE-2021-22543.json · Rebuilt by cve.day 2026-11-25T22:58:01.536Z
