{"id":"CVE-2012-6704","published":"2016-12-28T07:42:00Z","modified":"2024-08-06T21:36:02Z","title":"The sock_setsockopt function in net/core/sock.c in the Linux kernel before 3.5 mishandles negative values of sk_sndbuf…","vendor":null,"product":null,"tier":"tail","description":{"text":"The sock_setsockopt function in net/core/sock.c in the Linux kernel before 3.5 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_SNDBUF or (2) SO_RCVBUF option.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00412,"percentile":0.36051,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.securityfocus.com/bid/95135","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1402024","tags":["x_refsource_CONFIRM"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/12/03/1","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":7.21}]},"euvd":{"id":"EUVD-2012-6546","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2012-6657-family-cve-2012-6657","parents":[{"from":"CVE-2012-6657","to":"CVE-2012-6704","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/82981930125abfd39d7c8378a9cfdf5e1be2002b"],"basis":"shared function","functions":["socket"]}]}],"children":[{"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"]}]}]}}