CVE-2016-4997

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.
References
Link Resource
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ce683e5f9d045e5d67d1312a42b359cb2ab2a13c Vendor Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00060.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00061.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00000.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00007.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00027.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00044.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00048.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00050.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00051.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00052.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00053.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00054.html Mailing List Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00055.html Mailing List Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1847.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1875.html Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-1883.html Third Party Advisory
http://www.debian.org/security/2016/dsa-3607 Third Party Advisory
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.3 Vendor Advisory
http://www.openwall.com/lists/oss-security/2016/06/24/5 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/09/29/10 Exploit Mailing List Third Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html Third Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html Third Party Advisory
http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html Third Party Advisory
http://www.securityfocus.com/bid/91451 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1036171 Third Party Advisory VDB Entry
http://www.ubuntu.com/usn/USN-3016-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-3016-2 Third Party Advisory
http://www.ubuntu.com/usn/USN-3016-3 Third Party Advisory
http://www.ubuntu.com/usn/USN-3016-4 Third Party Advisory
http://www.ubuntu.com/usn/USN-3017-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-3017-2 Third Party Advisory
http://www.ubuntu.com/usn/USN-3017-3 Third Party Advisory
http://www.ubuntu.com/usn/USN-3018-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-3018-2 Third Party Advisory
http://www.ubuntu.com/usn/USN-3019-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-3020-1 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1349722 Issue Tracking Third Party Advisory
https://github.com/nccgroup/TriforceLinuxSyscallFuzzer/tree/master/crash_reports/report_compatIpt Exploit Third Party Advisory
https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c Patch Third Party Advisory
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541 Third Party Advisory
https://www.exploit-db.com/exploits/40435/ Third Party Advisory VDB Entry
https://www.exploit-db.com/exploits/40489/ Third Party Advisory VDB Entry
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*

Configuration 3 (hide)

OR cpe:2.3:a:novell:suse_linux_enterprise_software_development_kit:12.0:*:*:*:*:*:*:*
cpe:2.3:a:novell:suse_linux_enterprise_software_development_kit:12.0:sp1:*:*:*:*:*:*
cpe:2.3:o:novell:suse_linux_enterprise_desktop:12.0:*:*:*:*:*:*:*
cpe:2.3:o:novell:suse_linux_enterprise_desktop:12.0:sp1:*:*:*:*:*:*
cpe:2.3:o:novell:suse_linux_enterprise_live_patching:12.0:*:*:*:*:*:*:*
cpe:2.3:o:novell:suse_linux_enterprise_module_for_public_cloud:12.0:*:*:*:*:*:*:*
cpe:2.3:o:novell:suse_linux_enterprise_real_time_extension:12.0:sp1:*:*:*:*:*:*
cpe:2.3:o:novell:suse_linux_enterprise_server:12.0:*:*:*:*:*:*:*
cpe:2.3:o:novell:suse_linux_enterprise_server:12.0:sp1:*:*:*:*:*:*
cpe:2.3:o:novell:suse_linux_enterprise_workstation_extension:12.0:*:*:*:*:*:*:*
cpe:2.3:o:novell:suse_linux_enterprise_workstation_extension:12.0:sp1:*:*:*:*:*:*

Configuration 4 (hide)

cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:*

Configuration 5 (hide)

cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*

History

12 Sep 2023, 14:55

Type Values Removed Values Added
CPE cpe:2.3:o:novell:suse_linux_enterprise_software_development_kit:12.0:sp1:*:*:*:*:*:*
cpe:2.3:o:novell:suse_linux_enterprise_software_development_kit:12.0:*:*:*:*:*:*:*
cpe:2.3:a:novell:suse_linux_enterprise_software_development_kit:12.0:sp1:*:*:*:*:*:*
cpe:2.3:a:novell:suse_linux_enterprise_software_development_kit:12.0:*:*:*:*:*:*:*

12 Feb 2023, 23:22

