CVE-2016-7097

Summary

CVECVE-2016-7097
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-10-16 21:59:11 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe filesystem implementation in the Linux kernel through 4.8.2 preserves the setgid bit during a setxattr call, which allows local users to gain group privileges by leveraging the existence of a setgid program with restrictions on execute permissions.

Risk And Classification

Primary CVSS: v3.0 4.4 MEDIUM from [email protected]

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

EPSS: 0.000530000 probability, percentile 0.164060000 (date 2026-05-07)

Problem Types: CWE-285 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary4.4MEDIUMCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
2.0[email protected]Primary3.6AV:L/AC:L/Au:N/C:P/I:P/A:N

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
None

AV:L/AC:L/Au:N/C:P/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
support.f5.com/csp/article/K31603170 af854a3a-2127-422b-91ae-364da2661108 support.f5.com
USN-3146-2: Linux kernel (Xenial HWE) vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
'[PATCH v2] posix_acl: Clear SGID bit when setting file permissions' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info Patch
Android Security Bulletin—April 2017  |  Android Open Source Project af854a3a-2127-422b-91ae-364da2661108 source.android.com
[PATCH 2/2] posix_acl: Clear SGID bit when modifying file permissions — Linux Filesystem Development af854a3a-2127-422b-91ae-364da2661108 www.spinics.net Patch, Third Party Advisory
posix_acl: Clear SGID bit when setting file permissions · torvalds/linux@0739310 · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch, Third Party Advisory
USN-3146-1: Linux kernel vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Google Android Multiple Flaws Let Users Deny Service, Obtain Potentially Sensitive Information, and Gain Elevated Privileges and Let Remote Users Execute Arbitrary Code - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
oss-security - Re: CVE request -- linux kernel: Setting a POSIX ACL via setxattr doesn't clear the setgid bit af854a3a-2127-422b-91ae-364da2661108 www.openwall.com Mailing List
USN-3147-1: Linux kernel vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
Linux Kernel Local Security Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
kernel/git/torvalds/linux.git - Linux kernel source tree af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Issue Tracking, Patch
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
Bug 1368938 – CVE-2016-7097 kernel: Setting a POSIX ACL via setxattr doesn't clear the setgid bit af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 access.redhat.com
CONFIRM:https://support.f5.com/csp/article/K31603170?utm_source=f5support&utm_medium=RSS MITRE support.f5.com
Red Hat Customer Portal MITRE access.redhat.com
CVE-2016-7097 - Red Hat Customer Portal MITRE access.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report