CVE-2021-4037

Kernel: security regression for cve-2018-13405

State
Published
Severity
4.4 Medium
Published
Aug 24, 2022
Updated
Oct 14, 2026
Reserved
Dec 1, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.4 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:Nredhat

Weaknesses

Affected Products

ProductVersions
kernelLinux
  • before 5.4.241Affected
  • 5.5 to before 5.10.146Affected
  • 5.12Not affected
Red Hat Enterprise Linux 8Red Hat
  • 0:4.18.0-372.9.1.rt7.166.el8 and laterNot affected
Red Hat Enterprise Linux 8Red Hat
  • 0:4.18.0-372.9.1.el8 and laterNot affected
Red Hat Enterprise Linux 8.4 Extended Update SupportRed Hat
  • 0:4.18.0-305.49.1.rt7.121.el8_4 and laterNot affected
Red Hat Enterprise Linux 8.4 Extended Update SupportRed Hat
  • 0:4.18.0-305.49.1.el8_4 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 7Red Hat
      Red Hat Enterprise Linux 7Red Hat
        Red Hat Enterprise Linux 9Red Hat

          References

          Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.