Type Values Removed Values Added
References
  • {'url': 'https://access.redhat.com/errata/RHSA-2016:1847', 'name': 'https://access.redhat.com/errata/RHSA-2016:1847', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/errata/RHSA-2016:1883', 'name': 'https://access.redhat.com/errata/RHSA-2016:1883', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/errata/RHSA-2016:1875', 'name': 'https://access.redhat.com/errata/RHSA-2016:1875', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://access.redhat.com/security/cve/CVE-2016-4997', 'name': 'https://access.redhat.com/security/cve/CVE-2016-4997', 'tags': [], 'refsource': 'MISC'}
Summary A flaw was discovered in processing setsockopt for 32 bit processes on 64 bit systems. This flaw will allow attackers to alter arbitrary kernel memory when unloading a kernel module. This action is usually restricted to root-privileged users but can also be leveraged if the kernel is compiled with CONFIG_USER_NS and CONFIG_NET_NS and the user is granted elevated privileges. 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.

02 Feb 2023, 21:17

Type Values Removed Values Added
References
  • (MISC) https://access.redhat.com/errata/RHSA-2016:1847 -
  • (MISC) https://access.redhat.com/errata/RHSA-2016:1883 -
  • (MISC) https://access.redhat.com/errata/RHSA-2016:1875 -
  • (MISC) https://access.redhat.com/security/cve/CVE-2016-4997 -
Summary 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. A flaw was discovered in processing setsockopt for 32 bit processes on 64 bit systems. This flaw will allow attackers to alter arbitrary kernel memory when unloading a kernel module. This action is usually restricted to root-privileged users but can also be leveraged if the kernel is compiled with CONFIG_USER_NS and CONFIG_NET_NS and the user is granted elevated privileges.

17 Jan 2023, 21:17

Type Values Removed Values Added
CPE cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
First Time Debian
Debian debian Linux
References (CONFIRM) http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html - (CONFIRM) http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html - Third Party Advisory
References (DEBIAN) http://www.debian.org/security/2016/dsa-3607 - (DEBIAN) http://www.debian.org/security/2016/dsa-3607 - Third Party Advisory
References (CONFIRM) https://bugzilla.redhat.com/show_bug.cgi?id=1349722 - Issue Tracking (CONFIRM) https://bugzilla.redhat.com/show_bug.cgi?id=1349722 - Issue Tracking, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00027.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00027.html - Mailing List, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00050.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00050.html - Mailing List, Third Party Advisory
References (EXPLOIT-DB) https://www.exploit-db.com/exploits/40489/ - (EXPLOIT-DB) https://www.exploit-db.com/exploits/40489/ - Third Party Advisory, VDB Entry
References (REDHAT) http://rhn.redhat.com/errata/RHSA-2016-1875.html - (REDHAT) http://rhn.redhat.com/errata/RHSA-2016-1875.html - Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00048.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00048.html - Mailing List, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00055.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00055.html - Mailing List, Third Party Advisory
References (REDHAT) http://rhn.redhat.com/errata/RHSA-2016-1883.html - (REDHAT) http://rhn.redhat.com/errata/RHSA-2016-1883.html - Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00052.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00052.html - Mailing List, Third Party Advisory
References (MLIST) http://www.openwall.com/lists/oss-security/2016/06/24/5 - (MLIST) http://www.openwall.com/lists/oss-security/2016/06/24/5 - Mailing List, Third Party Advisory
References (MLIST) http://www.openwall.com/lists/oss-security/2016/09/29/10 - Exploit, Third Party Advisory (MLIST) http://www.openwall.com/lists/oss-security/2016/09/29/10 - Exploit, Mailing List, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00053.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00053.html - Mailing List, Third Party Advisory
References (CONFIRM) http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.3 - (CONFIRM) http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.3 - Vendor Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00044.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00044.html - Mailing List, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00051.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00051.html - Mailing List, Third Party Advisory
References (BID) http://www.securityfocus.com/bid/91451 - (BID) http://www.securityfocus.com/bid/91451 - Third Party Advisory, VDB Entry
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00054.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00054.html - Mailing List, Third Party Advisory
References (CONFIRM) https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c - Patch (CONFIRM) https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c - Patch, Third Party Advisory
References (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00007.html - (SUSE) http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00007.html - Mailing List, Third Party Advisory
References (CONFIRM) http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html - (CONFIRM) http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html - Third Party Advisory
References (CONFIRM) https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541 - (CONFIRM) https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541 - Third Party Advisory
References (REDHAT) http://rhn.redhat.com/errata/RHSA-2016-1847.html - (REDHAT) http://rhn.redhat.com/errata/RHSA-2016-1847.html - Third Party Advisory
References (SECTRACK) http://www.securitytracker.com/id/1036171 - (SECTRACK) http://www.securitytracker.com/id/1036171 - Third Party Advisory, VDB Entry
References (EXPLOIT-DB) https://www.exploit-db.com/exploits/40435/ - (EXPLOIT-DB) https://www.exploit-db.com/exploits/40435/ - Third Party Advisory, VDB Entry

Information

Published : 2016-07-03 21:59

Updated : 2023-12-10 11:46


NVD link : CVE-2016-4997

Mitre link : CVE-2016-4997

CVE.ORG link : CVE-2016-4997


JSON object : View

Products Affected

oracle

  • linux

canonical

  • ubuntu_linux

novell

  • suse_linux_enterprise_live_patching
  • suse_linux_enterprise_real_time_extension
  • suse_linux_enterprise_desktop
  • suse_linux_enterprise_workstation_extension
  • suse_linux_enterprise_module_for_public_cloud
  • suse_linux_enterprise_software_development_kit
  • suse_linux_enterprise_server

linux

  • linux_kernel

debian

  • debian_linux
CWE
CWE-264

Permissions, Privileges, and Access Controls