High severity7.8NVD Advisory· Published Dec 28, 2016· Updated May 6, 2026
CVE-2012-6704
CVE-2012-6704
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.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/nvdPatchVendor Advisory
- github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002bnvdPatchThird Party Advisory
- www.openwall.com/lists/oss-security/2016/12/03/1nvdMailing ListThird Party AdvisoryVDB Entry
- www.securityfocus.com/bid/95135nvdThird Party AdvisoryVDB Entry
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party Advisory
News mentions
0No linked articles in our index yet.