Live threats

All CVEs / Linux

CVE-2021-4037Linux Kernel

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.3%
probability of exploitation in 30 days · percentile 20
Auth required
Yes
Published
Aug 24, 2022
Updated
Oct 14, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-284
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Linux Kernel.

Affected products (CPE)

VendorProductVersions
linuxlinux_kernel< 5.11
debiandebian_linux10.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.