{"id":"CVE-2012-6704","state":"PUBLISHED","title":"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 ","description":"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.","publishedAt":"2016-12-28T07:42:00.000Z","updatedAt":"2024-08-06T21:36:02.175Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securityfocus.com/bid/95135","https://bugzilla.redhat.com/show_bug.cgi?id=1402024","http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b","http://www.openwall.com/lists/oss-security/2016/12/03/1","https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:30.987Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/6xxx/CVE-2012-6704.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-6704","state":"PUBLISHED","datePublished":"2016-12-28T07:42:00.000Z","dateUpdated":"2024-08-06T21:36:02.175Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2016-12-02T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securityfocus.com/bid/95135","name":"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","name":"[oss-security] 20161202 Re: CVE Request: Linux: signed overflows for SO_{SND|RCV}BUFFORCE","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2016-12-29T10:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2012-04-26T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2012-6704","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"95135","refsource":"BID","url":"http://www.securityfocus.com/bid/95135"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1402024","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1402024"},{"name":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b","refsource":"CONFIRM","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b"},{"name":"[oss-security] 20161202 Re: CVE Request: Linux: signed overflows for SO_{SND|RCV}BUFFORCE","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/12/03/1"},{"name":"https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b","refsource":"CONFIRM","url":"https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securityfocus.com/bid/95135","name":"95135","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1402024","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/12/03/1","name":"[oss-security] 20161202 Re: CVE Request: Linux: signed overflows for SO_{SND|RCV}BUFFORCE","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T21:36:02.175Z"}}]}}}