What’s Vulnerable › Vulnerabilities
CVE-2012-6657
- Severity: medium (CVSS 4.9 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2014-09-28 · updated 2026-06-16
- Weakness: CWE-264
Description
The sock_setsockopt function in net/core/sock.c in the Linux kernel before 3.5.7 does not ensure that a keepalive action is associated with a stream socket, which allows local users to cause a denial of service (system crash) by leveraging the ability to create a raw socket.
Affected products
- Linux kernel: through 3.5.6; 3.5.1, 3.5.2, 3.5.3, 3.5.4, 3.5.5
- Novell Suse Linux Enterprise Server: 10.0-sp4, 11.0-sp1
References
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3e10986d1d698140747fcfc2761ec9cb64c1d582
- http://lists.opensuse.org/opensuse-security-announce/2015-04/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2015-04/msg00020.html
- http://marc.info/?l=bugtraq&m=142722450701342&w=2
- http://marc.info/?l=bugtraq&m=142722544401658&w=2
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.5.7
- http://www.openwall.com/lists/oss-security/2014/09/15/8
- https://bugzilla.redhat.com/show_bug.cgi?id=1141742
- https://github.com/torvalds/linux/commit/3e10986d1d698140747fcfc2761ec9cb64c1d582
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3e10986d1d698140747fcfc2761ec9cb64c1d582
- http://lists.opensuse.org/opensuse-security-announce/2015-04/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2015-04/msg00020.html
Get alerted when CVE-2012-6657 or the next vulnerability affects your stack