CVE-2017-5551

kernel: S_ISGD is not cleared when setting posix ACLs in tmpfs (CVE-2016-7097 incomplete fix)

Published Feb 6, 2017 CVSS 3.0 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
The simple_set_acl function in fs/posix_acl.c in the Linux kernel before 4.9.6 preserves the setgid bit during a setxattr call involving a tmpfs filesystem, which allows local users to gain group privileges by leveraging the existence of a setgid program with restrictions on execute permissions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-7097.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-3791-1 linux security update
EUVD EUVD EUVD-2017-14652 The simple_set_acl function in fs/posix_acl.c in the Linux kernel before 4.9.6 preserves the setgid bit during a setxattr call involving a tmpfs filesystem, which allows local users to gain group privileges by leveraging the existence of a setgid program with restrictions on execute permissions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-7097.
Ubuntu USN Ubuntu USN USN-3234-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3234-2 Linux kernel (Xenial HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3359-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3361-1 Linux kernel (HWE) vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 3:04 PM
Reserved
Jan 20, 2017, 12:00 AM
Status
Modified
Published
Feb 6, 2017, 6:59 AM
Modified
Jun 17, 2026, 1:20 AM
Severity
Moderate
Public date
Jan 9, 2017, 12:00 AM