{"id":"CVE-2016-4997","details":"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.","modified":"2026-04-16T01:44:57.873452227Z","published":"2016-07-03T21:59:16.057Z","related":["SUSE-SU-2016:1709-1","SUSE-SU-2016:1710-1","SUSE-SU-2016:1937-1","SUSE-SU-2016:1985-1","SUSE-SU-2016:2018-1","SUSE-SU-2016:2105-1","SUSE-SU-2016:2174-1","SUSE-SU-2016:2177-1","SUSE-SU-2016:2178-1","SUSE-SU-2016:2179-1","SUSE-SU-2016:2180-1","SUSE-SU-2016:2181-1","SUSE-SU-2016:2245-1","SUSE-SU-2016:2632-1","SUSE-SU-2016:2633-1","SUSE-SU-2016:2636-1","SUSE-SU-2016:2655-1","SUSE-SU-2016:2658-1","SUSE-SU-2016:2659-1","SUSE-SU-2016:2976-1","SUSE-SU-2016:3069-1","SUSE-SU-2016:3304-1","SUSE-SU-2017:0333-1","SUSE-SU-2017:0471-1","SUSE-SU-2017:1990-1","SUSE-SU-2017:2342-1","openSUSE-SU-2024:10128-1"],"database_specific":{"unresolved_ranges":[{"source":"CPE_FIELD","cpe":"cpe:2.3:a:novell:suse_linux_enterprise_software_development_kit:12.0:*:*:*:*:*:*:*","extracted_events":[{"last_affected":"12.0"}]},{"cpe":"cpe:2.3:a:novell:suse_linux_enterprise_software_development_kit:12.0:sp1:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"12.0-sp1"}]},{"source":"CPE_FIELD","cpe":"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*","extracted_events":[{"last_affected":"12.04"}]},{"source":"CPE_FIELD","cpe":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","extracted_events":[{"last_affected":"14.04"}]},{"source":"CPE_FIELD","cpe":"cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*","extracted_events":[{"last_affected":"15.10"}]},{"source":"CPE_FIELD","cpe":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","extracted_events":[{"last_affected":"16.04"}]},{"cpe":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"8.0"}]},{"source":"CPE_FIELD","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.6.17"},{"fixed":"3.2.80"},{"introduced":"3.3"},{"fixed":"3.10.103"},{"introduced":"3.11"},{"fixed":"3.12.62"},{"introduced":"3.13"},{"fixed":"3.14.73"},{"introduced":"3.15"},{"fixed":"3.16.37"},{"introduced":"3.17"},{"fixed":"3.18.37"},{"introduced":"3.19"},{"fixed":"4.1.28"},{"introduced":"4.2"},{"fixed":"4.4.14"},{"introduced":"4.5"},{"fixed":"4.6.3"}]},{"source":"CPE_FIELD","cpe":"cpe:2.3:o:novell:suse_linux_enterprise_desktop:12.0:*:*:*:*:*:*:*","extracted_events":[{"last_affected":"12.0"}]},{"source":"CPE_FIELD","cpe":"cpe:2.3:o:novell:suse_linux_enterprise_desktop:12.0:sp1:*:*:*:*:*:*","extracted_events":[{"last_affected":"12.0-sp1"}]},{"cpe":"cpe:2.3:o:novell:suse_linux_enterprise_live_patching:12.0:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"12.0"}]},{"cpe":"cpe:2.3:o:novell:suse_linux_enterprise_module_for_public_cloud:12.0:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"12.0"}]},{"source":"CPE_FIELD","cpe":"cpe:2.3:o:novell:suse_linux_enterprise_real_time_extension:12.0:sp1:*:*:*:*:*:*","extracted_events":[{"last_affected":"12.0-sp1"}]},{"source":"CPE_FIELD","cpe":"cpe:2.3:o:novell:suse_linux_enterprise_server:12.0:*:*:*:*:*:*:*","extracted_events":[{"last_affected":"12.0"}]},{"cpe":"cpe:2.3:o:novell:suse_linux_enterprise_server:12.0:sp1:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"12.0-sp1"}]},{"source":"CPE_FIELD","cpe":"cpe:2.3:o:novell:suse_linux_enterprise_workstation_extension:12.0:*:*:*:*:*:*:*","extracted_events":[{"last_affected":"12.0"}]},{"source":"CPE_FIELD","cpe":"cpe:2.3:o:novell:suse_linux_enterprise_workstation_extension:12.0:sp1:*:*:*:*:*:*","extracted_events":[{"last_affected":"12.0-sp1"}]},{"cpe":"cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"last_affected":"7"}]},{"source":"DESCRIPTION","extracted_events":[{"fixed":"4.6.3"}]}]},"references":[{"type":"ADVISORY","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ce683e5f9d045e5d67d1312a42b359cb2ab2a13c"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00060.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00061.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00000.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00007.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00027.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00044.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00048.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00050.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00051.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00052.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00053.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00054.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00055.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-1847.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-1875.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2016-1883.html"},{"type":"ADVISORY","url":"http://www.debian.org/security/2016/dsa-3607"},{"type":"ADVISORY","url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.3"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/06/24/5"},{"type":"ADVISORY","url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html"},{"type":"ADVISORY","url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html"},{"type":"ADVISORY","url":"http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/91451"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1036171"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3016-1"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3016-2"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3016-3"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3016-4"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3017-1"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3017-2"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3017-3"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3018-1"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3018-2"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3019-1"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-3020-1"},{"type":"ADVISORY","url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541"},{"type":"ADVISORY","url":"https://www.exploit-db.com/exploits/40435/"},{"type":"ADVISORY","url":"https://www.exploit-db.com/exploits/40489/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1349722"},{"type":"FIX","url":"https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c"},{"type":"EVIDENCE","url":"http://www.openwall.com/lists/oss-security/2016/09/29/10"},{"type":"EVIDENCE","url":"https://github.com/nccgroup/TriforceLinuxSyscallFuzzer/tree/master/crash_reports/report_compatIpt"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git","events":[{"introduced":"0"},{"fixed":"ce683e5f9d045e5d67d1312a42b359cb2ab2a13c"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-4997.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/torvalds/linux","events":[{"introduced":"0"},{"fixed":"ce683e5f9d045e5d67d1312a42b359cb2ab2a13c"}],"database_specific":{"source":"REFERENCES"}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-4997.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}