{"id":"CVE-2016-9793","published":"2016-12-28T07:42:00Z","modified":"2024-08-06T02:59:03Z","title":"The sock_setsockopt function in net/core/sock.c in the Linux kernel before 4.8.14 mishandles negative values of…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01579,"percentile":0.75901,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/torvalds/linux/commit/b98b0bc8c431e3ceb4b26b0dfc8db509518fb290","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1037968","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b98b0bc8c431e3ceb4b26b0dfc8db509518fb290","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2017:0932","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://github.com/xairy/kernel-exploits/tree/master/CVE-2016-9793","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/94655","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.openwall.com/lists/oss-security/2016/12/03/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.8.14","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2017:0933","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2017:0931","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://source.android.com/security/bulletin/2017-03-01.html","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1402013","tags":["x_refsource_CONFIRM"]}],"priority":{"score":20.2,"factors":[{"name":"EPSS percentile","points":15.18},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2017-03-22"},"first":{"date":"2017-03-22","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/41995"},"provenance":"source"},"euvd":{"id":"EUVD-2016-10594","exploited":false,"provenance":"source"},"exploits":[{"id":41995,"url":"https://www.exploit-db.com/exploits/41995","title":"Linux Kernel 3.11 < 4.8 0 - 'SO_SNDBUFFORCE' / 'SO_RCVBUFFORCE' Local Privilege Escalation","date":"2017-03-22","verified":false,"provenance":"source"}],"exploitRefs":["https://github.com/xairy/kernel-exploits/tree/master/CVE-2016-9793"],"lineage":{"familyId":"fam-cve-2012-6657-family-cve-2012-6657","parents":[{"from":"CVE-2012-6657","to":"CVE-2016-9793","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["net/core/sock.c"],"commits":["https://github.com/torvalds/linux/commit/3e10986d1d698140747fcfc2761ec9cb64c1d582","https://github.com/torvalds/linux/commit/b98b0bc8c431e3ceb4b26b0dfc8db509518fb290"],"basis":"shared function","functions":["socket"]}]},{"from":"CVE-2012-6704","to":"CVE-2016-9793","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["net/core/sock.c"],"commits":["https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b","https://github.com/torvalds/linux/commit/b98b0bc8c431e3ceb4b26b0dfc8db509518fb290"],"basis":"shared function","functions":["socket"]}]}]}}