CVE-2021-20321
Vulnerability Summary
Timeline
Description
A race condition accessing file object in the Linux kernel OverlayFS subsystem was found in the way users do rename in specific way with OverlayFS. A local user could use this flaw to crash the system.
CVSS Metrics
- v4.0•MEDIUM•Score: 5.8CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
- v3.1•MEDIUM•Score: 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 4.7AV:L/AC:M/Au:N/C:N/I:N/A:C
EPSS Trends
Current EPSS score: 0.22%• Percentile: 12%
Techniques & Countermeasures
- CWE-362•Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Affected Systems
- debian•linux
< 5.10.84-1 | < 5.14.12-1 | < 5.14.12-1 | < 5.14.12-1
- ubuntu•linux
all | < 4.4.0-242.276 | < 4.15.0-166.174 | < 5.4.0-92.103
- ubuntu•linux-aws
< 4.4.0-1120.126 | < 4.4.0-1158.173 | < 4.15.0-1118.125 | < 5.4.0-1061.64
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
< 5.11.0-1023.24~20.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1061.64~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 4.15.0-2059.61 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1118.125~16.04.1
- ubuntu•linux-azure
< 4.15.0-1129.142~14.04.1 | < 4.15.0-1129.142~16.04.1 | all | < 5.4.0-1065.68
- ubuntu•linux-azure-4.15
< 4.15.0-1129.142
- ubuntu•linux-azure-5.11
< 5.11.0-1023.24~20.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1065.68~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fips
< 4.15.0-2041.45 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1023.26
- ubuntu•linux-dell300x
< 4.15.0-1033.38
- ubuntu•linux-fips
< 4.4.0-1090.97 | all | < 4.15.0-1075.84 | < 5.4.0-1038.44
- ubuntu•linux-gcp
< 4.15.0-1114.128~16.04.1 | all | < 5.4.0-1059.63
- ubuntu•linux-gcp-4.15
< 4.15.0-1114.128
- ubuntu•linux-gcp-5.11
< 5.11.0-1024.26~20.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1059.63~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-fips
< 4.15.0-2024.26 | all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke
< 5.4.0-1057.60
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.4
< 5.4.0-1057.60~18.04.1
- ubuntu•linux-gkeop
< 5.4.0-1029.30
- ubuntu•linux-gkeop-5.4
< 5.4.0-1029.30~18.04.2
- ubuntu•linux-hwe
< 4.15.0-166.174~16.04.1 | all
- ubuntu•linux-hwe-5.11
< 5.11.0-44.48~20.04.2
- ubuntu•linux-hwe-5.13
< 5.13.0-23.23~20.04.2
- ubuntu•linux-hwe-5.4
< 5.4.0-92.103~18.04.2
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-ibm
< 5.4.0-1010.11
- ubuntu•linux-intel-5.13
all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1121.131 | < 4.15.0-1105.107 | < 5.4.0-1051.53
- ubuntu•linux-lts-xenial
< 4.4.0-242.276~14.04.1
- ubuntu•linux-oem
all
- ubuntu•linux-oem-5.10
< 5.10.0-1051.53
- ubuntu•linux-oem-5.13
< 5.13.0-1026.32
- ubuntu•linux-oem-5.14
< 5.14.0-1007.7
- ubuntu•linux-oem-5.6
all
- ubuntu•linux-oracle
< 4.15.0-1085.93~16.04.1 | < 4.15.0-1085.93 | < 5.4.0-1059.63
Showing first 50 affected entries in server-rendered view.
References (13)
- https://bugzilla.redhat.com/show_bug.cgi?id=2013242
- https://lore.kernel.org/all/20211011134508.748956131%40linuxfoundation.org/
- https://lists.debian.org/debian-lts-announce/2022/03/msg00012.html
- https://www.debian.org/security/2022/dsa-5096
- https://ubuntu.com/security/CVE-2021-20321
- https://git.kernel.org/linus/a295aef603e109a47af355477326bd41151765b6
- https://ubuntu.com/security/notices/USN-5208-1
- https://ubuntu.com/security/notices/USN-5209-1
- https://ubuntu.com/security/notices/USN-5210-1
- https://ubuntu.com/security/notices/USN-5218-1
- https://ubuntu.com/security/notices/USN-6221-1
- https://www.cve.org/CVERecord?id=CVE-2021-20321
- https://security-tracker.debian.org/tracker/CVE-2021-20321