CVE-2016-4998 json
The IPT_SO_SET_REPLACE setsockopt implementation in the netfilter subsystem in the Linux kernel before 4.6 allows local users to cause a de…
published 2016-07-03 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-5963
- cvss
- 7.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 1
- Metasploit
Summary
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.
Patch / fix
- linux Debian 14, Debian 13, Debian 12 4.6.2-2
debian advisories DEBIAN-CVE-2016-4998
- linux Ubuntu 14.04 LTS 3.13.0-91.138
- linux Ubuntu 16.04 LTS 4.4.0-28.47
- linux-raspi2 Ubuntu 16.04 LTS 4.4.0-1016.22
- linux-lts-wily Ubuntu 14.04 LTS 4.2.0-41.48~14.04.1
- linux-lts-vivid Ubuntu 14.04 LTS 3.19.0-64.72~14.04.1
- linux-lts-utopic Ubuntu 14.04 LTS 3.16.0-76.98~14.04.1
- linux-lts-xenial Ubuntu 14.04 LTS 4.4.0-28.47~14.04.1
- linux-snapdragon Ubuntu 16.04 LTS 4.4.0-1019.22
ubuntu advisories UBUNTU-CVE-2016-4998
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 6 2.6.32-642.13.1.el6
- perf RHEL 6 2.6.32-642.13.1.el6
- python-perf RHEL 6 2.6.32-642.13.1.el6
- kernel-kdump RHEL 6 2.6.32-642.13.1.el6
- kernel-firmware RHEL 6 2.6.32-642.13.1.el6
- kernel-bootwrapper RHEL 6 2.6.32-642.13.1.el6
- kernel-abi-whitelists RHEL 6 2.6.32-642.13.1.el6
- kernel-debuginfo-common-i686 RHEL 6 2.6.32-642.13.1.el6
red hat advisories RHSA-2017:0036RHSA-2016:1875RHSA-2016:1883RHSA-2016:1847
- kernel-source openSUSE Tumbleweed 4.8.13-1.1
opensuse advisories openSUSE-SU-2024:10128-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-4998 updated cvss 6.1
kernel: out of bounds reads when processing IPT_SO_SET_REPLACE setsockopt
-
Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-327.36.1.el7, kernel 3.10.0-327.36.1.el7, python-perf 3.10.0-327.36.1.el7, kernel-tools 3.10.0-327.36.1.el7, kernel-tools-libs 3.10.0-327.36.1.el7, kernel-abi-whitelists 3.10.0-327.36.1.el7, +1 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-327.36.1.el7 Red Hat Enterprise Linux ComputeNode (v. 7) perf 3.10.0-327.36.1.el7, kernel 3.10.0-327.36.1.el7, python-perf 3.10.0-327.36.1.el7, kernel-tools 3.10.0-327.36.1.el7, kernel-tools-libs 3.10.0-327.36.1.el7, kernel-abi-whitelists 3.10.0-327.36.1.el7, +1 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-327.36.1.el7fixed: vendor fix RHSA-2016:1847
-
Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-642.13.1.el6, kernel 2.6.32-642.13.1.el6, kernel-firmware 2.6.32-642.13.1.el6, kernel-abi-whitelists 2.6.32-642.13.1.el6, kernel-debuginfo-common-i686 2.6.32-642.13.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.13.1.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) python-perf 2.6.32-642.13.1.el6, kernel-debuginfo-common-i686 2.6.32-642.13.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.13.1.el6fixed: vendor fix RHSA-2017:0036
-
Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt 3.10.0-327.36.1.rt56.237.el7, kernel-rt-kvm 3.10.0-327.36.1.rt56.237.el7, kernel-rt-trace 3.10.0-327.36.1.rt56.237.el7, kernel-rt-debug-kvm 3.10.0-327.36.1.rt56.237.el7, kernel-rt-trace-kvm 3.10.0-327.36.1.rt56.237.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-327.36.1.rt56.237.el7fixed: vendor fix RHSA-2016:1875
-
Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-642.13.1.el6, kernel 2.6.32-642.13.1.el6, kernel-firmware 2.6.32-642.13.1.el6, kernel-abi-whitelists 2.6.32-642.13.1.el6, kernel-debuginfo-common-i686 2.6.32-642.13.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.13.1.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) python-perf 2.6.32-642.13.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.13.1.el6fixed: vendor fix RHSA-2017:0036
-
Red Hat Enterprise Linux Realtime (v. 7) kernel-rt 3.10.0-327.36.1.rt56.237.el7, kernel-rt-trace 3.10.0-327.36.1.rt56.237.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-327.36.1.rt56.237.el7fixed: vendor fix RHSA-2016:1875
-
Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-642.13.1.el6, kernel 2.6.32-642.13.1.el6, kernel-kdump 2.6.32-642.13.1.el6, kernel-firmware 2.6.32-642.13.1.el6, kernel-bootwrapper 2.6.32-642.13.1.el6, kernel-abi-whitelists 2.6.32-642.13.1.el6, +4 morefixed: vendor fix RHSA-2017:0036
-
Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-327.36.1.el7, kernel 3.10.0-327.36.1.el7, python-perf 3.10.0-327.36.1.el7, kernel-kdump 3.10.0-327.36.1.el7, kernel-tools 3.10.0-327.36.1.el7, kernel-tools-libs 3.10.0-327.36.1.el7, +6 morefixed: vendor fix RHSA-2016:1847
-
Red Hat Enterprise Linux Server Optional (v. 6) python-perf 2.6.32-642.13.1.el6, kernel-debuginfo-common-i686 2.6.32-642.13.1.el6, kernel-debuginfo-common-ppc64 2.6.32-642.13.1.el6, kernel-debuginfo-common-s390x 2.6.32-642.13.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.13.1.el6fixed: vendor fix RHSA-2017:0036
show 7 moreshow fewer
-
Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-327.36.1.el7, kernel-debuginfo-common-x86_64 3.10.0-327.36.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-327.36.1.el7fixed: vendor fix RHSA-2016:1847
-
Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-642.13.1.el6, kernel 2.6.32-642.13.1.el6, kernel-firmware 2.6.32-642.13.1.el6, kernel-abi-whitelists 2.6.32-642.13.1.el6, kernel-debuginfo-common-i686 2.6.32-642.13.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.13.1.el6fixed: vendor fix RHSA-2017:0036
-
Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-327.36.1.el7, kernel 3.10.0-327.36.1.el7, python-perf 3.10.0-327.36.1.el7, kernel-tools 3.10.0-327.36.1.el7, kernel-tools-libs 3.10.0-327.36.1.el7, kernel-abi-whitelists 3.10.0-327.36.1.el7, +1 morefixed: vendor fix RHSA-2016:1847
-
Red Hat Enterprise Linux Workstation Optional (v. 6) python-perf 2.6.32-642.13.1.el6, kernel-debuginfo-common-i686 2.6.32-642.13.1.el6, kernel-debuginfo-common-x86_64 2.6.32-642.13.1.el6fixed: vendor fix RHSA-2017:0036
-
Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-327.36.1.el7fixed: vendor fix RHSA-2016:1847
-
Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt 3.10.0-327.rt56.197.el6rt, kernel-rt-trace 3.10.0-327.rt56.197.el6rt, kernel-rt-vanilla 3.10.0-327.rt56.197.el6rt, kernel-rt-firmware 3.10.0-327.rt56.197.el6rt, kernel-rt-debuginfo-common-x86_64 3.10.0-327.rt56.197.el6rtfixed: vendor fix RHSA-2016:1883
-
Red Hat Enterprise Linux 5 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit exploit/linux/local/netfilter_priv_esc_ipv4)
- Published
Exploit prediction
1.88% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/linux/local/netfilter_priv_esc_ipv4 Linux Kernel 4.6.3 Netfilter Privilege Escalation metasploit exploit, good rank, 2016-06-03
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.1 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 2.0 | 5.6 | AV:L/AC:L/Au:N/C:P/I:N/A:C |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- Technology feeds
References
-
github.com
/torvalds/linux/commit/6e94e0cfb0887e4013b3b930fa6ab1fe6bb6ba91
patch, vendor-advisory
- git.kernel.org /cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6e94e0cfb0887e4013b3b930fa6ab1fe6bb6ba91
-
ubuntu.com
/usn/USN-3017-1
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-3017-3
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-1847.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00055.html
vendor-advisory
-
ubuntu.com
/usn/USN-3018-2
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-3017-2
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-1875.html
vendor-advisory
-
ubuntu.com
/usn/USN-3019-1
vendor-advisory, third-party-advisory
-
debian.org
/security/2016/dsa-3607
vendor-advisory
-
ubuntu.com
/usn/USN-3016-2
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-3016-1
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-3018-1
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-1883.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-08/msg00044.html
vendor-advisory
-
ubuntu.com
/usn/USN-3016-3
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2017-0036.html
vendor-advisory
-
ubuntu.com
/usn/USN-3016-4
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-3020-1
vendor-advisory, third-party-advisory
-
oracle.com
/technetwork/topics/security/linuxbulletinjul2016-3090544.html
third-party-advisory
- oracle.com /technetwork/topics/security/linuxbulletinoct2016-3090545.html
-
openwall.com
/lists/oss-security/2016/06/24/5
mailing-list
-
securitytracker.com
/id/1036171
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=1349886
issue-tracking, third-party-advisory, vdb-entry
- oracle.com /technetwork/topics/security/ovmbulletinoct2016-3090547.html
-
securityfocus.com
/bid/91451
vdb-entry
Sources
- CVE List CVE-2016-4998
- NVD CVE-2016-4998
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.