CVE-2016-4997

Summary

CVECVE-2016-4997
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-07-03 21:59:00 UTC
Updated2023-09-12 14:55:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-264

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 15.10 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 15.10 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Linux Linux Kernel All All All All
Operating System Linux Linux Kernel All All All All
Operating System Novell Suse Linux Enterprise Desktop 12.0 All All All
Operating System Novell Suse Linux Enterprise Desktop 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Desktop 12.0 All All All
Operating System Novell Suse Linux Enterprise Desktop 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Live Patching 12.0 All All All
Operating System Novell Suse Linux Enterprise Live Patching 12.0 All All All
Operating System Novell Suse Linux Enterprise Module For Public Cloud 12.0 All All All
Operating System Novell Suse Linux Enterprise Module For Public Cloud 12.0 All All All
Operating System Novell Suse Linux Enterprise Real Time Extension 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Real Time Extension 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Server 12.0 All All All
Operating System Novell Suse Linux Enterprise Server 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Server 12.0 All All All
Operating System Novell Suse Linux Enterprise Server 12.0 sp1 All All
Application Novell Suse Linux Enterprise Software Development Kit 12.0 All All All
Application Novell Suse Linux Enterprise Software Development Kit 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Software Development Kit 12.0 All All All
Operating System Novell Suse Linux Enterprise Software Development Kit 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Software Development Kit 12.0 All All All
Operating System Novell Suse Linux Enterprise Software Development Kit 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Workstation Extension 12.0 All All All
Operating System Novell Suse Linux Enterprise Workstation Extension 12.0 sp1 All All
Operating System Novell Suse Linux Enterprise Workstation Extension 12.0 All All All
Operating System Novell Suse Linux Enterprise Workstation Extension 12.0 sp1 All All
Operating System Oracle Linux 7 All All All
Operating System Oracle Linux 7 All All All

References

ReferenceSourceLinkTags
USN-3018-2: Linux kernel (Trusty HWE) vulnerabilities | Ubuntu UBUNTU www.ubuntu.com Third Party Advisory
Red Hat Customer Portal MISC access.redhat.com
USN-3016-3: Linux kernel (Qualcomm Snapdragon) vulnerabilities | Ubuntu UBUNTU www.ubuntu.com Third Party Advisory
Red Hat Customer Portal REDHAT rhn.redhat.com
[security-announce] SUSE-SU-2016:2177-1: important: Security update for SUSE lists.opensuse.org
oss-security - CVE request - Linux kernel through 4.6.2 allows escalade privileges via IP6T_SO_SET_REPLACE compat setsockopt call MLIST www.openwall.com Exploit, Third Party Advisory
TriforceLinuxSyscallFuzzer/crash_reports/report_compatIpt at master · nccgroup/TriforceLinuxSyscallFuzzer · GitHub MISC github.com Exploit, Third Party Advisory
USN-3016-1: Linux kernel vulnerabilities | Ubuntu UBUNTU www.ubuntu.com Third Party Advisory
oss-security - Linux CVE-2016-4997 (local privilege escalation) and CVE-2016-4998 (out of bounds memory access) MLIST www.openwall.com
[security-announce] SUSE-SU-2016:1937-1: important: Security update for SUSE lists.opensuse.org Third Party Advisory
www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.3 CONFIRM www.kernel.org
HPE Support document - HPE Support Center CONFIRM h20566.www2.hpe.com
USN-3017-3: Linux kernel (Wily HWE) vulnerabilities | Ubuntu UBUNTU www.ubuntu.com Third Party Advisory
Linux Kernel Multiple Local Memory Corruption Vulnerabilities BID www.securityfocus.com
Oracle Linux Bulletin - July 2016 CONFIRM www.oracle.com Third Party Advisory
Oracle Linux Bulletin - October 2016 CONFIRM www.oracle.com
Red Hat Customer Portal MISC access.redhat.com
[security-announce] SUSE-SU-2016:1985-1: important: Security update for SUSE lists.opensuse.org
[security-announce] SUSE-SU-2016:1709-1: important: Security update for SUSE lists.opensuse.org Third Party Advisory
USN-3017-1: Linux kernel vulnerabilities | Ubuntu UBUNTU www.ubuntu.com Third Party Advisory
USN-3017-2: Linux kernel (Raspberry Pi 2) vulnerabilities | Ubuntu UBUNTU www.ubuntu.com Third Party Advisory
USN-3016-4: Linux kernel (Xenial HWE) vulnerabilities | Ubuntu UBUNTU www.ubuntu.com Third Party Advisory
kernel/git/torvalds/linux.git - Linux kernel source tree CONFIRM git.kernel.org Vendor Advisory
[security-announce] SUSE-SU-2016:2174-1: important: Security update for SUSE lists.opensuse.org
netfilter: x_tables: check for bogus target offset · torvalds/linux@ce683e5 · GitHub CONFIRM github.com Patch
Red Hat Customer Portal REDHAT rhn.redhat.com
USN-3019-1: Linux kernel (Utopic HWE) vulnerabilities | Ubuntu UBUNTU www.ubuntu.com Third Party Advisory
[security-announce] SUSE-SU-2016:2179-1: important: Security update for SUSE lists.opensuse.org
Debian -- Security Information -- DSA-3607-1 linux DEBIAN www.debian.org
[security-announce] SUSE-SU-2016:2018-1: important: Security update for SUSE lists.opensuse.org
Oracle VM Server for x86 Bulletin - October 2016 CONFIRM www.oracle.com
Red Hat Customer Portal REDHAT rhn.redhat.com
CVE-2016-4997 - Red Hat Customer Portal MISC access.redhat.com
USN-3020-1: Linux kernel (Vivid HWE) vulnerabilities | Ubuntu UBUNTU www.ubuntu.com Third Party Advisory
USN-3016-2: Linux kernel (Raspberry Pi 2) vulnerabilities | Ubuntu UBUNTU www.ubuntu.com Third Party Advisory
[security-announce] SUSE-SU-2016:2180-1: important: Security update for SUSE lists.opensuse.org
Red Hat Customer Portal MISC access.redhat.com
Linux Kernel 4.6.2 (Ubuntu 16.04.1) - 'IP6T_SO_SET_REPLACE' Privilege Escalation EXPLOIT-DB www.exploit-db.com
[security-announce] SUSE-SU-2016:2105-1: important: Security update for SUSE lists.opensuse.org
Linux Kernel 4.6.3 (x86) - 'Netfilter' Local Privilege Escalation (Metasploit) - Linux_x86 local Exploit EXPLOIT-DB www.exploit-db.com
[security-announce] openSUSE-SU-2016:2184-1: important: Security update SUSE lists.opensuse.org
[security-announce] SUSE-SU-2016:1710-1: important: Security update for SUSE lists.opensuse.org Third Party Advisory
[security-announce] SUSE-SU-2016:2181-1: important: Security update for SUSE lists.opensuse.org
Linux Kernel setsockopt() Bugs Let Local Users Deny Service and Gain Elevated Privileges - SecurityTracker SECTRACK www.securitytracker.com
1349722 – (CVE-2016-4997) CVE-2016-4997 kernel: compat IPT_SO_SET_REPLACE setsockopt CONFIRM bugzilla.redhat.com Issue Tracking
[security-announce] SUSE-SU-2016:2178-1: important: Security update for SUSE lists.opensuse.org
USN-3018-1: Linux kernel vulnerabilities | Ubuntu UBUNTU www.ubuntu.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report