CVE-2021-22543
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•HIGH•Score: 8.7CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L
- v4.0•HIGH•Score: 8.7CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v3.1•HIGH•Score: 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.66%• Percentile: 50%
Techniques & Countermeasures
- CWE-119•Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Affected Systems
- debian•linux
< 5.10.46-2 | < 5.10.46-2 | < 5.10.46-2 | < 5.10.46-2
- ubuntu•linux
< 4.15.0-159.167 | < 5.4.0-84.94
- ubuntu•linux-aws
< 4.15.0-1112.119 | < 5.4.0-1056.59
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
< 5.11.0-1017.18~20.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1056.59~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 4.15.0-2054.56 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1112.119~16.04.1
- ubuntu•linux-azure
< 4.15.0-1124.137~14.04.1 | < 4.15.0-1124.137~16.04.1 | all | < 5.4.0-1058.60
- ubuntu•linux-azure-4.15
< 4.15.0-1124.137
- ubuntu•linux-azure-5.11
< 5.11.0-1015.16~20.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1058.60~18.04.1
- ubuntu•linux-azure-5.8
< 5.8.0-1043.46~20.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fips
< 4.15.0-2036.40 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1019.22
- ubuntu•linux-dell300x
< 4.15.0-1028.33
- ubuntu•linux-fips
< 4.15.0-1070.79 | all | < 5.4.0-1033.38
- ubuntu•linux-gcp
< 4.15.0-1109.123~16.04.1 | all | < 5.4.0-1052.56
- ubuntu•linux-gcp-4.15
< 4.15.0-1109.123
- ubuntu•linux-gcp-5.11
< 5.11.0-1018.20~20.04.2
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1052.56~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
< 4.15.0-2019.21 | all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke
< 5.4.0-1052.55
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.4
< 5.4.0-1052.55~18.04.1
- ubuntu•linux-gkeop
< 5.4.0-1023.24
- ubuntu•linux-gkeop-5.4
< 5.4.0-1023.24~18.04.1
- ubuntu•linux-hwe
< 4.15.0-159.167~16.04.1 | all
- ubuntu•linux-hwe-5.11
< 5.11.0-34.36~20.04.1
- ubuntu•linux-hwe-5.4
< 5.4.0-84.94~18.04.1
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.15.0-1100.102 | < 5.4.0-1046.48
- ubuntu•linux-oem
all
- ubuntu•linux-oem-5.10
< 5.10.0-1049.51
- ubuntu•linux-oem-5.6
all
- ubuntu•linux-oracle
< 4.15.0-1081.89~16.04.1 | < 4.15.0-1081.89 | < 5.4.0-1054.58
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.11
< 5.11.0-1017.18~20.04.1
- ubuntu•linux-oracle-5.3
all
- ubuntu•linux-oracle-5.4
< 5.4.0-1054.58~18.04.1
Showing first 50 affected entries in server-rendered view.
References (32)
- https://github.com/google/security-research/security/advisories/GHSA-7wq5-phmq-m584
- http://www.openwall.com/lists/oss-security/2021/06/26/1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4G5YBUVEPHZYXMKNGBZ3S6INFCTEEL4E/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ROQIXQB7ZAWI3KSGSHR6H5RDUWZI775S/
- https://security.netapp.com/advisory/ntap-20210708-0002/
- https://lists.debian.org/debian-lts-announce/2021/10/msg00010.html
- https://lists.debian.org/debian-lts-announce/2021/12/msg00012.html
- https://access.redhat.com/errata/RHSA-2021:3943
- https://access.redhat.com/security/updates/classification/#moderate
- https://bugzilla.redhat.com/show_bug.cgi?id=1965461
- https://bugzilla.redhat.com/show_bug.cgi?id=2010171
- https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3943.json
- https://access.redhat.com/security/cve/CVE-2021-22543
- https://www.cve.org/CVERecord?id=CVE-2021-22543
- https://nvd.nist.gov/vuln/detail/CVE-2021-22543
- https://access.redhat.com/errata/RHSA-2022:5640
- https://access.redhat.com/security/updates/classification/#important
- https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_5640.json
- https://ubuntu.com/security/CVE-2021-22543
- https://www.openwall.com/lists/oss-security/2021/05/26/3
- https://www.openwall.com/lists/oss-security/2021/05/26/4
- https://www.openwall.com/lists/oss-security/2021/05/26/5
- https://github.com/torvalds/linux/commit/f8be156be163a052a067306417cd0ff679068c97
- https://ubuntu.com/security/notices/USN-5070-1
- https://ubuntu.com/security/notices/USN-5071-1
- https://ubuntu.com/security/notices/USN-5071-2
- https://ubuntu.com/security/notices/USN-5071-3
- https://ubuntu.com/security/notices/USN-5094-1
- https://ubuntu.com/security/notices/USN-5094-2
- https://ubuntu.com/security/notices/USN-5106-1
- https://ubuntu.com/security/notices/USN-5120-1
- https://security-tracker.debian.org/tracker/CVE-2021-22543