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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | kernel | < 5.4.241; >= 5.5, < 5.10.146 |
| Red Hat | Red Hat Enterprise Linux 8 | — |
| Red Hat | Red Hat Enterprise Linux 8 | — |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support | — |
| 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 7 | — |
| Red Hat | Red Hat Enterprise Linux 9 | — |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | < V1.1 |
References
- https://access.redhat.com/errata/RHSA-2022:1975
- https://access.redhat.com/errata/RHSA-2022:1988
- https://access.redhat.com/errata/RHSA-2022:4829
- https://access.redhat.com/errata/RHSA-2022:4835
- https://access.redhat.com/security/cve/CVE-2021-4037Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2027239Issue Tracking, Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103eMailing List, Patch, Vendor Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848Mailing List, Patch, Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2021-4037Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2004810Issue Tracking, Permissions Required, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2027239Issue Tracking, Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=01ea173e103eMailing List, Patch, Vendor Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848Mailing List, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2022/11/msg00001.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5257Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-806742.html
Timeline
- Published
- Aug 24, 2022
- Last modified
- Oct 14, 2026
- NVD status
- Modified