Description
The compat IPT_SO_SET_REPLACE and IP6T_SO_SET_REPLACE setsockopt implementations in the netfilter subsystem in the Linux kernel before 4.6.3 allow local users to gain privileges or cause a denial of service (memory corruption) by leveraging in-container root access to provide a crafted offset value that triggers an unintended decrement.
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.6.2-2 | — |
| Debian 13 | linux | 4.6.2-2 | — |
| Debian 12 | linux | 4.6.2-2 | — |
| Debian 8 | linux | 3.16.7-ckt25-2+deb8u2 | DSA-3607-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux | 4.4.0-28.47 | USN-3016-1 |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1016.22 | USN-3016-2 |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1019.22 | USN-3016-3 |
| Ubuntu 14.04 LTS | linux | 3.13.0-91.138 | USN-3018-1 |
| Ubuntu 14.04 LTS | linux-lts-utopic | 3.16.0-76.98~14.04.1 | USN-3019-1 |
| Ubuntu 14.04 LTS | linux-lts-vivid | 3.19.0-64.72~14.04.1 | USN-3020-1 |
| Ubuntu 14.04 LTS | linux-lts-wily | 4.2.0-41.48~14.04.1 | USN-3017-3 |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-28.47~14.04.1 | USN-3016-4 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-rt +10 | 3.10.0-327.36.1.rt56.237.el7 | RHSA-2016:1875 |
| RHEL 7 | perf +18 | 3.10.0-327.36.1.el7 | RHSA-2016:1847 |
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-327.rt56.197.el6rt | RHSA-2016:1883 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | kernel-docs | 3.12.59-60.45.4 | SUSE-SU-2016:2105-1, SUSE-SU-2016:1709-1 |
| SLES 12 SP1 | kernel-obs-build | 3.12.59-60.45.3 | SUSE-SU-2016:2105-1, SUSE-SU-2016:1709-1 |
| SLES 12 SP1 | kernel-syms +1 | 3.12.59-60.45.1 | SUSE-SU-2016:2105-1, SUSE-SU-2016:1709-1 |
| SLES 12 SP1 | kernel-xen +1 | 3.12.59-60.45.2 | SUSE-SU-2016:2105-1, SUSE-SU-2016:1709-1 |
| SLES 12 | kernel-docs +1 | 3.12.60-52.54.3 | SUSE-SU-2016:1710-1 |
| SLES 12 | kernel-ec2 | 3.12.59-60.45.2 | SUSE-SU-2017:0471-1, SUSE-SU-2016:2105-1, SUSE-SU-2016:1710-1 |
| SLES 12 | kernel-syms +1 | 3.12.60-52.54.1 | SUSE-SU-2017:0471-1, SUSE-SU-2016:1710-1 |
| SLES 12 | kernel-xen +1 | 3.12.60-52.54.2 | SUSE-SU-2017:0471-1, SUSE-SU-2016:1710-1 |
| SLES 12 | kgraft-patch-SLE12_Update_10 | 6-2.1 | SUSE-SU-2016:2632-1 |
| SLES 12 | kgraft-patch-SLE12_Update_11 | 5-2.1 | SUSE-SU-2016:2633-1 |
| SLES 12 | kgraft-patch-SLE12_Update_12 +2 | 3-2.1 | SUSE-SU-2016:2659-1, SUSE-SU-2016:2658-1, SUSE-SU-2016:2655-1 |
| SLES 12 | kgraft-patch-SLE12_Update_19 | 1-2.1 | SUSE-SU-2017:0471-1 |
| SLES 12 | kgraft-patch-SLE12_Update_9 | 6-5.1 | SUSE-SU-2016:2636-1 |
| SLES 11 SP4 | kernel-bigmem | 3.0.101-88.1 | SUSE-SU-2016:2976-1 |
| SLES 11 SP4 | kernel-docs | 3.0.101-80.2 | SUSE-SU-2016:2976-1, SUSE-SU-2016:2018-1 |
| SLES 11 SP4 | kernel-ec2 +7 | 3.0.101-80.1 | SUSE-SU-2016:2976-1, SUSE-SU-2016:2018-1 |
| SLES 11 SP3 | kernel-ec2 +7 | 3.0.101-0.47.86.1 | SUSE-SU-2016:2245-1 |
| SLES 11 SP2 | kernel-ec2 +6 | 3.0.101-0.7.53.1 | SUSE-SU-2017:0333-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | kernel-syms +1 | 3.12.59-60.45.1 | SUSE-SU-2016:2105-1, SUSE-SU-2016:1709-1 |
| SLES for SAP 12 SP1 | kernel-xen +1 | 3.12.59-60.45.2 | SUSE-SU-2016:2105-1, SUSE-SU-2016:1709-1 |
| SLES for SAP 12 | kernel-syms +1 | 3.12.60-52.54.1 | SUSE-SU-2017:0471-1, SUSE-SU-2016:1710-1 |
| SLES for SAP 12 | kernel-xen +1 | 3.12.60-52.54.2 | SUSE-SU-2017:0471-1, SUSE-SU-2016:1710-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_10 | 6-2.1 | SUSE-SU-2016:2632-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_11 | 5-2.1 | SUSE-SU-2016:2633-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_12 +2 | 3-2.1 | SUSE-SU-2016:2659-1, SUSE-SU-2016:2658-1, SUSE-SU-2016:2655-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_19 | 1-2.1 | SUSE-SU-2017:0471-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_9 | 6-5.1 | SUSE-SU-2016:2636-1 |
| SLES for SAP 11 SP4 | kernel-bigmem | 3.0.101-88.1 | SUSE-SU-2016:2976-1 |
| SLES for SAP 11 SP4 | kernel-ec2 +7 | 3.0.101-80.1 | SUSE-SU-2016:2976-1, SUSE-SU-2016:2018-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.61-60.18.1 | SUSE-SU-2016:3304-1, SUSE-SU-2016:1937-1 |
| SLE Real Time 11 SP4 | kernel-rt +3 | 3.0.101.rt130-57.1 | SUSE-SU-2017:2342-1, SUSE-SU-2016:3069-1, SUSE-SU-2016:1985-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_0 | 6-17.2 | SUSE-SU-2016:2174-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_1 | 6-2.1 | SUSE-SU-2016:2181-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_2 | 5-2.1 | SUSE-SU-2016:2179-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_3 | 4-2.1 | SUSE-SU-2016:2178-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_4 +1 | 3-2.1 | SUSE-SU-2016:2180-1, SUSE-SU-2016:2177-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_7 | 1-4.2 | SUSE-SU-2016:2105-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12_Update_15 +1 | 1-2.3 | SUSE-SU-2016:1710-1, SUSE-SU-2016:1709-1 |
| SUSE OpenStack Cloud 5 | kernel-ec2 +6 | 3.0.101-0.47.86.1 | SUSE-SU-2016:2245-1 |
| SUSE Manager Proxy 2.1 | kernel-ec2 +6 | 3.0.101-0.47.86.1 | SUSE-SU-2016:2245-1 |
| SUSE Manager 2.1 | kernel-ec2 +6 | 3.0.101-0.47.86.1 | SUSE-SU-2016:2245-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | kernel-ec2 +6 | 3.0.101-0.47.86.1 | SUSE-SU-2016:2245-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | kernel-source | 4.8.13-1.1 | openSUSE-SU-2024:10128-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-118.11.2.el6uek | 0.4.5-3.el6 | ELSA-2016-3617 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.11.2.el7uek | 0.4.5-3.el7 | ELSA-2016-3617 |
| Oracle Linux 7 | dtrace-modules-4.1.12-61.1.10.el6uek | 0.5.3-2.el6 | ELSA-2016-3619 |
| Oracle Linux 7 | dtrace-modules-4.1.12-61.1.10.el7uek | 0.5.3-2.el7 | ELSA-2016-3619 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.11.2.el7uek | ELSA-2016-3619, ELSA-2016-3617 |
| Oracle Linux 7 | perf +11 | 3.10.0-327.36.1.el7 | ELSA-2016-1847 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Linux Kernel 4.6.3 Netfilter Privilege Escalation
exploit/linux/local/netfilter_priv_esc_ipv4
Exploit-DB 2
- Linux Kernel 4.6.2 (Ubuntu 16.04.1) - 'IP6T_SO_SET_REPLACE' Local Privilege Escalation EDB-40489 · local · Oct 10, 2016
- Linux Kernel 4.6.3 (x86) - 'Netfilter' Local Privilege Escalation (Metasploit) EDB-40435 · local · Sep 27, 2016 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 43
- RHSA-2016:1883 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2016:1875 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2016:1847 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-3016-1 linux vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- USN-3018-1 linux vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3607-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3019-1 linux-lts-utopic vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3020-1 linux-lts-vivid vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3016-2 linux-raspi2 vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3016-3 linux-snapdragon vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3016-4 linux-lts-xenial vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3017-3 linux-lts-wily vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2016:2976-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2179-1 Security update for Linux Kernel Live Patch 2 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2180-1 Security update for Linux Kernel Live Patch 4 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1937-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2633-1 Security update for Linux Kernel Live Patch 11 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2658-1 Security update for Linux Kernel Live Patch 14 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10128-1 kernel-debug-4.8.13-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2659-1 Security update for Linux Kernel Live Patch 13 for SLE 12 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-2016:2636-1 Security update for Linux Kernel Live Patch 9 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1710-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:3069-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2174-1 Security update for Linux Kernel Live Patch 0 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1709-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2177-1 Security update for Linux Kernel Live Patch 5 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2018-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-2016:2105-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2632-1 Security update for Linux Kernel Live Patch 10 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2655-1 Security update for Linux Kernel Live Patch 12 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2178-1 Security update for Linux Kernel Live Patch 3 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1985-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2181-1 Security update for Linux Kernel Live Patch 1 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:3304-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:2342-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2016:2245-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2024-0144 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 17, 2024
- ELSA-2016-3619 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Sep 22, 2016
- ELSA-2016-3617 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Sep 22, 2016
- ELSA-2016-1847 Important: kernel security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Sep 14, 2016
References
- SUSE-SU-2016:2180 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- SUSE-SU-2016:1709 vendor-advisory
- USN-3017-1 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
- SUSE-SU-2016:1985 vendor-advisory
- USN-3017-3 vendor-advisory
- RHSA-2016:1847 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1349722
- openSUSE-SU-2016:2184 vendor-advisory
- USN-3018-2 vendor-advisory
- SUSE-SU-2016:2174 vendor-advisory
- USN-3017-2 vendor-advisory
- RHSA-2016:1875 vendor-advisory
- USN-3019-1 vendor-advisory
- SUSE-SU-2016:2018 vendor-advisory
- DSA-3607 vendor-advisory
- USN-3016-2 vendor-advisory
- USN-3016-1 vendor-advisory
- [oss-security] 20160624 Linux CVE-2016-4997 (local privilege escalation) and CVE-2016-4998 (out of bounds memory access) mailing-list
- SUSE-SU-2016:2181 vendor-advisory
- SUSE-SU-2016:2178 vendor-advisory
- 40435 exploit
- https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c
- USN-3018-1 vendor-advisory
- 1036171 vdb-entry
- 40489 exploit
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541
- http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html
- SUSE-SU-2016:2177 vendor-advisory
- RHSA-2016:1883 vendor-advisory
- SUSE-SU-2016:2179 vendor-advisory
- SUSE-SU-2016:2105 vendor-advisory
- USN-3016-3 vendor-advisory
- SUSE-SU-2016:1710 vendor-advisory
- [oss-security] 20160929 CVE request - Linux kernel through 4.6.2 allows escalade privileges via IP6T_SO_SET_REPLACE compat setsockopt call mailing-list
- USN-3016-4 vendor-advisory
- 91451 vdb-entry
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.3
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ce683e5f9d045e5d67d1312a42b359cb2ab2a13c
- USN-3020-1 vendor-advisory
- https://github.com/nccgroup/TriforceLinuxSyscallFuzzer/tree/master/crash_reports/report_compatIpt
- SUSE-SU-2016:1937 vendor-advisory