{"id":"CVE-2012-6704","details":"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.","modified":"2026-02-05T13:08:30.252680Z","published":"2016-12-28T07:59:00Z","related":["SUSE-SU-2017:0333-1","SUSE-SU-2017:0437-1","SUSE-SU-2017:0494-1","SUSE-SU-2017:1102-1"],"references":[{"type":"ADVISORY","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/12/03/1"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/95135"},{"type":"ADVISORY","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1402024"},{"type":"ADVISORY","url":"https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2016/12/03/1"},{"type":"FIX","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b"},{"type":"FIX","url":"https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1402024"}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}