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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.9.6-1 | — |
| Debian 13 | linux | 4.9.6-1 | — |
| Debian 12 | linux | 4.9.6-1 | — |
| Debian 8 | linux | 3.16.39-1+deb8u1 | DSA-3791-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-raspi-realtime | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +3 | No fix yet | — |
| Ubuntu 16.04 LTS | linux | 4.4.0-67.88 | USN-3234-1 |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1009.18 | USN-3234-1 |
| Ubuntu 16.04 LTS | linux-gke | 4.4.0-1006.6 | USN-3234-1 |
| Ubuntu 16.04 LTS | linux-hwe | 4.10.0-32.36~16.04.1 | USN-3361-1 |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1048.55 | USN-3234-1 |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1051.55 | USN-3234-1 |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-67.88~14.04.1 | USN-3234-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-rt +10 | 3.10.0-693.rt56.617.el7 | RHSA-2017:2077 |
| RHEL 7 | perf +17 | 3.10.0-693.el7 | RHSA-2017:1842 |
| RHEL 6 | perf +16 | 2.6.32-696.el6 | RHSA-2017:0817 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat MRG 2 | kernel-rt +10 | 1:3.10.0-693.2.1.rt56.585.el6rt | RHSA-2017:2669 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | kernel-docs | 4.4.49-92.11.3 | SUSE-SU-2017:0575-1 |
| SLES 12 SP2 | kernel-syms +3 | 4.4.49-92.11.1 | SUSE-SU-2017:0575-1 |
| SLES 12 SP1 | kernel-docs | 3.12.69-60.64.29.3 | SUSE-SU-2017:0464-1 |
| SLES 12 SP1 | kernel-xen +4 | 3.12.69-60.64.29.1 | SUSE-SU-2017:0464-1 |
| SLES 12 | kernel-ec2 +4 | 3.12.61-52.66.1 | SUSE-SU-2017:0471-1, SUSE-SU-2017:0464-1 |
| SLES 12 | kgraft-patch-SLE12_Update_19 | 1-2.1 | SUSE-SU-2017:0471-1 |
| SLES 11 SP4 | kernel-docs | 3.0.101-94.2 | SUSE-SU-2017:0437-1 |
| SLES 11 SP4 | kernel-ec2 +8 | 3.0.101-94.1 | SUSE-SU-2017:0437-1 |
| SLES 11 SP3 | kernel-ec2 +7 | 3.0.101-0.47.96.1 | SUSE-SU-2017:0494-1 |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP2 | kernel-ec2 +6 | 3.0.101-0.7.53.1 | SUSE-SU-2017:0333-1 |
| SLES for SAP 12 SP2 | kernel-syms +2 | 4.4.49-92.11.1 | SUSE-SU-2017:0575-1 |
| SLES for SAP 12 SP1 | kernel-xen +3 | 3.12.69-60.64.29.1 | SUSE-SU-2017:0464-1 |
| SLES for SAP 12 | kernel-xen +3 | 3.12.61-52.66.1 | SUSE-SU-2017:0471-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_19 | 1-2.1 | SUSE-SU-2017:0471-1 |
| SLES for SAP 11 SP4 | kernel-ec2 +8 | 3.0.101-94.1 | SUSE-SU-2017:0437-1 |
| SLE Real Time 12 SP2 | kernel-rt +3 | 4.4.74-7.10.1 | SUSE-SU-2017:1990-1 |
| SLE Real Time 12 SP1 | kernel-rt +5 | 3.12.69-60.30.1 | SUSE-SU-2017:0407-1 |
| SLE Real Time 11 SP4 | kernel-rt +3 | 3.0.101.rt130-68.1 | SUSE-SU-2017:1102-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_12 | 1-4.1 | SUSE-SU-2017:0464-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_5 | 1-6.1 | SUSE-SU-2017:0575-1 |
| SUSE OpenStack Cloud 5 | kernel-ec2 +6 | 3.0.101-0.47.96.1 | SUSE-SU-2017:0494-1 |
| SUSE Manager Proxy 2.1 | kernel-ec2 +6 | 3.0.101-0.47.96.1 | SUSE-SU-2017:0494-1 |
| SUSE Manager 2.1 | kernel-ec2 +6 | 3.0.101-0.47.96.1 | SUSE-SU-2017:0494-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | kernel-ec2 +6 | 3.0.101-0.47.96.1 | SUSE-SU-2017:0494-1 |
Advisories 17
- RHSA-2017:2669 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:2077 Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:1842 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:0817 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-3361-1 linux-hwe vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-3234-1 linux, linux-aws, linux-gke, linux-raspi2, linux-snapdragon vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3791-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3234-2 linux-lts-xenial vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2017:1102-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0494-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0471-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0464-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0575-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0407-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0333-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1990-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2017:0437-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=497de07d89c1410d76a15bec2bb41f24a2a89f31
- [oss-security] 20170120 Re: CVE REQUEST: linux kernel: process with pgid zero able to crash kernel mailing-list
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6
- 95717 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1416126
- https://github.com/torvalds/linux/commit/497de07d89c1410d76a15bec2bb41f24a2a89f31
- DSA-3791 vendor-advisory
- 1038053 vdb-entry