CVE-2021-4037: Kernel: security regression for cve-2018-13405
Vulnerability summary
CVE-2021-4037 is a medium (CVSS 4.4) Improper Access Control vulnerability in debian debian_linux. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 27.2% of scored vulnerabilities.
Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 23 · Related 17Timeline
- 24-08-2022PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- NVDNIST4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
27%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.31% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu60 products
- linuxAll versions (No fix recorded) | < 4.4.0-234.268 | < 4.15.0-166.174 | < 5.4.0-92.103
- linux-aws< 4.4.0-1113.119 | < 4.4.0-1151.166 | < 4.15.0-1118.125 | < 5.4.0-1061.64
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11< 5.11.0-1023.24~20.04.1
- linux-aws-5.3All versions (No fix recorded)
Debian2 products
- linux< 5.14.6-1
- debian_linuxEOL10.0 | 11.0
Linux2 products
- kernel< 5.4.241 | ≥ 5.5, < 5.10.146
- linux_kernel< 5.11
3 vendors · 64 products
References
18 links- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103eMailing ListPatchVendor Advisory
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848Mailing ListPatchVendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2004810X TransferredIssue TrackingPermissions RequiredThird Party Advisory
Show all 18 references
- lists.debian.org/debian-lts-announce/2022/11/msg00001.htmlMailing ListX TransferredThird Party Advisory