Vulnerabilities · 2012 · Linux
CVE-2012-6657
Linux Kernel vulnerability
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, Suse Linux Enterprise Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.5.7 · Vendor Advisory
- github.com/torvalds/linux/commit/3e10986d1d698140747fcfc2761ec9cb64c1d582 · Exploit
- git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3e10986d1d6981407
- lists.opensuse.org/opensuse-security-announce/2015-04/msg00000.html
- lists.opensuse.org/opensuse-security-announce/2015-04/msg00020.html
- marc.info/?l=bugtraq&m=142722450701342&w=2
- marc.info/?l=bugtraq&m=142722544401658&w=2
- www.openwall.com/lists/oss-security/2014/09/15/8
- nvd.nist.gov/vuln/detail/CVE-2012-6657
- cve.org/CVERecord?id=CVE-2012-6657
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.