Vulnerability · Published May 26, 2021 · Assigned by Google
CVE-2021-22543Improper memory handling in Linux KVM
High 8.7
In plain English
A high-severity memory corruption in Linux Kernel from Linux Kernel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-305.12.1.el8_4 | ALSA-2021:3057 |
| Debian:12 | linux | 5.10.46-2 | DEBIAN-CVE-2021-22543 |
| Debian:13 | linux | 5.10.46-2 | DEBIAN-CVE-2021-22543 |
| Debian:14 | linux | 5.10.46-2 | DEBIAN-CVE-2021-22543 |
| Rocky Linux:8 | kernel | 0:4.18.0-305.12.1.el8_4 | RLSA-2021:3057 |
| Rocky Linux:8 | kernel-rt | 0:4.18.0-305.12.1.rt7.84.el8_4 | RLSA-2021:3088 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2021-22543 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-22543 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-22543 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-22543 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux Kernel | Linux Kernel | add6a0cd1c5ba51b201e1361b05a5df817083618 – before f8be156be163a052a067306417cd0ff679068c97 |
Weakness: CWE-119 · Vector: 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
References
- https://github.com/google/security-research/security/advisories/GHSA-7wq5-phmq-m584 x_refsource_MISC
- [oss-security] 20210626 Re: CVE-2021-22543 - /dev/kvm LPE mailing-list, x_refsource_MLIST
- FEDORA-2021-fe826f202e vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-95f2f1cfc7 vendor-advisory, x_refsource_FEDORA
- https://security.netapp.com/advisory/ntap-20210708-0002/ x_refsource_CONFIRM
- [debian-lts-announce] 20211015 [SECURITY] [DLA 2785-1] linux-4.19 security update mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20211216 [SECURITY] [DLA 2843-1] linux security update mailing-list, x_refsource_MLIST