The IPT_SO_SET_REPLACE setsockopt implementation in the netfilter subsystem in the Linux…
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.
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.
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 · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | up to 4.5.5 | Vulnerable | Linux |
| cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:* | 7 | Vulnerable | Oracle |
| 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:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions up to 4.5.5 Vulnerable ·Linux
- cpe:2.3:o:oracle:linux:7:*:*:*:*:*:*:* Versions 7 Vulnerable ·Oracle
- 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
Remediation
Red Hat 4 advisories
- RHSA-2017:0036 Released 2017-01-10 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux Desktop (v. 6) kernel-2.6.32-642.13.1.el6, kernel-abi-whitelists-2.6.32-642.13.1.el6, kernel-debug-2.6.32-642.13.1.el6 +6
- Red Hat Enterprise Linux Desktop Optional (v. 6) python-perf-2.6.32-642.13.1.el6
- Red Hat Enterprise Linux HPC Node (v. 6) kernel-2.6.32-642.13.1.el6, kernel-abi-whitelists-2.6.32-642.13.1.el6, kernel-debug-2.6.32-642.13.1.el6 +6
- Red Hat Enterprise Linux HPC Node Optional (v. 6) python-perf-2.6.32-642.13.1.el6
- Red Hat Enterprise Linux Server (v. 6) kernel-2.6.32-642.13.1.el6, kernel-abi-whitelists-2.6.32-642.13.1.el6, kernel-bootwrapper-2.6.32-642.13.1.el6 +9
- Red Hat Enterprise Linux Server Optional (v. 6) python-perf-2.6.32-642.13.1.el6
- Red Hat Enterprise Linux Workstation (v. 6) kernel-2.6.32-642.13.1.el6, kernel-abi-whitelists-2.6.32-642.13.1.el6, kernel-debug-2.6.32-642.13.1.el6 +6
- Red Hat Enterprise Linux Workstation Optional (v. 6) python-perf-2.6.32-642.13.1.el6
- 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
Show 1 more Red Hat advisories
- 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: Moderate. 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 Desktop (v. 6) | Fixed | RHSA-2017:0036 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2017:0036 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2017:0036 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2017:0036 |
| Red Hat Enterprise Linux Realtime (v. 7) | Fixed | RHSA-2016:1875 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2017:0036 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2016:1847 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2017:0036 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2016:1847 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2017:0036 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2016:1847 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2017:0036 |
| 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: 1 product
- Red Hat Enterprise Linux 5
Timeline
- 2026-10-02 Threatist record created from CVE-2016-4998
- 2026-10-03 Alias added: GHSA-j87m-7c2j-m929
References
Advisory 20
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- USN-3017-1
- USN-3017-3
- RHSA-2016:1847
- openSUSE-SU-2016:2184
- USN-3018-2
- USN-3017-2
- RHSA-2016:1875
- USN-3019-1
- DSA-3607
- USN-3016-2
- USN-3016-1
- USN-3018-1
- https://bugzilla.redhat.com/show_bug.cgi?id=1349886
- RHSA-2016:1883
- SUSE-SU-2016:2105
- USN-3016-3
- RHSA-2017:0036
- USN-3016-4
- USN-3020-1
Other 4
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html
- [oss-security] 20160624 Linux CVE-2016-4997 (local privilege escalation) and CVE-2016-4998 (out of bounds memory access)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6e94e0cfb0887e4013b3b930fa6ab1fe6bb6ba91
- http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html
Sources
- CVE-2016-4998 · CVE Program
- CVE-2016-4998 · NVD
- FIRST EPSS
- GHSA-j87m-7c2j-m929 · GitHub Advisory Database · CC BY 4.0
- CVE-2016-4998 · 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