CVE-2021-4037

Kernel: security regression for cve-2018-13405

MEDIUM
4.4
CVSS Score
Published: August 24, 2022 at 12:00 AM UTC
Updated: October 14, 2026 at 11:16 AM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxEnterprise Linux

Using Kernel by N/A?

Get instant alerts when new vulnerabilities affect Kernel - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.4
Exploit prediction
EPSS 0.3%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.115.5
Affected range stops below 5.10.146, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.11, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.12 (unaffected)
Affected range stops below 5.4.241, so it looks safe — our inference, not a vendor statement
All versions
Vendor states this is fixed in 0:4.18.0-372.9.1.el8 (unaffected)
Vendor states this is fixed in 0:4.18.0-372.9.1.rt7.166.el8 (unaffected)
Vendor states this is fixed in 6 (unaffected)
Vendor states this is fixed in 7 (unaffected)
Vendor states this is fixed in 9 (unaffected)

References (13)

CVSS

4.4MEDIUMredhat
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-284NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card