CVE-2012-6657
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of service disruption.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 4.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Linux Kernel ≤ 3.5.6
- Linux Kernel 3.5.1
- Linux Kernel 3.5.2
- Linux Kernel 3.5.3
- Linux Kernel 3.5.4
- Linux Kernel 3.5.5
- Novell Suse Linux Enterprise Server 10.0
- Novell Suse Linux Enterprise Server 11.0
Attack profile CVSS 2.0 · 4.9
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/C:N/I:N/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-6657.md and follow it. Check whether this project is affected by CVE-2012-6657. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.5.7
- https://github.com/torvalds/linux/commit/3e10986d1d698140747fcfc2761ec9cb64c1d582
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.5.7
- https://github.com/torvalds/linux/commit/3e10986d1d698140747fcfc2761ec9cb64c1d582
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
- 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