CVE-2021-40490
Vulnerability Summary
Timeline
Description
A race condition was discovered in ext4_write_inline_data_end in fs/ext4/inline.c in the ext4 subsystem in the Linux kernel through 5.13.13.
CVSS Metrics
- 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.4AV:L/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.30%• Percentile: 23%
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.46-5 | < 5.14.6-1 | < 5.14.6-1 | < 5.14.6-1
- ubuntu•linux
all | < 4.4.0-222.255 | < 4.15.0-161.169 | < 5.4.0-89.100
- ubuntu•linux-aws
< 4.4.0-1102.107 | < 4.4.0-1138.152 | < 4.15.0-1114.121 | < 5.4.0-1058.61
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
< 5.11.0-1020.21~20.04.2
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1058.61~18.04.3
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 4.15.0-2055.57 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1113.120~16.04.1
- ubuntu•linux-azure
< 4.15.0-1125.138~14.04.1 | < 4.15.0-1125.138~16.04.1 | all | < 5.4.0-1062.65
- ubuntu•linux-azure-4.15
< 4.15.0-1125.138
- ubuntu•linux-azure-5.11
< 5.11.0-1020.21~20.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1062.65~18.04.1
- ubuntu•linux-azure-5.8
< 5.8.0-1043.46~20.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fips
< 4.15.0-2037.41 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1020.23
- ubuntu•linux-dell300x
< 4.15.0-1029.34
- ubuntu•linux-fips
< 4.4.0-1072.78 | all | < 4.15.0-1071.80 | < 5.4.0-1035.41
- ubuntu•linux-gcp
< 4.15.0-1110.124~16.04.1 | all | < 5.4.0-1056.60
- ubuntu•linux-gcp-4.15
< 4.15.0-1110.124
- ubuntu•linux-gcp-5.11
< 5.11.0-1021.23~20.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1056.60~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
< 4.15.0-2020.22 | all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke
< 5.4.0-1054.57
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.4
< 5.4.0-1054.57~18.04.1
- ubuntu•linux-gkeop
< 5.4.0-1025.26
- ubuntu•linux-gkeop-5.4
< 5.4.0-1025.26~18.04.1
- ubuntu•linux-hwe
< 4.15.0-161.169~16.04.1 | all
- ubuntu•linux-hwe-5.11
< 5.11.0-38.42~20.04.1
- ubuntu•linux-hwe-5.4
< 5.4.0-89.100~18.04.1
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-ibm
< 5.4.0-1006.7
- ubuntu•linux-intel-5.13
all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1103.112 | < 4.15.0-1101.103 | < 5.4.0-1048.50
- ubuntu•linux-lts-xenial
< 4.4.0-222.255~14.04.1
- ubuntu•linux-oem
all
- ubuntu•linux-oem-5.10
< 5.10.0-1050.52
- ubuntu•linux-oem-5.13
< 5.13.0-1014.18
- ubuntu•linux-oem-5.6
all
- ubuntu•linux-oracle
< 4.15.0-1082.90~16.04.1 | < 4.15.0-1082.90 | < 5.4.0-1056.60
- ubuntu•linux-oracle-5.0
all
Showing first 50 affected entries in server-rendered view.
References (19)
- https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git/commit/?id=9e445093e523f3277081314c864f708fd4bd34aa
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XJGX3DMJT6MRBW2XEF3TWVHYWZW3DG3N/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M6VS2DLGT7TK7URKAS2KWJL3S533SGVA/
- https://www.debian.org/security/2021/dsa-4978
- https://security.netapp.com/advisory/ntap-20211004-0001/
- https://lists.debian.org/debian-lts-announce/2021/10/msg00010.html
- https://lists.debian.org/debian-lts-announce/2021/12/msg00012.html
- https://ubuntu.com/security/CVE-2021-40490
- https://lore.kernel.org/linux-ext4/000000000000e5080305c9e51453@google.com/
- https://ubuntu.com/security/notices/USN-5096-1
- https://ubuntu.com/security/notices/USN-5113-1
- https://ubuntu.com/security/notices/USN-5114-1
- https://ubuntu.com/security/notices/USN-5115-1
- https://ubuntu.com/security/notices/USN-5116-1
- https://ubuntu.com/security/notices/USN-5120-1
- https://ubuntu.com/security/notices/USN-5116-2
- https://ubuntu.com/security/notices/USN-5343-1
- https://www.cve.org/CVERecord?id=CVE-2021-40490
- https://security-tracker.debian.org/tracker/CVE-2021-40490