Skip to content
OpenAdvisories
Medium · 4.4 CVE-2021-4037 EUVD-2021-33937GHSA-gvgr-4fph-m6hc

Kernel: security regression for cve-2018-13405

Published Aug 24, 2022 · Updated Oct 14, 2026 · Assigned by redhat

Vendor: Linux Vendor: Red Hat Product: kernel Product: Red Hat Enterprise Linux 6 Product: Red Hat Enterprise Linux 7 Product: Red Hat Enterprise Linux 8 Product: Red Hat Enterprise Linux 8.4 Extended Update Support Product: Red Hat Enterprise Linux 9 Package: linux Package: linux Package: linux-aws Package: linux-aws-5.0 Package: linux-aws-5.11 Package: linux-aws-5.3 Package: linux-aws-5.4 Package: linux-aws-5.8 Package: linux-aws-fips Package: linux-aws-hwe Package: linux-azure Package: linux-azure-4.15 Package: linux-azure-5.11 Package: linux-azure-5.3 Package: linux-azure-5.4 Package: linux-azure-5.8 Package: linux-azure-edge Package: linux-azure-fips Package: linux-bluefield Package: linux-dell300x Package: linux-fips Package: linux-gcp Package: linux-gcp-4.15 Package: linux-gcp-5.11 Package: linux-gcp-5.3 Package: linux-gcp-5.4 Package: linux-gcp-5.8 Package: linux-gcp-fips Package: linux-gke Package: linux-gke-4.15 Package: linux-gke-5.4 Package: linux-gkeop Package: linux-gkeop-5.4 Package: linux-hwe Package: linux-hwe-5.11 Package: linux-hwe-5.4 Package: linux-hwe-5.8 Package: linux-hwe-edge Package: linux-ibm Package: linux-intel-5.13 Package: linux-intel-iot-realtime Package: linux-kvm Package: linux-lts-xenial Package: linux-oem Package: linux-oem-5.10 Package: linux-oem-5.6 Package: linux-oracle Package: linux-oracle-5.0 Package: linux-oracle-5.11 Package: linux-oracle-5.3 Package: linux-oracle-5.4 Package: linux-oracle-5.8 Package: linux-raspi Package: linux-raspi-5.4 Package: linux-raspi-realtime Package: linux-raspi2 Package: linux-realtime Package: linux-riscv Package: linux-riscv-5.11 Package: linux-riscv-5.8 Package: linux-snapdragon Package: linux-vmware Platform: Linux Ecosystem: Debian Ecosystem: Ubuntu

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

