CVE-2021-4037

published 24 Aug 2022 · updated 14 Oct 2026

Kernel: security regression for cve-2018-13405

4.4MediumCVSS 4.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.4.241 and Kernel 5.10.146.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel<5.4.241, >=5.5 <5.10.1465.4.241, 5.10.146
Red HatEnterprise Linux

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-4037 severity on Zeptric[![CVE-2021-4037](https://zeptric.io/badge/cve/CVE-2021-4037.svg)](https://zeptric.io/cve/CVE-2021-4037)