CVE-2012-6704

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

21 Nov 2024, 01:46

Type Values Removed Values Added
References () http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b - Patch, Vendor Advisory () http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b - Patch, Vendor Advisory
References () http://www.openwall.com/lists/oss-security/2016/12/03/1 - Mailing List, Third Party Advisory, VDB Entry () http://www.openwall.com/lists/oss-security/2016/12/03/1 - Mailing List, Third Party Advisory, VDB Entry
References () http://www.securityfocus.com/bid/95135 - Third Party Advisory, VDB Entry () http://www.securityfocus.com/bid/95135 - Third Party Advisory, VDB Entry
References () https://bugzilla.redhat.com/show_bug.cgi?id=1402024 - Issue Tracking, Third Party Advisory () https://bugzilla.redhat.com/show_bug.cgi?id=1402024 - Issue Tracking, Third Party Advisory
References () https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b - Patch, Third Party Advisory () https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b - Patch, Third Party Advisory

Information

Published : 2016-12-28 07:59

Updated : 2025-04-12 10:46


NVD link : CVE-2012-6704

Mitre link : CVE-2012-6704

CVE.ORG link : CVE-2012-6704


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer