Home / Linux / kernel / CVE-2021-4037
CVE-2021-4037: is it exploited, and which versions of Linux kernel are affected and fixed?
CVE-2021-4037 is an improper access control vulnerability in Linux kernel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: kernel before 5.4.241 and kernel from 5.5 before 5.10.146 (CVE record by redhat). Fixed in 5.4.241, 5.10.146, 5.12, 0:4.18.0-372.9.1.rt7.166.el8 and 2 more (CVE record by redhat). Severity: Medium (4.4, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:46 UTC.
What is CVE-2021-4037?
Kernel: security regression for cve-2018-13405
A vulnerability was found in the fs/inode.c:inode_init_owner() function logic of the LInux kernel that allows local users to create files for the XFS file-system with an unintended group ownership and with group execution and SGID permission bits set, in a scenario where a directory is SGID and belongs to a certain group and is writable by a user who is not a member of this group. This can lead to excessive permissions granted in case when they should not. This vulnerability is similar to the previous CVE-2018-13405 and adds the missed fix for the XFS.
From the CVE record by redhat, last updated October 14, 2026, 10:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | kernel | before 5.4.241 from 5.5 before 5.10.146 | 5.4.241, 5.10.146, 5.12 |
| Red Hat | Red Hat Enterprise Linux 8 kernel-rt | all versions (default) | 0:4.18.0-372.9.1.rt7.166.el8 |
| Red Hat | Red Hat Enterprise Linux 8 kernel | all versions (default) | 0:4.18.0-372.9.1.el8 |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support kernel-rt | all versions (default) | 0:4.18.0-305.49.1.rt7.121.el8_4 |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support kernel | all versions (default) | 0:4.18.0-305.49.1.el8_4 |
| Red Hat | Red Hat Enterprise Linux 6 kernel | not stated | |
| Red Hat | Red Hat Enterprise Linux 7 kernel | not stated | |
| Red Hat | Red Hat Enterprise Linux 7 kernel-rt | not stated | |
| Red Hat | Red Hat Enterprise Linux 9 kernel | not stated |
As the CVE record by redhat states it, last updated October 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | before 5.11 | operating system |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
NVD analysis (status Modified), last modified October 14, 2026, 11:16 UTC.
How severe is CVE-2021-4037?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | redhat |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-4037 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.34% probability of exploitation activity in the next 30 days, percentile 29.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-284 Improper Access Control
Is there a workaround? (from the CVE record)
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Where are the vendor advisories and references?
- RHSA-2022:1975 vendor-advisory, x_refsource_REDHAT
- RHSA-2022:1988 vendor-advisory, x_refsource_REDHAT
- RHSA-2022:4829 vendor-advisory, x_refsource_REDHAT
- RHSA-2022:4835 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2021-4037 vdb-entry, x_refsource_REDHAT
- RHBZ#2027239 issue-tracking, x_refsource_REDHAT
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103e
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848
- https://bugzilla.redhat.com/show_bug.cgi?id=2004810 x_transferred
- DSA-5257 vendor-advisory, x_transferred
- [debian-lts-announce] 20221101 [SECURITY] [DLA 3173-1] linux-5.10 security update mailing-list, x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-806742.html
When was it published, and where is the official record?
- Reserved
- December 1, 2021
- Published
- August 24, 2022, 00:00 UTC
- CVE record updated
- October 14, 2026, 10:04 UTC by redhat
- NVD
- Modified, last modified October 14, 2026, 11:16 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:46 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect kernel?
- Jan 31, 2024CVE-2024-1086 Linux Kernel: use after free exploited
- May 7, 2024CVE-2021-34981 Linux Kernel: double free
- Jan 31, 2024CVE-2024-1085 Linux Kernel: use after free
- Jan 22, 2024CVE-2024-0775 Linux kernel: use after free
- Jan 15, 2024CVE-2024-0565 Linux kernel: integer underflow
- Dec 19, 2023CVE-2023-6932 Linux Kernel: use after free
- Dec 18, 2023CVE-2023-6817 Linux Kernel: use after free
- Nov 14, 2023CVE-2023-6111 Linux Kernel: use after free
Questions about CVE-2021-4037
Is CVE-2021-4037 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.34% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Linux kernel are affected by CVE-2021-4037?
kernel before 5.4.241 and kernel from 5.5 before 5.10.146, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2021-4037?
5.4.241, 5.10.146, 5.12, 0:4.18.0-372.9.1.rt7.166.el8, 0:4.18.0-372.9.1.el8 and 0:4.18.0-305.49.1.rt7.121.el8_4, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-4037?
Medium (4.4, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2021-4037?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.