Skip to main content
← All vulnerabilities
CVE-2021-4037

Kernel: security regression for cve-2018-13405

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.241, 5.10.146
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • kernel

    From * · fixed in 5.4.241; From 5.5 · fixed in 5.10.146

  • kernel-rt

    Version range not reported

  • kernel

    Version range not reported

  • kernel-rt

    Version range not reported

  • kernel

    Version range not reported

  • kernel

    Version range not reported

  • kernel

    Version range not reported

  • kernel-rt

    Version range not reported

  • kernel

    Version range not reported

References 8

access.redhat.com

bugzilla.redhat.com

git.kernel.org