CVE-2021-40490 json
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.
published 5y ago modified 2mo ago also EUVD-2021-27667
- cvss
- 7.0
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 23%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- linux linux_kernel 4.4.284, 4.9.283, 4.14.247, 4.19.207, 5.4.145, 5.10.63, 5.13.15, 5.14.2
- linux Debian 14, Debian 13, Debian 12 5.14.6-1
debian advisories DEBIAN-CVE-2021-40490
- linux Ubuntu 18.04 LTS 4.15.0-161.169
- linux Ubuntu 20.04 LTS 5.4.0-89.100
- linux-aws Ubuntu 18.04 LTS 4.15.0-1114.121
- linux-aws Ubuntu 20.04 LTS 5.4.0-1058.61
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1056.60
- linux-gke Ubuntu 20.04 LTS 5.4.0-1054.57
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1006.7
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1101.103
ubuntu advisories UBUNTU-CVE-2021-40490
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 8 4.18.0-372.9.1.el8
- perf RHEL 8 4.18.0-372.9.1.el8
- bpftool RHEL 8 4.18.0-372.9.1.el8
- kernel-core RHEL 8 4.18.0-372.9.1.el8
- kernel-tools RHEL 8 4.18.0-372.9.1.el8
- python3-perf RHEL 8 4.18.0-372.9.1.el8
- kernel-modules RHEL 8 4.18.0-372.9.1.el8
- kernel-zfcpdump RHEL 8 4.18.0-372.9.1.el8
red hat advisories RHSA-2022:1988
- kernel-syms SLES for SAP 12 SP4, SLES 12 SP4-LTSS, OpenStack Cloud Crowbar 9 +1 more 4.12.14-95.83.2
- kernel-source SLES for SAP 12 SP4, SLES 12 SP4-LTSS, OpenStack Cloud Crowbar 9 +1 more 4.12.14-95.83.2
- kernel-default SLES for SAP 12 SP4, SLES 12 SP4-LTSS, SLE Live Patching 12 SP4 +3 more 4.12.14-95.83.2
- kernel-syms SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 4.12.14-150.78.1
- kernel-source SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 4.12.14-150.78.1
- kernel-default SLES for SAP 15, SLES 15-LTSS, SLE Live Patching 15 +3 more 4.12.14-150.78.1
- kernel-vanilla SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 4.12.14-150.78.1
- kernel-obs-build SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 4.12.14-150.78.2
suse advisories SUSE-SU-2021:3972-1SUSE-SU-2021:3969-1SUSE-SU-2021:3935-1SUSE-SU-2021:3929-1SUSE-SU-2021:3876-1SUSE-SU-2021:3447-1
- kernel-default openSUSE Leap 15.3 4.12.14-197.102.2
- kernel-vanilla openSUSE Leap 15.3 4.12.14-197.102.2
- kernel-kvmsmall openSUSE Leap 15.3 4.12.14-197.102.2
- kernel-zfcpdump openSUSE Leap 15.3 4.12.14-197.102.2
- kmod openSUSE Leap 15.2 25-lp152.8.3.1
- kmod-testsuite openSUSE Leap 15.2 25-lp152.8.3.2
- kernel-syms openSUSE Leap 15.2 5.3.18-lp152.95.1
- kernel-obs-qa openSUSE Leap 15.2 5.3.18-lp152.95.1
opensuse advisories openSUSE-SU-2021:3876-1openSUSE-SU-2021:1365-1openSUSE-SU-2021:1357-1openSUSE-SU-2021:3447-1openSUSE-SU-2021:3387-1openSUSE-SU-2021:3338-1
Is CVE-2021-40490 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-40490 updated cvss 7.0
kernel: race condition was discovered in ext4_write_inline_data_end in fs/ext4/inline.c in the ext4 subsystem
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 moreaffected: workaround, no fix available
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-372.9.1.el8, kernel 4.18.0-372.9.1.el8, bpftool 4.18.0-372.9.1.el8, kernel-core 4.18.0-372.9.1.el8, kernel-tools 4.18.0-372.9.1.el8, python3-perf 4.18.0-372.9.1.el8, +15 more Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-372.9.1.el8, kernel-debuginfo-common-aarch64 4.18.0-372.9.1.el8, kernel-debuginfo-common-ppc64le 4.18.0-372.9.1.el8fixed: vendor fix RHSA-2022:1988
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.31% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.4 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- Technology feeds
References
-
git.kernel.org
/pub/scm/linux/kernel/git/tytso/ext4.git/commit/?id=9e445093e523f3277081314c864f708fd4bd34aa
patch, vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/XJGX3DMJT6MRBW2XEF3TWVHYWZW3DG3N/
vendor-advisory, broken-link
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/M6VS2DLGT7TK7URKAS2KWJL3S533SGVA/
vendor-advisory, third-party-advisory
-
debian.org
/security/2021/dsa-4978
vendor-advisory, mailing-list, third-party-advisory
-
security.netapp.com
/advisory/ntap-20211004-0001/
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/10/msg00010.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/12/msg00012.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2021-40490
- NVD CVE-2021-40490
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.