Skip to content
OpenAdvisories
Unscored Public exploit CVE-2016-9793 EUVD-2016-10594GHSA-p7q5-g2pg-7rc9

The sock_setsockopt function in net/core/sock.c in the Linux kernel before 4.8.14 mishandles negative values of sk_sndbuf and sk_rcvbuf, wh…

Published Dec 28, 2016 · Updated Aug 6, 2024 · Assigned by mitre

Description

The sock_setsockopt function in net/core/sock.c in the Linux kernel before 4.8.14 mishandles negative values of sk_sndbuf and sk_rcvbuf, which allows local users to cause a denial of service (memory corruption and system crash) or possibly have unspecified other impact by leveraging the CAP_NET_ADMIN capability for a crafted setsockopt system call with the (1) SO_SNDBUFFORCE or (2) SO_RCVBUFFORCE option.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 4.8.15-1 —
Debian 13 linux 4.8.15-1 —
Debian 12 linux 4.8.15-1 —
Debian 7 linux 3.2.84-1 DLA-772-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS linux 4.4.0-59.80 USN-3169-1
Ubuntu 16.04 LTS linux-aws 4.4.0-1003.12 —
Ubuntu 16.04 LTS linux-raspi2 4.4.0-1040.47 USN-3169-3
Ubuntu 16.04 LTS linux-snapdragon 4.4.0-1044.48 USN-3169-4
Ubuntu 14.04 LTS linux 3.13.0-107.154 USN-3168-1
Ubuntu 14.04 LTS linux-lts-vivid 3.19.0-79.87~14.04.1 —
Ubuntu 14.04 LTS linux-lts-xenial 4.4.0-59.80~14.04.1 USN-3169-2
ReleasePackageFixed inAdvisory
RHEL 7 kernel-rt +10 3.10.0-514.16.1.rt56.437.el7 RHSA-2017:0931
RHEL 7 perf +18 3.10.0-514.16.1.el7 RHSA-2017:0933
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat MRG 2 kernel-rt +10 1:3.10.0-514.rt56.219.el6rt RHSA-2017:0932
ReleasePackageFixed inAdvisory
SLES 12 SP2 kernel-docs 4.4.38-93.3 SUSE-SU-2017:0181-1
SLES 12 SP2 kernel-syms +3 4.4.38-93.1 SUSE-SU-2017:0181-1
SLES 12 SP1 kernel-docs 3.12.69-60.64.29.3 SUSE-SU-2017:0464-1
SLES 12 SP1 kernel-xen +4 3.12.69-60.64.29.1 SUSE-SU-2017:0464-1
SLES 12 kernel-ec2 +4 3.12.61-52.66.1 SUSE-SU-2017:0471-1, SUSE-SU-2017:0464-1
SLES 12 kgraft-patch-SLE12_Update_19 1-2.1 SUSE-SU-2017:0471-1
SLES 11 SP4 kernel-docs 3.0.101-94.2 SUSE-SU-2017:0437-1
SLES 11 SP4 kernel-ec2 +8 3.0.101-94.1 SUSE-SU-2017:0437-1
SLES 11 SP3 kernel-ec2 +7 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP2 kernel-ec2 +6 3.0.101-0.7.53.1 SUSE-SU-2017:0333-1
SLES for SAP 12 SP2 kernel-syms +2 4.4.38-93.1 SUSE-SU-2017:0181-1
SLES for SAP 12 SP1 kernel-xen +3 3.12.69-60.64.29.1 SUSE-SU-2017:0464-1
SLES for SAP 12 kernel-xen +3 3.12.61-52.66.1 SUSE-SU-2017:0471-1
SLES for SAP 12 kgraft-patch-SLE12_Update_19 1-2.1 SUSE-SU-2017:0471-1
SLES for SAP 11 SP4 kernel-ec2 +8 3.0.101-94.1 SUSE-SU-2017:0437-1
SLE Real Time 12 SP1 kernel-rt +5 3.12.69-60.30.1 SUSE-SU-2017:0407-1
SLE Real Time 11 SP4 kernel-rt +3 3.0.101.rt130-68.1 SUSE-SU-2017:1102-1
SLE Live Patching 12 kgraft-patch-SLE12-SP1_Update_12 1-4.1 SUSE-SU-2017:0464-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_4 1-2.1 SUSE-SU-2017:0181-1
SUSE OpenStack Cloud 5 kernel-ec2 +6 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1
SUSE Manager Proxy 2.1 kernel-ec2 +6 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1
SUSE Manager 2.1 kernel-ec2 +6 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1
SUSE Linux Enterprise Point of Sale 11 SP3 kernel-ec2 +6 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 dtrace-modules-3.8.13-118.16.2.el6uek 0.4.5-3.el6 ELSA-2017-3509
Oracle Linux 7 dtrace-modules-3.8.13-118.16.2.el7uek 0.4.5-3.el7 ELSA-2017-3509
Oracle Linux 7 dtrace-modules-4.1.12-61.1.25.el6uek 0.5.3-2.el6 ELSA-2017-3508
Oracle Linux 7 dtrace-modules-4.1.12-61.1.25.el7uek 0.5.3-2.el7 ELSA-2017-3508
Oracle Linux 7 kernel-uek +5 3.8.13-118.16.2.el7uek ELSA-2017-3509, ELSA-2017-3508
Oracle Linux 7 perf +11 3.10.0-514.16.1.el7 ELSA-2017-0933

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 20

References