Buffer overflow in Linux kernel - CVE-2012-6704
Published: December 28, 2016 / Updated: January 17, 2023
Vulnerability identifier: #VU91212
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2012-6704
CWE-ID: CWE-119
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to execute arbitrary code.
The vulnerability exists due to memory corruption within the sock_setsockopt() and sock_getsockopt() functions in net/core/sock.c. A local user can execute arbitrary code.
How to mitigate CVE-2012-6704
Install update from vendor's website.
Sources
- https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b
- https://bugzilla.redhat.com/show_bug.cgi?id=1402024
- http://www.openwall.com/lists/oss-security/2016/12/03/1
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b
- http://www.securityfocus.com/bid/95135