kernel: Setting a POSIX ACL via setxattr doesn't clear the setgid bit
Published Oct 16, 2016
4.4
MEDIUMCVSS 3.0
EPSS 0.39%
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.
Affected products
No data.
- ≤ 4.8.2
No data.
Red Hat Enterprise Linux 6
kernel-0:2.6.32-696.el6
Fixed · RHSA-2017:0817
Red Hat Enterprise Linux 7
kernel-0:3.10.0-693.el7
Fixed · RHSA-2017:1842
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-693.rt56.617.el7
Fixed · RHSA-2017:2077
Red Hat Enterprise MRG 2
kernel-rt-1:3.10.0-693.2.1.rt56.585.el6rt
Fixed · RHSA-2017:2669
Red Hat Enterprise Linux 5
kernel
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-696.el6 | Fixed | RHSA-2017:0817 |
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-693.el7 | Fixed | RHSA-2017:1842 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-693.rt56.617.el7 | Fixed | RHSA-2017:2077 |
| Red Hat Enterprise MRG 2 | kernel-rt-1:3.10.0-693.2.1.rt56.585.el6rt | Fixed | RHSA-2017:2669 |
| Red Hat Enterprise Linux 5 | kernel | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/. This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 6, 7 and MRG-2. Future Linux kernel updates for the respective releases might address this issue.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
AV:L/AC:L/Au:N/C:P/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.39% (0.00392) | 30.93th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.38% (0.00377) | 29.30th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.04% (0.00040) | 9.22th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00044) | 11.89th | v3 (v2023.03.01) |
| Jul 2, 2024 | 0.04% (0.00044) | 10.25th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00044) | 8.24th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.55% (0.01547) | 74.98th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.55% (0.01547) | 74.94th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.55% (0.01547) | 72.92th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.55% (0.01547) | 51.82th | v2 (v2022.01.01) |
References (20)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=073931017b49d9458aa351605b43a7e34598caef x_refsource_CONFIRMIssue TrackingPatch
- http://marc.info/?l=linux-fsdevel&m=147162313630259&w=2 mailing-listx_refsource_MLISTPatch
- http://rhn.redhat.com/errata/RHSA-2017-0817.html vendor-advisoryx_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2016/08/26/3 mailing-listx_refsource_MLISTMailing List
- http://www.securityfocus.com/bid/92659 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1038201 vdb-entryx_refsource_SECTRACK
- http://www.spinics.net/lists/linux-fsdevel/msg98328.html mailing-listx_refsource_MLISTPatchThird Party Advisory
- http://www.ubuntu.com/usn/USN-3146-1 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-3146-2 vendor-advisoryx_refsource_UBUNTU
- http://www.ubuntu.com/usn/USN-3147-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/errata/RHSA-2017:1842 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2017:2077 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2017:2669 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2016-7097 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1368938 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://github.com/torvalds/linux/commit/073931017b49d9458aa351605b43a7e34598caef x_refsource_CONFIRMPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-7097
- https://source.android.com/security/bulletin/2017-04-01 x_refsource_CONFIRM
- https://support.f5.com/csp/article/K31603170?utm_source=f5support&%3Butm_medium=RSS x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2016-7097
Change history (0)
No recorded changes yet.