CVE-2021-4037
published medium CVSS 3.1 · 4.4Kernel: security regression for cve-2018-13405
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | kernelbefore 5.4.241 (affected · semver) · 5.5 to < 5.10.146 (affected · semver) · 5.12 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | kernel-rt0:4.18.0-372.9.1.rt7.166.el8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | kernel0:4.18.0-372.9.1.el8 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | kernel-rtRed Hat Enterprise Linux 8.4 Extended Update Support · 0:4.18.0-305.49.1.rt7.121.el8_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2022-021 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
Show 103 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | kernelRed Hat Enterprise Linux 8.4 Extended Update Support · 0:4.18.0-305.49.1.el8_4 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7, 9 | kernel | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 7 | kernel-rt | Unaffected | Not required | redhat |
| Siemens | — | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2023-044 | Fixed | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rtx86_64 | Advisory build | 4.12.14-10.106.1 | SUSE-SU-2022:3930-1 |
| Debian | bullseye | linux | Advisory build | 5.10.149-1 | DSA-5257-1 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | kernelsrc | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | kernelx86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rtsrc | Advisory build | 4.18.0-305.49.1.rt7.121.el8_4 | RHSA-2022:4835 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rtsrc | Advisory build | 4.18.0-372.9.1.rt7.166.el8 | RHSA-2022:1975 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rtx86_64 | Advisory build | 4.18.0-305.49.1.rt7.121.el8_4 | RHSA-2022:4835 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-rtx86_64 | Advisory build | 4.18.0-372.9.1.rt7.166.el8 | RHSA-2022:1975 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-rtx86_64 | Advisory build | 4.12.14-10.109.1 | SUSE-SU-2022:4614-1 |
| SUSE / openSUSE | SLE-15-SP3 | kernel-rtx86_64 | Advisory build | 5.3.18-150300.109.1 | SUSE-SU-2022:3929-1 |
| SUSE / openSUSE | SLE-15-SP4 | kernel-rtx86_64 | Advisory build | 5.14.21-150400.15.5.1 | SUSE-SU-2022:4617-1 |
| SUSE / openSUSE | SLE-5 | kernel-rtx86_64 | Advisory build | 5.3.18-150300.109.1 | SUSE-SU-2022:3929-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | kernel-rtx86_64 | Advisory build | 5.14.21-150400.15.5.1 | SUSE-SU-2022:4617-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.2 | kernel-rtx86_64 | Advisory build | 5.3.18-150300.109.1 | SUSE-SU-2022:3929-1 |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| Debian | buster | linux-5.10 | Advisory build | 5.10.149-2~deb10u1 | DLA-3173-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-372.9.1.el8 | ELSA-2022-1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-abi-stablelistsnoarch | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-coreppc64le | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-cores390x | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-corex86_64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugaarch64 | Advisory build | 4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat Enterprise Linux | RHEL-8 | kernel-debugppc64le | Advisory build | 4.18.0-305.49.1.el8_4 | RHSA-2022:4829 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | kernel | before 5.4.241 (affected · semver)5.5 to < 5.10.146 (affected · semver)5.12 (unaffected · semver)Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.18.0-372.9.1.rt7.166.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:4.18.0-372.9.1.el8 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support | 0:4.18.0-305.49.1.rt7.121.el8_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support | 0:4.18.0-305.49.1.el8_4 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 to < V1.1 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-284 Improper Access Control
References
13- RHSA-2022:1975 https://access.redhat.com/errata/RHSA-2022:1975
- RHSA-2022:1988 https://access.redhat.com/errata/RHSA-2022:1988
- RHSA-2022:4829 https://access.redhat.com/errata/RHSA-2022:4829
- RHSA-2022:4835 https://access.redhat.com/errata/RHSA-2022:4835
- https://access.redhat.com/security/cve/CVE-2021-4037
- https://bugzilla.redhat.com/show_bug.cgi?id=2004810
- RHBZ#2027239 https://bugzilla.redhat.com/show_bug.cgi?id=2027239
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-806742.html
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103e
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848
- [debian-lts-announce] 20221101 [SECURITY] [DLA 3173-1] linux-5.10 security update https://lists.debian.org/debian-lts-announce/2022/11/msg00001.html
- DSA-5257 https://www.debian.org/security/2022/dsa-5257
Provider assertions
3redhat · cna
Kernel: security regression for cve-2018-13405
siemens-SADP · adp
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1171b6a5dc7d019a16b929899d5c8ff79c18018cc90cf15bfbff8c04cbacdddb
- Ingested
- 14 Oct 2026, 14:23:10 UTC
- Source record
- Official CVE record