Back to CVE records
Medium 4.4Published Aug 24, 2022

CVE-2021-4037Kernel: security regression for cve-2018-13405

Updated under an hour ago ()

Does this affect you?

It affects Linux kernel and 5 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
4.4 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness (CWE)
CWE-284
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
redhat
NVD analysis
Modified
Record last updated
Oct 14, 2026
First seen by InfoSec Signals
Oct 14, 2026

Affected products

Affected products
Linux kernel
linux:kernel (from the name)
before 5.4.241; from 5.5 before 5.10.146; 5.12 not affected
CNA record
Red Hat Red Hat Enterprise Linux 8
redhat:enterprise_linux
from 0:4.18.0-372.9.1.rt7.166.el8 not affected
CNA record
from 0:4.18.0-305.49.1.rt7.121.el8_4 not affected
CNA record
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name)
before V1.1
CISA ADP
linux linux_kernel
linux:linux_kernel
before 5.11
NVD
debian debian_linux
debian:debian_linux
10.0; 11.0
NVD

References

  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vendor-advisory, x-refsource-redhat
  • vdb-entry, x-refsource-redhat, third-party-advisory
  • issue-tracking, x-refsource-redhat, third-party-advisory
  • mailing-list, patch, vendor-advisory
  • mailing-list, patch, vendor-advisory
  • issue-tracking, permissions-required, third-party-advisory
  • mailing-list, third-party-advisory
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.