CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
0.34% in 30 days
higher than 29% of CVEs; FIRST, December 2, 2026

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?

VendorProductAffectedFixed or not affected from
Linuxkernelbefore 5.4.241
from 5.5 before 5.10.146
5.4.241, 5.10.146, 5.12
Red HatRed Hat Enterprise Linux 8 kernel-rtall versions (default)0:4.18.0-372.9.1.rt7.166.el8
Red HatRed Hat Enterprise Linux 8 kernelall versions (default)0:4.18.0-372.9.1.el8
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support kernel-rtall versions (default)0:4.18.0-305.49.1.rt7.121.el8_4
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support kernelall versions (default)0:4.18.0-305.49.1.el8_4
Red HatRed Hat Enterprise Linux 6 kernelnot stated
Red HatRed Hat Enterprise Linux 7 kernelnot stated
Red HatRed Hat Enterprise Linux 7 kernel-rtnot stated
Red HatRed Hat Enterprise Linux 9 kernelnot 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?

VendorProductVersionsType
linuxlinux kernelbefore 5.11operating system
debiandebian linux10.0operating system
debiandebian linux11.0operating system

NVD analysis (status Modified), last modified October 14, 2026, 11:16 UTC.

How severe is CVE-2021-4037?

ScoreVersionVectorSource
Medium 4.4CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Nredhat
High 7.8CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD

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?

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?

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?

Every CVE in kernel

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.