CVE-2012-6704
HighThe 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.
CVSS 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-119CVE-2012-6704 is a Buffer Overflow vulnerability
What is Buffer Overflow?
The product performs operations on a memory buffer but reads or writes outside its intended boundaries. Learn more on MITRE CWE
References
The following references provide additional information about CVE-2012-6704 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Mailing List Third Party Advisory VDB Entry
-
Securityfocushttp://www.securityfocus.com/bid/95135Third Party Advisory VDB Entry
-
Issue Tracking Third Party Advisory
-
PatchKernel patch commithttp://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b
-
PatchKernel patch commithttps://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b
Frequently asked questions
-
What is CVE-2012-6704?
CVE-2012-6704 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as a Buffer Overflow flaw (CWE-119) . CVE-2012-6704 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2012-6704?
CVE-2012-6704 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2012-6704?
No patch is currently available for CVE-2012-6704. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2012-6704 actively exploited?
No — CVE-2012-6704 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Buffer Overflow (CWE-119)?
The product performs operations on a memory buffer but reads or writes outside its intended boundaries. View CWE-119 on MITRE CWE →