CVE-2018-13405

medium
Published — · Modified —
CVSS v3
CVSS v2
VIR risk
5.5

Description

The inode_init_owner function in fs/inode.c in the Linux kernel through 3.16 allows local users to create files with an unintended group ownership, in a scenario where a directory is SGID to a certain group and is writable by a user who is not a member of that group. Here, the non-member can trigger creation of a plain file whose group ownership is that group. The intended behavior was that the non-member can trigger creation of a directory (but not a plain file) whose group ownership is that group. The non-member can escalate privileges by making the plain file executable and SGID.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2018-13405

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2022:0886

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2022:1975

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2022:1988

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2018-13405.html

OS impact

OSVersionStatusFixed in
suse slesaffected
rockylinux rocky8fixed
debian debianbookwormfixed4.17.6-1
debian debianbullseyefixed4.17.6-1
debian debianforkyfixed4.17.6-1
debian debiansidfixed4.17.6-1
debian debiantrixiefixed4.17.6-1

References

Verify integrity in audit chain (admin only). AS-IS.