« List of all CVEs

CVE-2021-4037

Kernel: security regression for cve-2018-13405

Published: 8/24/2022 Last updated: 8/10/2026 Reserved: 12/1/2021

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.

CNA assigner: redhat (53f830b8-0a3f-465b-8143-3b8a9948e749) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 4.4 Medium CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Opam packages affected (29)

albatross cdrom conf-bpftool conf-libbpf conf-linux-libc-dev core core_unix hvsock mirage-block-unix mm ocaml-probes ortools_solvers orun rawlink rawlink-eio rawlink-lwt restricted shell solo5 solo5-bindings-hvt solo5-bindings-spt solo5-cross-aarch64 solo5-kernel-ukvm tracy-client tuntap uring vhd-format vhd-format-lwt xapi-stdext-unix

Products affected (18)

Product Vendor Version
Red Hat Enterprise Linux 9 Red Hat < 5.2.31
kernel Linux n/a
Red Hat Enterprise Linux 8 Red Hat n/a
Red Hat Enterprise Linux 8.4 Extended Update Support Red Hat < 13.6.08.5
Red Hat Enterprise Linux 6 Red Hat n/a
Red Hat Enterprise Linux 7 Red Hat n/a
kernel Linux MDM8207
Red Hat Enterprise Linux 8 Red Hat MDM9250
Red Hat Enterprise Linux 8.4 Extended Update Support Red Hat MDM9640
Red Hat Enterprise Linux 6 Red Hat MDM9650
Red Hat Enterprise Linux 7 Red Hat MSM8996AU
Red Hat Enterprise Linux 9 Red Hat QAM8255P
Red Hat Enterprise Linux 8 Red Hat MDM9205S
Red Hat Enterprise Linux 7 Red Hat PM8937
Red Hat Enterprise Linux 8.4 Extended Update Support Red Hat MDM9628
Red Hat Enterprise Linux 7 Red Hat < 5.1.20
Red Hat Enterprise Linux 8.4 Extended Update Support Red Hat n/a
Red Hat Enterprise Linux 8 Red Hat n/a

References (30)