CVE-2016-7097
publishedkernel: Setting a POSIX ACL via setxattr doesn't clear the setgid bit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | wheezy | linux | Advisory build | 3.2.84-1 | DLA-772-1 |
| Oracle Linux | 6 | dtrace-modules-3.8.13-118.19.3.el6uekx86_64 | Advisory build | 0:0.4.5-3.el6 | ELSA-2017-3596 |
| Red Hat Enterprise Linux | RHEL-6 | kerneli686 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Oracle Linux | 6 | dtrace-modules-4.1.12-61.1.33.el6uekx86_64 | Advisory build | 0:0.5.3-2.el6 | ELSA-2017-3533 |
| Oracle Linux | 6 | kerneli686 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernelx86_64 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-abi-whitelistsi686 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | kernel-abi-whitelistsx86_64 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-debugi686 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-debugx86_64 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-debug-develi686 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-debug-develx86_64 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-develi686 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-develx86_64 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-doci686 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-docx86_64 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-firmwarei686 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-firmwarex86_64 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-headersi686 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-headersx86_64 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | kernel-uekx86_64 | Advisory build | 0:3.8.13-118.19.3.el6uek | ELSA-2017-3596 |
| Oracle Linux | 6 | kernel-uekx86_64 | Advisory build | 0:4.1.12-61.1.33.el6uek | ELSA-2017-3533 |
| Oracle Linux | 6 | kernel-uek-debugx86_64 | Advisory build | 0:3.8.13-118.19.3.el6uek | ELSA-2017-3596 |
| Oracle Linux | 6 | kernel-uek-debugx86_64 | Advisory build | 0:4.1.12-61.1.33.el6uek | ELSA-2017-3533 |
| Oracle Linux | 6 | kernel-uek-debug-develx86_64 | Advisory build | 0:3.8.13-118.19.3.el6uek | ELSA-2017-3596 |
| Oracle Linux | 6 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.1.12-61.1.33.el6uek | ELSA-2017-3533 |
| Oracle Linux | 6 | kernel-uek-develx86_64 | Advisory build | 0:3.8.13-118.19.3.el6uek | ELSA-2017-3596 |
| Oracle Linux | 6 | kernel-uek-develx86_64 | Advisory build | 0:4.1.12-61.1.33.el6uek | ELSA-2017-3533 |
| Oracle Linux | 6 | kernel-uek-docx86_64 | Advisory build | 0:3.8.13-118.19.3.el6uek | ELSA-2017-3596 |
| Oracle Linux | 6 | kernel-uek-docx86_64 | Advisory build | 0:4.1.12-61.1.33.el6uek | ELSA-2017-3533 |
| Oracle Linux | 6 | kernel-uek-firmwarex86_64 | Advisory build | 0:3.8.13-118.19.3.el6uek | ELSA-2017-3596 |
| Oracle Linux | 6 | kernel-uek-firmwarex86_64 | Advisory build | 0:4.1.12-61.1.33.el6uek | ELSA-2017-3533 |
| Oracle Linux | 6 | perfi686 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | perfx86_64 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | python-perfi686 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 6 | python-perfx86_64 | Advisory build | 0:2.6.32-696.el6 | ELSA-2017-0817 |
| Oracle Linux | 7 | dtrace-modules-3.8.13-118.19.3.el7uekx86_64 | Advisory build | 0:0.4.5-3.el7 | ELSA-2017-3596 |
| Oracle Linux | 7 | dtrace-modules-4.1.12-61.1.33.el7uekx86_64 | Advisory build | 0:0.5.3-2.el7 | ELSA-2017-3533 |
| Oracle Linux | 7 | kernelx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernelx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-abi-whitelistsx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-abi-whitelistsx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-debugx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-debugx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-debug-develx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-debug-develx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-develx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-develx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-docx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-docx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-headersx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-headersx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-toolsx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-toolsx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-tools-libsx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-tools-libsx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-tools-libs-develx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | kernel-tools-libs-develx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:3.8.13-118.19.3.el7uek | ELSA-2017-3596 |
| Oracle Linux | 7 | kernel-uekx86_64 | Advisory build | 0:4.1.12-61.1.33.el7uek | ELSA-2017-3533 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:3.8.13-118.19.3.el7uek | ELSA-2017-3596 |
| Oracle Linux | 7 | kernel-uek-debugx86_64 | Advisory build | 0:4.1.12-61.1.33.el7uek | ELSA-2017-3533 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:3.8.13-118.19.3.el7uek | ELSA-2017-3596 |
| Oracle Linux | 7 | kernel-uek-debug-develx86_64 | Advisory build | 0:4.1.12-61.1.33.el7uek | ELSA-2017-3533 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:3.8.13-118.19.3.el7uek | ELSA-2017-3596 |
| Oracle Linux | 7 | kernel-uek-develx86_64 | Advisory build | 0:4.1.12-61.1.33.el7uek | ELSA-2017-3533 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:3.8.13-118.19.3.el7uek | ELSA-2017-3596 |
| Oracle Linux | 7 | kernel-uek-docx86_64 | Advisory build | 0:4.1.12-61.1.33.el7uek | ELSA-2017-3533 |
| Oracle Linux | 7 | kernel-uek-firmwarex86_64 | Advisory build | 0:3.8.13-118.19.3.el7uek | ELSA-2017-3596 |
| Oracle Linux | 7 | kernel-uek-firmwarex86_64 | Advisory build | 0:4.1.12-61.1.33.el7uek | ELSA-2017-3533 |
| Oracle Linux | 7 | perfx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | perfx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Oracle Linux | 7 | python-perfx86_64 | Advisory build | 0:3.10.0-693.0.0.0.1.el7 | ELSA-2017-1842-1 |
| Oracle Linux | 7 | python-perfx86_64 | Advisory build | 0:3.10.0-693.el7 | ELSA-2017-1842 |
| Red Hat Enterprise Linux | RHEL-6 | kernelppc64 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernels390x | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernelsrc | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernelx86_64 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-abi-whitelistsnoarch | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-bootwrapperppc64 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debugi686 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debugppc64 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debugs390x | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debugx86_64 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debug-debuginfoi686 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debug-debuginfoppc64 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debug-debuginfos390x | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debug-debuginfox86_64 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debug-develi686 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debug-develppc64 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debug-devels390x | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debug-develx86_64 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debuginfoi686 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debuginfoppc64 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debuginfos390x | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debuginfox86_64 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debuginfo-common-i686i686 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debuginfo-common-ppc64ppc64 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debuginfo-common-s390xs390x | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
| Red Hat Enterprise Linux | RHEL-6 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 2.6.32-696.el6 | RHSA-2017:0817 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
17- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073931017b49d9458aa351605b43a7e34598caef
- [linux-fsdevel] 20160819 [PATCH v2] posix_acl: Clear SGID bit when setting file permissions http://marc.info/?l=linux-fsdevel&m=147162313630259&w=2
- RHSA-2017:0817 http://rhn.redhat.com/errata/RHSA-2017-0817.html
- [oss-security] 20160826 Re: CVE request -- linux kernel: Setting a POSIX ACL via setxattr doesn't clear the setgid bit http://www.openwall.com/lists/oss-security/2016/08/26/3
- 92659 http://www.securityfocus.com/bid/92659
- 1038201 http://www.securitytracker.com/id/1038201
- [linux-fsdevel] 20160526 [PATCH 2/2] posix_acl: Clear SGID bit when modifying file permissions http://www.spinics.net/lists/linux-fsdevel/msg98328.html
- USN-3146-1 http://www.ubuntu.com/usn/USN-3146-1
- USN-3146-2 http://www.ubuntu.com/usn/USN-3146-2
- USN-3147-1 http://www.ubuntu.com/usn/USN-3147-1
- RHSA-2017:1842 https://access.redhat.com/errata/RHSA-2017:1842
- RHSA-2017:2077 https://access.redhat.com/errata/RHSA-2017:2077
- RHSA-2017:2669 https://access.redhat.com/errata/RHSA-2017:2669
- https://bugzilla.redhat.com/show_bug.cgi?id=1368938
- https://github.com/torvalds/linux/commit/073931017b49d9458aa351605b43a7e34598caef
- https://source.android.com/security/bulletin/2017-04-01
- https://support.f5.com/csp/article/K31603170?utm_source=f5support&%3Butm_medium=RSS
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fca857ecac9dd8040a37604cfad81c74b503b86e178853bf414b811a5bb4043f
- Ingested
- 23 Sep 2026, 07:41:31 UTC
- Source record
- Official CVE record