CVE-2016-9793: Buffer Overflow

Published Dec 2, 2016
·
Updated

A flaw was found in the Linux kernel's implementation of setsockopt for the SO{SND|RCV}BUFFORCE setsockopt() system call. Users with non-namespace CAPNETADMIN are able to trigger this call and create a situation in which the sockets sendbuff data size could be negative. This could adversely affect memory allocations and create situations where the system could crash or cause memory corruption.

Other sources

A flaw was found in the Linux kernels implementation of setsockopt for the SO{SND|RCV}BUFFORCE setsockopt() system call. Users with non-namespace CAPNETADMIN are able to trigger this call and create a situation in which the sockets sendbuff data size could be negative.

This could adversely affect memory allocations and create situations where the system could crash or cause memory corruption.

This situation affects SOSNDBUFF and SORCVBUFF similarly as shown in CVE-2012-6704.

Upstream patch:

https://github.com/torvalds/linux/commit/b98b0bc8c431e3ceb4b26b0dfc8db509518fb290

CVE assignment:

http://seclists.org/oss-sec/2016/q4/574

Red Hat

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

Affected Software

12 affected componentsFixes available
redhat/kernel-rt<0:3.10.0-514.16.1.rt56.437.el7
0:3.10.0-514.16.1.rt56.437.el7
redhat/kernel<0:3.10.0-514.16.1.el7
0:3.10.0-514.16.1.el7
redhat/kernel-rt<1:3.10.0-514.rt56.219.el6
1:3.10.0-514.rt56.219.el6
redhat/kernel<4.9
4.9
Google Android
Linux Linux Kernel>=3.5<3.12.69
Linux Linux Kernel>=3.13<3.16.40
Linux Linux Kernel>=3.17<3.18.52
Linux Linux Kernel>=3.19<4.1.50
Linux Linux Kernel>=4.2<4.4.38
Linux Linux Kernel>=4.5<4.8.14
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Dec 2, 2016
CVE Published
12:00 AM
Dec 28, 2016
CVE Published
via MITRE·07:42 AM
Data Sourced
via MITRE·07:42 AM
Description
Apr 28, 2025
Data Sourced
via Debian·03:32 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2016-9793?

CVE-2016-9793 has been rated as a high severity vulnerability due to its potential to cause denial of service and memory corruption.

2

How do I fix CVE-2016-9793?

To fix CVE-2016-9793, upgrade to a kernel version newer than 4.8.14 or apply the specific patches provided by your Linux distribution.

3

What systems are affected by CVE-2016-9793?

CVE-2016-9793 affects various versions of the Linux kernel prior to 4.8.14 as well as several specific distributions such as Red Hat and Debian.

4

What type of vulnerability is CVE-2016-9793?

CVE-2016-9793 is a local denial of service vulnerability that arises from improper handling of socket options in the Linux kernel.

5

Can CVE-2016-9793 be exploited remotely?

No, CVE-2016-9793 requires local user access to be exploited, making it a local privilege escalation nor denial of service issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203