Skip to content
CVE PROGRAM SOURCE RECORD4.4 Medium

CVE-2021-4037

Kernel: security regression for cve-2018-13405

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux kernel

Default version status: unaffected

  • * to < 5.4.241affected
  • 5.5 to < 5.10.146affected
  • 5.12unaffected

Red Hat Red Hat Enterprise Linux 8

Default version status: affected

  • 0:4.18.0-372.9.1.rt7.166.el8 to < *unaffected

Red Hat Red Hat Enterprise Linux 8

Default version status: affected

  • 0:4.18.0-372.9.1.el8 to < *unaffected

Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support

Default version status: affected

  • 0:4.18.0-305.49.1.rt7.121.el8_4 to < *unaffected

Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support

Default version status: affected

  • 0:4.18.0-305.49.1.el8_4 to < *unaffected

Red Hat Red Hat Enterprise Linux 6

Default version status: unaffected

Red Hat Red Hat Enterprise Linux 7

Default version status: unaffected

Red Hat Red Hat Enterprise Linux 7

Default version status: unaffected

Red Hat Red Hat Enterprise Linux 9

Default version status: unaffected

References