CVE-2012-6657 Denial of service in n/a
Local users with raw socket creation privileges can crash the Linux kernel by exploiting a missing check in the sock_setsockopt function.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-6657?
CVE-2012-6657 is a medium-severity denial of service vulnerability in Linux kernel, published on 28 Sep 2014. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-264
Which versions are affected by CVE-2012-6657?
It affects 2 products.
Products include Linux kernel, Novell Suse Linux Enterprise Server.
How do I fix CVE-2012-6657?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2012-6657 being exploited?
There is no known exploitation of CVE-2012-6657 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2012-6657, GHSA-x8x5-h6pv-r9vg.