The compat IPT_SO_SET_REPLACE and IP6T_SO_SET_REPLACE setsockopt implementations in the…
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-264.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 18
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 2.6.17 to before 3.2.80; 3.3 to before 3.10.103; 3.11 to before 3.12.62; 3.13 to before 3.14.73; 3.15 to before 3.16.37; 3.17 to before 3.18.37; 3.19 to before 4.1.28; 4.2 to before 4.4.14; 4.5 to before 4.6.3 | Vulnerable | Linux |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* | 15.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:a:novell:suse_linux_enterprise_software_development_kit:12.0:*:*:*:*:*:*:* | 12.0 | Vulnerable | Novell |
| cpe:2.3:a:novell:suse_linux_enterprise_software_development_kit:12.0:sp1:*:*:*:*:*:* | 12.0 sp1 | Vulnerable | Novell |
| cpe:2.3:o:novell:suse_linux_enterprise_desktop:12.0:*:*:*:*:*:*:* | 12.0 | Vulnerable | Novell |
| cpe:2.3:o:novell:suse_linux_enterprise_desktop:12.0:sp1:*:*:*:*:*:* | 12.0 sp1 | Vulnerable | Novell |
| cpe:2.3:o:novell:suse_linux_enterprise_live_patching:12.0:*:*:*:*:*:*:* | 12.0 | Vulnerable | Novell |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 2.6.17 to before 3.2.80; 3.3 to before 3.10.103; 3.11 to before 3.12.62; 3.13 to before 3.14.73; 3.15 to before 3.16.37; 3.17 to before 3.18.37; 3.19 to before 4.1.28; 4.2 to before 4.4.14; 4.5 to before 4.6.3 Vulnerable ·Linux
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* Versions 15.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:a:novell:suse_linux_enterprise_software_development_kit:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·Novell
- cpe:2.3:a:novell:suse_linux_enterprise_software_development_kit:12.0:sp1:*:*:*:*:*:* Versions 12.0 sp1 Vulnerable ·Novell
- cpe:2.3:o:novell:suse_linux_enterprise_desktop:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·Novell
- cpe:2.3:o:novell:suse_linux_enterprise_desktop:12.0:sp1:*:*:*:*:*:* Versions 12.0 sp1 Vulnerable ·Novell
- cpe:2.3:o:novell:suse_linux_enterprise_live_patching:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·Novell
Show 8 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:novell:suse_linux_enterprise_module_for_public_cloud:12.0:*:*:*:*:*:*:* | 12.0 | Vulnerable | Novell |
| cpe:2.3:o:novell:suse_linux_enterprise_real_time_extension:12.0:sp1:*:*:*:*:*:* | 12.0 sp1 | Vulnerable | Novell |
| cpe:2.3:o:novell:suse_linux_enterprise_server:12.0:*:*:*:*:*:*:* | 12.0 | Vulnerable | Novell |
| cpe:2.3:o:novell:suse_linux_enterprise_server:12.0:sp1:*:*:*:*:*:* | 12.0 sp1 | Vulnerable | Novell |
| cpe:2.3:o:novell:suse_linux_enterprise_workstation_extension:12.0:*:*:*:*:*:*:* | 12.0 | Vulnerable | Novell |
| cpe:2.3:o:novell:suse_linux_enterprise_workstation_extension:12.0:sp1:*:*:*:*:*:* | 12.0 sp1 | Vulnerable | Novell |
| cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:* | 7 | Vulnerable | Oracle |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
- cpe:2.3:o:novell:suse_linux_enterprise_module_for_public_cloud:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·Novell
- cpe:2.3:o:novell:suse_linux_enterprise_real_time_extension:12.0:sp1:*:*:*:*:*:* Versions 12.0 sp1 Vulnerable ·Novell
- cpe:2.3:o:novell:suse_linux_enterprise_server:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·Novell
- cpe:2.3:o:novell:suse_linux_enterprise_server:12.0:sp1:*:*:*:*:*:* Versions 12.0 sp1 Vulnerable ·Novell
- cpe:2.3:o:novell:suse_linux_enterprise_workstation_extension:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·Novell
- cpe:2.3:o:novell:suse_linux_enterprise_workstation_extension:12.0:sp1:*:*:*:*:*:* Versions 12.0 sp1 Vulnerable ·Novell
- cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:* Versions 7 Vulnerable ·Oracle
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
Remediation
Red Hat 3 advisories
- RHSA-2016:1875 Released 2016-09-15 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux Realtime (v. 7) kernel-rt-3.10.0-327.36.1.rt56.237.el7, kernel-rt-debug-3.10.0-327.36.1.rt56.237.el7, kernel-rt-debug-devel-3.10.0-327.36.1.rt56.237.el7 +4
- Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt-3.10.0-327.36.1.rt56.237.el7, kernel-rt-debug-3.10.0-327.36.1.rt56.237.el7, kernel-rt-debug-devel-3.10.0-327.36.1.rt56.237.el7 +7
- RHSA-2016:1847 Released 2016-09-15 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux Client (v. 7) kernel-3.10.0-327.36.1.el7, kernel-abi-whitelists-3.10.0-327.36.1.el7, kernel-debug-3.10.0-327.36.1.el7 +8
- Red Hat Enterprise Linux Client Optional (v. 7) kernel-tools-libs-devel-3.10.0-327.36.1.el7
- Red Hat Enterprise Linux ComputeNode (v. 7) kernel-3.10.0-327.36.1.el7, kernel-abi-whitelists-3.10.0-327.36.1.el7, kernel-debug-3.10.0-327.36.1.el7 +8
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-tools-libs-devel-3.10.0-327.36.1.el7
- Red Hat Enterprise Linux Server (v. 7) kernel-3.10.0-327.36.1.el7, kernel-abi-whitelists-3.10.0-327.36.1.el7, kernel-bootwrapper-3.10.0-327.36.1.el7 +11
- Red Hat Enterprise Linux Server Optional (v. 7) kernel-debug-devel-3.10.0-327.36.1.el7, kernel-tools-libs-devel-3.10.0-327.36.1.el7
- Red Hat Enterprise Linux Workstation (v. 7) kernel-3.10.0-327.36.1.el7, kernel-abi-whitelists-3.10.0-327.36.1.el7, kernel-debug-3.10.0-327.36.1.el7 +8
- Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-tools-libs-devel-3.10.0-327.36.1.el7
- RHSA-2016:1883 Released 2016-09-14 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt-1:3.10.0-327.rt56.197.el6rt, kernel-rt-debug-1:3.10.0-327.rt56.197.el6rt, kernel-rt-debug-devel-1:3.10.0-327.rt56.197.el6rt +7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2016:1847 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2016:1847 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2016:1847 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2016:1847 |
| Red Hat Enterprise Linux Realtime (v. 7) | Fixed | RHSA-2016:1875 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2016:1847 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2016:1847 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2016:1847 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2016:1847 |
| Red Hat Enterprise Linux for Real Time for NFV (v. 7) | Fixed | RHSA-2016:1875 |
| Red Hat MRG Realtime for RHEL 6 Server v.2 | Fixed | RHSA-2016:1883 |
Not affected: 2 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2016-4997
- 2026-10-03 Alias added: GHSA-qc28-hwmc-pw94
References
Exploit 4
Advisory 36
- SUSE-SU-2016:2180
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- SUSE-SU-2016:1709
- USN-3017-1
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
- SUSE-SU-2016:1985
- USN-3017-3
- RHSA-2016:1847
- https://bugzilla.redhat.com/show_bug.cgi?id=1349722
- openSUSE-SU-2016:2184
- USN-3018-2
- SUSE-SU-2016:2174
- USN-3017-2
- RHSA-2016:1875
- USN-3019-1
- SUSE-SU-2016:2018
- DSA-3607
- USN-3016-2
- USN-3016-1
- [oss-security] 20160624 Linux CVE-2016-4997 (local privilege escalation) and CVE-2016-4998 (out of bounds memory access)
- SUSE-SU-2016:2181
- SUSE-SU-2016:2178
- USN-3018-1
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541
- http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html
- SUSE-SU-2016:2177
- RHSA-2016:1883
- SUSE-SU-2016:2179
- SUSE-SU-2016:2105
- USN-3016-3
- SUSE-SU-2016:1710
- USN-3016-4
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.3
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ce683e5f9d045e5d67d1312a42b359cb2ab2a13c
- USN-3020-1
- SUSE-SU-2016:1937
Sources
- CVE-2016-4997 · CVE Program
- CVE-2016-4997 · NVD
- FIRST EPSS
- GHSA-qc28-hwmc-pw94 · GitHub Advisory Database · CC BY 4.0
- CVE-2016-4997 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences