Read the docs
TI-2021-02925 Aliases CVE-2021-4037GHSA-gvgr-4fph-m6hc

Kernel: security regression for cve-2018-13405

Priority LOW 34CWE-284Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-284.

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.

Why it matters now

EPSS 0.00337 27th percentileScored 2026-11-08
Fix Fixed kernel (Linux): 5.4.241, 5.10.146, 5.12Red Hat: 4 advisories

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Linuxkernelbefore 5.4.241; 5.5 to before 5.10.1465.4.241, 5.10.146, 5.12Patch availableCNA
Red HatRed Hat Enterprise Linux 8—4.18.0-372.9.1.rt7.166.el8Patch availableCNA
Red HatRed Hat Enterprise Linux 8—4.18.0-372.9.1.el8Patch availableCNA
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support—4.18.0-305.49.1.rt7.121.el8_4Patch availableCNA
Red HatRed Hat Enterprise Linux 8.4 Extended Update Support—4.18.0-305.49.1.el8_4Patch availableCNA
Red HatRed Hat Enterprise Linux 6——Not affectedCNA
Red HatRed Hat Enterprise Linux 7——Not affectedCNA
Red HatRed Hat Enterprise Linux 7——Not affectedCNA
Red HatRed Hat Enterprise Linux 9——Not affectedCNA
  • kernel VendorLinux Affected before 5.4.241; 5.5 to before 5.10.146 Fixed in 5.4.241, 5.10.146, 5.12 Patch available CNA
  • Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 4.18.0-372.9.1.rt7.166.el8 Patch available CNA
  • Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in 4.18.0-372.9.1.el8 Patch available CNA
  • Red Hat Enterprise Linux 8.4 Extended Update Support VendorRed Hat Affected — Fixed in 4.18.0-305.49.1.rt7.121.el8_4 Patch available CNA
  • Red Hat Enterprise Linux 8.4 Extended Update Support VendorRed Hat Affected — Fixed in 4.18.0-305.49.1.el8_4 Patch available CNA
  • Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
  • Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in — Not affected CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*before 5.11VulnerableLinux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*11.0VulnerableDebian
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions before 5.11 Vulnerable ·Linux
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian

Remediation

  • Fix · CNA kernel (Linux) Fixed in 5.4.241, 5.10.146, 5.12

Red Hat 4 advisories

  • RHSA-2022:4835 Released 2022-05-31 · Red Hat rating Important
    kernel-rt security and bug fix update
    • Red Hat Enterprise Linux NFV EUS (v.8.4) kernel-rt-4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-core-4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-debug-4.18.0-305.49.1.rt7.121.el8_4 +9
    • Red Hat Enterprise Linux RT EUS (v.8.4) kernel-rt-4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-core-4.18.0-305.49.1.rt7.121.el8_4, kernel-rt-debug-4.18.0-305.49.1.rt7.121.el8_4 +7
  • RHSA-2022:4829 Released 2022-05-31 · Red Hat rating Important
    kernel security, bug fix, and enhancement update
    • Red Hat Enterprise Linux BaseOS EUS (v.8.4) bpftool-4.18.0-305.49.1.el8_4, kernel-4.18.0-305.49.1.el8_4, kernel-abi-stablelists-4.18.0-305.49.1.el8_4 +19
    • Red Hat Enterprise Linux CRB EUS (v.8.4) kernel-tools-libs-devel-4.18.0-305.49.1.el8_4
  • RHSA-2022:1988 Released 2022-05-10 · Red Hat rating Important
    kernel security, bug fix, and enhancement update
    • Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-372.9.1.el8, kernel-4.18.0-372.9.1.el8, kernel-abi-stablelists-4.18.0-372.9.1.el8 +19
    • Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-372.9.1.el8
Show 1 more Red Hat advisories
  • RHSA-2022:1975 Released 2022-05-10 · Red Hat rating Important
    kernel-rt security and bug fix update
    • Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-372.9.1.rt7.166.el8, kernel-rt-core-4.18.0-372.9.1.rt7.166.el8, kernel-rt-debug-4.18.0-372.9.1.rt7.166.el8 +9
    • Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-372.9.1.rt7.166.el8, kernel-rt-core-4.18.0-372.9.1.rt7.166.el8, kernel-rt-debug-4.18.0-372.9.1.rt7.166.el8 +7

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2022:1988
Red Hat Enterprise Linux BaseOS EUS (v.8.4)Fixed RHSA-2022:4829
Red Hat Enterprise Linux CRB (v. 8)Fixed RHSA-2022:1988
Red Hat Enterprise Linux CRB EUS (v.8.4)Fixed RHSA-2022:4829
Red Hat Enterprise Linux NFV (v. 8)Fixed RHSA-2022:1975
Red Hat Enterprise Linux NFV EUS (v.8.4)Fixed RHSA-2022:4835
Red Hat Enterprise Linux RT (v. 8)Fixed RHSA-2022:1975
Red Hat Enterprise Linux RT EUS (v.8.4)Fixed RHSA-2022:4835
Not affected: 3 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-4037
  2. 2026-10-03 Alias added: GHSA-gvgr-4fph-m6hc

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources