CVE-2016-9793
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.
Severity
HIGH
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
1.579%
chance of exploitation in the next 30 days
higher than 75.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1
Weakness
- CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Timeline
- 2016-12-28Published by the CNA07:42 UTC
- 2017-03-22First Exploit-DB entry (EDB-ID 41995)84 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 41995 | local | linux | 2017-03-22 | no |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux_kernel | from 3.5 before 3.12.69fixed in 3.12.69from 3.13 before 3.16.40fixed in 3.16.40from 3.17 before 3.18.52fixed in 3.18.52from 3.19 before 4.1.50fixed in 4.1.50from 4.2 before 4.4.38fixed in 4.4.38(+1 more) | 3.12.693.16.403.18.524.1.504.4.38 |
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b98b0bc8c431e3ceb4b26b0dfc8db509518fb290
- http://www.openwall.com/lists/oss-security/2016/12/03/1
- https://github.com/torvalds/linux/commit/b98b0bc8c431e3ceb4b26b0dfc8db509518fb290
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.14
- https://access.redhat.com/errata/RHSA-2017:0931
- https://access.redhat.com/errata/RHSA-2017:0932
- https://access.redhat.com/errata/RHSA-2017:0933
- http://www.securityfocus.com/bid/94655
- http://www.securitytracker.com/id/1037968
- https://bugzilla.redhat.com/show_bug.cgi?id=1402013
- https://github.com/xairy/kernel-exploits/tree/master/CVE-2016-9793
- https://source.android.com/security/bulletin/2017-03-01.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2016-9793'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2016-9793'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2016-9793'curl 'https://api.contrastcyber.com/cve_products/CVE-2016-9793'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).