CVE-2016-7097
Summary
| CVE | CVE-2016-7097 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2016-10-16 21:59:11 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| Description | The 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
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 4.4 | MEDIUM | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| 2.0 | [email protected] | Primary | 3.6 | AV:L/AC:L/Au:N/C:P/I:P/A:N |
CVSS v3.0 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
NoneAV:L/AC:L/Au:N/C:P/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.