CVE-2016-7097: The filesystem implementation in the Linux kernel through 4.8.2 preserves the setgid bit during a setxattr call, which allows local users to…
Noroxi assessment
Priority: Monitor (action score 17/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.39% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: linux (Debian:12) 4.7.8-1; linux (Debian:7) 3.2.84-1; kernel (Red Hat:enterprise_linux:6::client) 0:2.6.32-696.el6.
Low priority for now. Upgrade to linux (Debian:12) 4.7.8-1; linux (Debian:7) 3.2.84-1; kernel (Red Hat:enterprise_linux:6::client) 0:2.6.32-696.el6 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Oct 16, 2016
- Updated
- Jun 16, 2026
- EPSS
- 0.3% · 33th percentile
- CWE
- CWE-285
Report tools
Action score
17
Low priority for now.
- CVSS
- 17 / 40 · 4.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernelup to 4.8.2 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 4.7.8-1 | 4.7.8-1 |
| Debian:7 | linux | before 3.2.84-1 | 3.2.84-1 |
| Red Hat:enterprise_linux:6::client | kernel | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | kernel-abi-whitelists | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | kernel-debug | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | kernel-debug-debuginfo | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | kernel-debug-devel | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | kernel-debuginfo | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | kernel-debuginfo-common-i686 | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | kernel-debuginfo-common-x86_64 | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | kernel-devel | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | kernel-doc | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | kernel-firmware | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | kernel-headers | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | perf | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | perf-debuginfo | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | python-perf | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::client | python-perf-debuginfo | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::server | kernel-bootwrapper | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::server | kernel-debuginfo-common-ppc64 | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::server | kernel-debuginfo-common-s390x | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::server | kernel-kdump | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::server | kernel-kdump-debuginfo | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
| Red Hat:enterprise_linux:6::server | kernel-kdump-devel | before 0:2.6.32-696.el6 | 0:2.6.32-696.el6 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2016-7039Oct 16, 2016 · The IP stack in the Linux kernel through 4.8.2 allows remote attackers to cause a denial of service (stack consumption and panic) or…32Monitor
- ← EarlierCVE-2016-7042Oct 16, 2016 · The proc_keys_show function in security/keys/proc.c in the Linux kernel through 4.8.2, when the GNU Compiler Collection (gcc) stack…24Monitor
- Later →CVE-2016-7425Oct 16, 2016 · The arcmsr_iop_message_xfer function in drivers/scsi/arcmsr/arcmsr_hba.c in the Linux kernel through 4.8.2 does not restrict a certain…31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:linux | 4.7.8-1 · Debian:12 | Package registry (OSV) |
| red hat:kernel | 0:2.6.32-696.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:kernel-abi-whitelists | 0:2.6.32-696.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:kernel-debug | 0:2.6.32-696.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:2.6.32-696.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:2.6.32-696.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:2.6.32-696.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:kernel-debuginfo-common-i686 | 0:2.6.32-696.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:kernel-debuginfo-common-x86_64 | 0:2.6.32-696.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:kernel-devel | 0:2.6.32-696.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:perf-debuginfo | 0:2.6.32-696.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:python-perf | 0:2.6.32-696.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:python-perf-debuginfo | 0:2.6.32-696.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| suse:kernel-bigmem | 3.0.101-88.1 · SUSE:Linux Enterprise Server 11 SP4 | Package registry (OSV) |
| suse:kernel-default | 3.12.67-60.64.18.1 · SUSE:Linux Enterprise Desktop 12 SP1 | Package registry (OSV) |
| suse:kernel-docs | 3.12.67-60.64.18.3 · SUSE:Linux Enterprise Software Development Kit 12 SP1 | Package registry (OSV) |
| suse:kernel-ec2 | 3.12.67-60.64.18.1 · SUSE:Linux Enterprise Module for Public Cloud 12 | Package registry (OSV) |
| suse:kernel-obs-build | 3.12.67-60.64.18.1 · SUSE:Linux Enterprise Software Development Kit 12 SP1 | Package registry (OSV) |
| suse:kernel-pae | 3.0.101-88.1 · SUSE:Linux Enterprise Server 11 SP4 | Package registry (OSV) |
| suse:kernel-ppc64 | 3.0.101-88.1 · SUSE:Linux Enterprise Server 11 SP4 | Package registry (OSV) |
| suse:kernel-source | 3.12.67-60.64.18.1 · SUSE:Linux Enterprise Desktop 12 SP1 | Package registry (OSV) |
| suse:kernel-syms | 3.12.67-60.64.18.1 · SUSE:Linux Enterprise Desktop 12 SP1 | Package registry (OSV) |
| suse:kernel-trace | 3.0.101-88.1 · SUSE:Linux Enterprise Server 11 SP4 | Package registry (OSV) |
| suse:kernel-xen | 3.12.67-60.64.18.1 · SUSE:Linux Enterprise Desktop 12 SP1 | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP1_Update_9 | 1-6.3 · SUSE:Linux Enterprise Live Patching 12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- none
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-285 · Improper AuthorizationCVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Accessing Functionality Not Properly Constrained by ACLsCAPEC-1likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Directory IndexingCAPEC-127likelihood: High · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
- Using Malicious FilesCAPEC-17likelihood: High · Very High
- Manipulating Opaque Client-based Data TokensCAPEC-39likelihood: High · Medium
- Bypassing ATA Password SecurityCAPEC-402
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
- Data from Local SystemT1005
- Query RegistryT1012
- File and Directory DiscoveryT1083
- Access Token Manipulation:Token Impersonation/TheftT1134.001
- Use Alternate Authentication Material:Web Session CookieT1550.004
- Unsecured Credentials: Credentials in RegistryT1552.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Data Manipulation: Transmitted Data ManipulationT1565.002
- Hijack Execution Flow: Executable Installer File Permissions WeaknessT1574.005
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
- Hijack Execution Flow: ServicesFile Permissions WeaknessT1574.010
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (16 more)Show less
- marc.info/?l=linux-fsdevel&m=147162313630259&w=2
- rhn.redhat.com/errata/RHSA-2017-0817.html
- www.openwall.com/lists/oss-security/2016/08/26/3
- www.securityfocus.com/bid/92659
- www.securitytracker.com/id/1038201
- www.spinics.net/lists/linux-fsdevel/msg98328.html
- www.ubuntu.com/usn/USN-3146-1
- www.ubuntu.com/usn/USN-3146-2
- www.ubuntu.com/usn/USN-3147-1
- access.redhat.com/errata/RHSA-2017:1842
- access.redhat.com/errata/RHSA-2017:2077
- access.redhat.com/errata/RHSA-2017:2669
- bugzilla.redhat.com/show_bug.cgi?id=1368938
- github.com/torvalds/linux/commit/073931017b49d9458aa351605b43a7e34598caef
- source.android.com/security/bulletin/2017-04-01
- support.f5.com/csp/article/K31603170?utm_source=f5support&%3Butm_medium=RSS
Vendor advisories and official records. Exploit/PoC links are deliberately left out.