kernel: S_ISGD is not cleared when setting posix ACLs in tmpfs (CVE-2016-7097 incomplete fix)
Published Feb 6, 2017
4.4
MEDIUMCVSS 3.0
EPSS 0.42%
Description
The simple_set_acl function in fs/posix_acl.c in the Linux kernel before 4.9.6 preserves the setgid bit during a setxattr call involving a tmpfs filesystem, which allows local users to gain group privileges by leveraging the existence of a setgid program with restrictions on execute permissions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-7097.
Affected products
No data.
- ≤ 4.9.5
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. This flaw was fixed in the Red Hat products as a part of the CVE-2016-7097 fix.
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
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.42% (0.00420) | 33.96th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.42% (0.00420) | 35.93th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.04% (0.00042) | 5.06th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.10% (0.01104) | 54.09th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.10% (0.01104) | 28.85th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.00% (0.00999) | 27.22th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.00% (0.00999) | 0.00th | v1 |
References (11)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=497de07d89c1410d76a15bec2bb41f24a2a89f31 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- http://www.debian.org/security/2017/dsa-3791 vendor-advisoryx_refsource_DEBIAN
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6 x_refsource_CONFIRMRelease NotesVendor Advisory
- http://www.openwall.com/lists/oss-security/2017/01/21/3 mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory
- http://www.securityfocus.com/bid/95717 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1038053 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2017-5551 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1416126 x_refsource_CONFIRMIssue TrackingPatch
- https://github.com/torvalds/linux/commit/497de07d89c1410d76a15bec2bb41f24a2a89f31 x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-5551
- https://www.cve.org/CVERecord?id=CVE-2017-5551
Change history (0)
No recorded changes yet.