Description
The IPT_SO_SET_REPLACE setsockopt implementation in the netfilter subsystem in the Linux kernel before 4.6 allows local users to cause a denial of service (out-of-bounds read) or possibly obtain sensitive information from kernel heap memory by leveraging in-container root access to provide a crafted offset value that leads to crossing a ruleset blob boundary.
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 24.04 LTS | linux-riscv +6 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +4 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +3 | No fix yet | — |
| 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 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
| Ubuntu Pro 20.04 LTS | linux-azure-fde-5.15 | No fix yet | — |
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 |
| RHEL 6 | perf +16 | 2.6.32-642.13.1.el6 | RHSA-2017:0036 |
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 |
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
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 18
- RHSA-2017:0036 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- 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
- openSUSE-SU-2024:10128-1 kernel-debug-4.8.13-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- 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
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- USN-3017-1 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
- USN-3017-3 vendor-advisory
- RHSA-2016:1847 vendor-advisory
- openSUSE-SU-2016:2184 vendor-advisory
- USN-3018-2 vendor-advisory
- USN-3017-2 vendor-advisory
- RHSA-2016:1875 vendor-advisory
- USN-3019-1 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
- USN-3018-1 vendor-advisory
- 1036171 vdb-entry
- https://github.com/torvalds/linux/commit/6e94e0cfb0887e4013b3b930fa6ab1fe6bb6ba91
- https://bugzilla.redhat.com/show_bug.cgi?id=1349886
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6e94e0cfb0887e4013b3b930fa6ab1fe6bb6ba91
- http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html
- RHSA-2016:1883 vendor-advisory
- SUSE-SU-2016:2105 vendor-advisory
- USN-3016-3 vendor-advisory
- RHSA-2017:0036 vendor-advisory
- USN-3016-4 vendor-advisory
- 91451 vdb-entry
- USN-3020-1 vendor-advisory