VendorProductAffectedFixed
Linux kernel < 5.4.241, 5.5 – < 5.10.146 5.4.241
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.14.6-1 —
Debian 13 linux 5.14.6-1 —
Debian 12 linux 5.14.6-1 —
Debian 11 linux 5.10.149-1 DSA-5257-1
Debian 10 linux-5.10 5.10.149-2~deb10u1 DLA-3173-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-realtime +1 No fix yet —
Ubuntu 20.04 LTS linux 5.4.0-92.103 —
Ubuntu 20.04 LTS linux-aws 5.4.0-1061.64 —
Ubuntu 20.04 LTS linux-aws-5.11 +2 5.11.0-1023.24~20.04.1 —
Ubuntu 20.04 LTS linux-azure 5.4.0-1065.68 —
Ubuntu 20.04 LTS linux-bluefield 5.4.0-1023.26 —
Ubuntu 20.04 LTS linux-gcp +1 5.4.0-1059.63 —
Ubuntu 20.04 LTS linux-gcp-5.11 5.11.0-1024.26~20.04.1 —
Ubuntu 20.04 LTS linux-gke 5.4.0-1057.60 —
Ubuntu 20.04 LTS linux-gkeop 5.4.0-1029.30 —
Ubuntu 20.04 LTS linux-ibm 5.4.0-1010.11 —
Ubuntu 20.04 LTS linux-kvm 5.4.0-1051.53 —
Ubuntu 20.04 LTS linux-oem-5.10 5.10.0-1052.54 —
Ubuntu 20.04 LTS linux-raspi 5.4.0-1048.53 —
Ubuntu 20.04 LTS linux-riscv +10 No fix yet —
Ubuntu 20.04 LTS linux-riscv-5.11 5.11.0-1024.25~20.04.1 —
Ubuntu 18.04 LTS linux 4.15.0-166.174 —
Ubuntu 18.04 LTS linux-aws 4.15.0-1118.125 —
Ubuntu 18.04 LTS linux-aws-5.4 5.4.0-1061.64~18.04.1 —
Ubuntu 18.04 LTS linux-azure-4.15 4.15.0-1129.142 —
Ubuntu 18.04 LTS linux-azure-5.4 5.4.0-1065.68~18.04.1 —
Ubuntu 18.04 LTS linux-dell300x 4.15.0-1033.38 —
Ubuntu 18.04 LTS linux-gcp +12 No fix yet —
Ubuntu 18.04 LTS linux-gcp-4.15 4.15.0-1114.128 —
Ubuntu 18.04 LTS linux-gcp-5.4 +1 5.4.0-1059.63~18.04.1 —
Ubuntu 18.04 LTS linux-gke-5.4 5.4.0-1057.60~18.04.1 —
Ubuntu 18.04 LTS linux-gkeop-5.4 5.4.0-1029.30~18.04.2 —
Ubuntu 18.04 LTS linux-hwe-5.4 5.4.0-92.103~18.04.2 —
Ubuntu 18.04 LTS linux-kvm 4.15.0-1105.107 —
Ubuntu 18.04 LTS linux-oracle 4.15.0-1085.93 —
Ubuntu 18.04 LTS linux-raspi-5.4 5.4.0-1048.53~18.04.1 —
Ubuntu 18.04 LTS linux-raspi2 4.15.0-1101.108 —
Ubuntu 18.04 LTS linux-snapdragon 4.15.0-1118.127 —
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 18.04 LTS linux-fips +3 No fix yet —
Ubuntu Pro FIPS 16.04 LTS linux-fips No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS linux-aws-fips 5.4.0-1069.73+fips2 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-azure-fips 5.4.0-1073.76+fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-fips 5.4.0-1038.44 —
Ubuntu Pro FIPS-updates 20.04 LTS linux-gcp-fips 5.4.0-1067.71~20.04.1 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-aws-fips 4.15.0-2059.61 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-azure-fips 4.15.0-2041.45 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-fips 4.15.0-1075.84 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-gcp-fips 4.15.0-2024.26 —
Ubuntu Pro FIPS-updates 16.04 LTS linux-fips 4.4.0-1083.90 —
Ubuntu Pro 16.04 LTS linux 4.4.0-234.268 USN-5650-1
Ubuntu Pro 16.04 LTS linux-aws 4.4.0-1151.166 USN-5650-1
Ubuntu Pro 16.04 LTS linux-aws-hwe 4.15.0-1118.125~16.04.1 —
Ubuntu Pro 16.04 LTS linux-azure 4.15.0-1129.142~16.04.1 —
Ubuntu Pro 16.04 LTS linux-gcp 4.15.0-1114.128~16.04.1 —
Ubuntu Pro 16.04 LTS linux-hwe 4.15.0-166.174~16.04.1 —
Ubuntu Pro 16.04 LTS linux-kvm 4.4.0-1114.124 USN-5650-1
Ubuntu Pro 16.04 LTS linux-oracle 4.15.0-1085.93~16.04.1 —
Ubuntu Pro 14.04 LTS linux No fix yet —
Ubuntu Pro 14.04 LTS linux-aws 4.4.0-1113.119 USN-5650-1
Ubuntu Pro 14.04 LTS linux-azure 4.15.0-1129.142~14.04.1 —
Ubuntu Pro 14.04 LTS linux-lts-xenial 4.4.0-234.268~14.04.1 USN-5650-1
ReleasePackageFixed inAdvisory
RHEL 8 kernel-rt +12 4.18.0-372.9.1.rt7.166.el8 RHSA-2022:1975
RHEL 8 perf +26 4.18.0-372.9.1.el8 RHSA-2022:1988
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.4 EUS kernel-rt +12 4.18.0-305.49.1.rt7.121.el8_4 RHSA-2022:4835
RHEL 8.4 EUS perf +26 4.18.0-305.49.1.el8_4 RHSA-2022:4829

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 perf +19 4.18.0-372.9.1.el8 ALSA-2022:1988

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 kernel 4.18.0-372.9.1.el8 RLSA-2022:1988
Rocky Linux 8 kernel-rt 4.18.0-372.9.1.rt7.166.el8 RLSA-2022:1975
ReleasePackageFixed inAdvisory
SLES 15 SP4 kernel-64kb +4 5.14.21-150400.24.21.2 SUSE-SU-2022:3293-1
SLES 15 SP4 kernel-azure +2 5.14.21-150400.14.13.1 SUSE-SU-2022:3288-1
SLES 15 SP4 kernel-default-base 5.14.21-150400.24.21.2.150400.24.7.2 SUSE-SU-2022:3293-1
SLES 15 SP4 kernel-docs 5.14.21-150400.24.21.3 SUSE-SU-2022:3293-1
SLES 15 SP4 kernel-syms 5.14.21-150400.24.21.1 SUSE-SU-2022:3293-1
SLES 15 SP3 kernel-64kb +7 5.3.18-150300.59.101.1 SUSE-SU-2022:4053-1
SLES 15 SP3 kernel-azure +2 5.3.18-150300.38.83.1 SUSE-SU-2022:3897-1
SLES 15 SP3 kernel-default-base 5.3.18-150300.59.101.1.150300.18.58.1 SUSE-SU-2022:4053-1
SLES 15 SP2 kernel-default-base 5.3.18-150200.24.139.1.150200.9.65.2 SUSE-SU-2022:4589-1
SLES 15 SP2 kernel-docs +5 5.3.18-150200.24.139.1 SUSE-SU-2022:4589-1
SLES 15 SP1 kernel-docs +5 4.12.14-150100.197.131.1 SUSE-SU-2022:4574-1
SLES 15 kernel-docs +6 4.12.14-150000.150.109.1 SUSE-SU-2022:4573-1
Show 31 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 kernel-azure +2 4.12.14-16.115.1 SUSE-SU-2022:4273-1
SLES 12 SP5 kernel-docs +4 4.12.14-122.139.1 SUSE-SU-2022:4272-1
SLES 12 SP4 kernel-syms +2 4.12.14-95.114.1 SUSE-SU-2022:4615-1
SLES 12 SP3 kernel-syms +2 4.4.180-94.182.1 SUSE-SU-2022:4611-1
SLES 12 SP2 kernel-syms +2 4.4.121-92.196.2 SUSE-SU-2022:4561-1
SLES for SAP 15 SP2 kernel-default-base 5.3.18-150200.24.139.1.150200.9.65.2 SUSE-SU-2022:4589-1
SLES for SAP 15 SP2 kernel-docs +5 5.3.18-150200.24.139.1 SUSE-SU-2022:4589-1
SLES for SAP 15 SP1 kernel-docs +4 4.12.14-150100.197.131.1 SUSE-SU-2022:4574-1
SLES for SAP 15 kernel-docs +5 4.12.14-150000.150.109.1 SUSE-SU-2022:4573-1
SLES for SAP 12 SP5 kernel-azure +2 4.12.14-16.115.1 SUSE-SU-2022:4273-1
SLES for SAP 12 SP5 kernel-syms +2 4.12.14-122.139.1 SUSE-SU-2022:4272-1
SLES for SAP 12 SP4 kernel-syms +2 4.12.14-95.114.1 SUSE-SU-2022:4615-1
SLE Real Time 12 SP5 kernel-rt +3 4.12.14-10.106.1 SUSE-SU-2022:4614-1, SUSE-SU-2022:3930-1
SLE Micro 5.2 kernel-default 5.3.18-150300.59.101.1 SUSE-SU-2022:4053-1
SLE Micro 5.2 kernel-default-base 5.3.18-150300.59.101.1.150300.18.58.1 SUSE-SU-2022:4053-1
SLE Micro 5.2 kernel-rt 5.3.18-150300.109.1 SUSE-SU-2022:3929-1
SLE Micro 5.1 kernel-default 5.3.18-150300.59.101.1 SUSE-SU-2022:4053-1
SLE Micro 5.1 kernel-default-base 5.3.18-150300.59.101.1.150300.18.58.1 SUSE-SU-2022:4053-1
SLE Micro 5.1 kernel-rt 5.3.18-150300.109.1 SUSE-SU-2022:3929-1
SLE Live Patching 15 SP4 kernel-default 5.14.21-150400.24.21.2 SUSE-SU-2022:3293-1
SLE Live Patching 15 SP4 kernel-livepatch-SLE15-SP4-RT_Update_1 1-150400.1.3.1 SUSE-SU-2022:4617-1
SLE Live Patching 15 SP4 kernel-livepatch-SLE15-SP4_Update_3 1-150400.9.3.2 SUSE-SU-2022:3293-1
SLE Live Patching 15 SP3 kernel-default 5.3.18-150300.59.101.1 SUSE-SU-2022:4053-1
SLE Live Patching 15 SP3 kernel-livepatch-SLE15-SP3_Update_26 1-150300.7.3.1 SUSE-SU-2022:4053-1
SLE Live Patching 15 SP2 kernel-default 5.3.18-150200.24.139.1 SUSE-SU-2022:4589-1
SLE Live Patching 15 SP2 kernel-livepatch-SLE15-SP2_Update_32 1-150200.5.5.1 SUSE-SU-2022:4589-1
SLE Live Patching 15 SP1 kernel-default 4.12.14-150100.197.131.1 SUSE-SU-2022:4574-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_36 1-150100.3.5.1 SUSE-SU-2022:4574-1
SLE Live Patching 15 kernel-default 4.12.14-150000.150.109.1 SUSE-SU-2022:4573-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_35 1-150000.1.5.1 SUSE-SU-2022:4573-1
SLE Live Patching 12 SP5 kernel-default 4.12.14-122.139.1 SUSE-SU-2022:4272-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_37 1-8.3.1 SUSE-SU-2022:4272-1
SLE Live Patching 12 SP4 kernel-default 4.12.14-95.114.1 SUSE-SU-2022:4615-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_32 1-6.3.1 SUSE-SU-2022:4615-1
SLE HPC 15 SP2 kernel-default-base 5.3.18-150200.24.139.1.150200.9.65.2 SUSE-SU-2022:4589-1
SLE HPC 15 SP2 kernel-docs +5 5.3.18-150200.24.139.1 SUSE-SU-2022:4589-1
SLE HPC 15 SP1 kernel-docs +4 4.12.14-150100.197.131.1 SUSE-SU-2022:4574-1
SLE HPC 15 kernel-docs +5 4.12.14-150000.150.109.1 SUSE-SU-2022:4573-1
SUSE Real Time Module 15 SP4 kernel-rt +3 5.14.21-150400.15.5.1 SUSE-SU-2022:4617-1
SUSE Real Time Module 15 SP3 kernel-rt +3 5.3.18-150300.109.1 SUSE-SU-2022:3929-1
SUSE OpenStack Cloud Crowbar 9 kernel-syms +2 4.12.14-95.114.1 SUSE-SU-2022:4615-1
SUSE OpenStack Cloud 9 kernel-syms +2 4.12.14-95.114.1 SUSE-SU-2022:4615-1
SUSE Manager Server 4.1 kernel-default-base 5.3.18-150200.24.139.1.150200.9.65.2 SUSE-SU-2022:4589-1
SUSE Manager Server 4.1 kernel-docs +5 5.3.18-150200.24.139.1 SUSE-SU-2022:4589-1
SUSE Manager Retail Branch Server 4.1 kernel-default-base 5.3.18-150200.24.139.1.150200.9.65.2 SUSE-SU-2022:4589-1
SUSE Manager Retail Branch Server 4.1 kernel-docs +4 5.3.18-150200.24.139.1 SUSE-SU-2022:4589-1
SUSE Manager Proxy 4.1 kernel-default-base 5.3.18-150200.24.139.1.150200.9.65.2 SUSE-SU-2022:4589-1
SUSE Manager Proxy 4.1 kernel-docs +4 5.3.18-150200.24.139.1 SUSE-SU-2022:4589-1
SUSE Enterprise Storage 7 kernel-default-base 5.3.18-150200.24.139.1.150200.9.65.2 SUSE-SU-2022:4589-1
SUSE Enterprise Storage 7 kernel-docs +5 5.3.18-150200.24.139.1 SUSE-SU-2022:4589-1
SUSE Enterprise Storage 6 kernel-docs +4 4.12.14-150100.197.131.1 SUSE-SU-2022:4574-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 dtb-aarch64 5.3.18-150300.59.101.1 SUSE-SU-2022:4053-1, SUSE-SU-2022:3293-1
openSUSE Leap 15.4 kernel-64kb +2 5.14.21-150400.24.21.2 SUSE-SU-2022:3293-1
openSUSE Leap 15.4 kernel-azure +2 5.14.21-150400.14.13.1 SUSE-SU-2022:3288-1
openSUSE Leap 15.4 kernel-debug +4 4.12.14-150100.197.131.1 SUSE-SU-2022:4574-1, SUSE-SU-2022:3293-1
openSUSE Leap 15.4 kernel-default-base 5.14.21-150400.24.21.2.150400.24.7.2 SUSE-SU-2022:3293-1
openSUSE Leap 15.4 kernel-docs 5.14.21-150400.24.21.3 SUSE-SU-2022:3293-1
openSUSE Leap 15.4 kernel-rt +3 5.14.21-150400.15.5.1 SUSE-SU-2022:4617-1
openSUSE Leap 15.4 kernel-syms +1 5.14.21-150400.24.21.1 SUSE-SU-2022:3293-1
openSUSE Leap 15.3 dtb-aarch64 +7 5.3.18-150300.59.101.1 SUSE-SU-2022:4053-1
openSUSE Leap 15.3 kernel-azure +2 5.3.18-150300.38.83.1 SUSE-SU-2022:3897-1
openSUSE Leap 15.3 kernel-debug +4 4.12.14-150100.197.131.1 SUSE-SU-2022:4574-1, SUSE-SU-2022:4053-1
openSUSE Leap 15.3 kernel-default-base 5.3.18-150300.59.101.1.150300.18.58.1 SUSE-SU-2022:4053-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.2 kernel-default 5.3.18-150300.59.101.1 SUSE-SU-2022:4053-1
openSUSE Leap Micro 5.2 kernel-default-base 5.3.18-150300.59.101.1.150300.18.58.1 SUSE-SU-2022:4053-1
openSUSE Leap Micro 5.2 kernel-rt 5.3.18-150300.109.1 SUSE-SU-2022:3929-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 perf +19 4.18.0-372.9.1.el8 ELSA-2022-1988

Advisories 33

References