Every CVE Search/ Get API key

CVE-2012-6657

The sock_setsockopt function in net/core/sock.c in the Linux kernel before 3.5.7 does not ensure...

4.9 MediumFix available

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.

Exploit likelihood

0.53%Down 0.8 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.9

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.

Record
CVE-2012-6657
CVSS 2.0
4.9 MediumAV:L/AC:L/Au:N/C:N/I:N/A:C
Weakness
CWE-264
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2012-6657
Updated
2026-11-02
EUVDEUVD-2012-6503 No score

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.

Record
EUVD-2012-6503
Updated
2026-11-03
GitHub AdvisoriesGHSA-x8x5-h6pv-r9vg No score

The sock_setsockopt function in net/core/sock.c in the Linux kernel before 3.5.7 does not ensure...

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.

Record
GHSA-x8x5-h6pv-r9vg
Updated
2026-11-02
OSVRHSA-2014:1997 8.4

Red Hat Security Advisory: kernel security and bug fix update

Record
RHSA-2014:1997
CVSS 3.0
8.4 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV No score

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.

Record
CVE-2012-6657
Updated
2026-11-02
OSVDEBIAN-CVE-2012-6657 No score

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.

Record
DEBIAN-CVE-2012-6657
Updated
2026-11-02
OSVSUSE-SU-2015:0652-1 No score

Security update for Kernel

The SUSE Linux Enterprise 11 SP1 Teradata kernel was updated to fix bugs and security issues.

Following security issues were fixed:

CVE-2011-1083: Limit the path length users can build using epoll() to avoid local attackers consuming lots of kernel CPU time.

CVE-2011-4086: Fixed a oops in jbd/jbd2 that could be caused by specific filesystem access patterns.

CVE-2011-4622: KVM: Prevent starting PIT timers in the absence of irqchip support.

CVE-2012-0045: KVM: Extend 'struct x86_emulate_ops' with 'get_cpuid' and fix missing checks in syscall emulation.

CVE-2012-0879: Fix io_context leak after clone with CLONE_IO.

CVE-2012-1090: Fixed a dentry refcount leak in the CIFS file system that could lead to a crash on unmount.

CVE-2012-1097: The regset common infrastructure assumed that regsets would always have .get and .set methods, but necessarily .active methods. Unfortunately people have since written regsets without .set method, so NULL pointer dereference attacks were possible.

Following non-security issues were fixed:

* SCSI inquiry doesn't return data on SLES 11-SP1 Xen VMs (bnc#745929).
* FC transport driver killing off the timers/work queues (bnc#734300).
* The driver ixgbevf doesn't work on newer SLES 11-SP1 kernels
  (bnc#752972).
* Pack sparsemem memmap sections closer together and in higher zones
  (bnc#743870).

Following feature was implemented:

* The megaraid_sas driver update to version 5.40-LSI (bnc#736813).

Security Issues:

* CVE-2011-1083
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1083>
* CVE-2011-4086
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4086>
* CVE-2011-4622
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4622>
* CVE-2012-0045
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0045>
* CVE-2012-0879
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0879>
* CVE-2012-1090
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1090>
* CVE-2012-1097
  <http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1097>
Record
SUSE-SU-2015:0652-1
Updated
2026-11-02
OSVUBUNTU-CVE-2012-6657 No score

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.

Record
UBUNTU-CVE-2012-6657
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
linux
Debian:12
before 3.6.4-1
3.6.4-1
linux
Debian:13
before 3.6.4-1
3.6.4-1
linux
Debian:14
before 3.6.4-1
3.6.4-1
linux-2.6
Debian:6.0
before 2.6.32-48squeeze9, plus listed versions
2.6.32-302.6.32-30+m68k.52.6.32-312.6.32-31~bpo50+12.6.32-32
Show 30 moreShow less
2.6.32-332.6.32-342.6.32-34squeeze12.6.32-352.6.32-35squeeze12.6.32-35squeeze22.6.32-35~bpo50+12.6.32-362.6.32-372.6.32-382.6.32-392.6.32-39squeeze12.6.32-402.6.32-412.6.32-41squeeze22.6.32-422.6.32-432.6.32-442.6.32-452.6.32-462.6.32-46squeeze12.6.32-472.6.32-482.6.32-48squeeze12.6.32-48squeeze32.6.32-48squeeze42.6.32-48squeeze52.6.32-48squeeze62.6.32-48squeeze72.6.32-48squeeze8
2.6.32-48squeeze9
kernel
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-abi-whitelists
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debug
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debug-debuginfo
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debug-devel
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debuginfo
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
Show 63 moreShow less
Affected packages
PackageAffectedFixed
kernel-debuginfo-common-i686
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debuginfo-common-x86_64
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-devel
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-doc
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-firmware
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-headers
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
perf
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
perf-debuginfo
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
python-perf-debuginfo
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
python-perf
Red Hat:enterprise_linux:6::client
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-abi-whitelists
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debug
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debug-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debug-devel
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debuginfo-common-x86_64
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-devel
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-doc
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-firmware
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-headers
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
perf
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
perf-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
python-perf-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
python-perf
Red Hat:enterprise_linux:6::computenode
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-abi-whitelists
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-bootwrapper
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debug
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debug-debuginfo
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debug-devel
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debuginfo
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debuginfo-common-i686
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debuginfo-common-ppc64
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debuginfo-common-s390x
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debuginfo-common-x86_64
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-devel
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-doc
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-firmware
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-headers
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-kdump
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-kdump-debuginfo
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-kdump-devel
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
perf
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
perf-debuginfo
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
python-perf-debuginfo
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
python-perf
Red Hat:enterprise_linux:6::server
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-abi-whitelists
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debug
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debug-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debug-devel
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debuginfo-common-i686
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-debuginfo-common-x86_64
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-devel
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-doc
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-firmware
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
kernel-headers
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
perf
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
perf-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
python-perf-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
python-perf
Red Hat:enterprise_linux:6::workstation
before 0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6

History

History
RecordedChangedSources
affected
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2012-6657 is a medium vulnerability (CVSS 4.9) in Linux Kernel, published April 24, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.53%, the 45th percentile. Fixed in linux 3.6.4-1.

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 920 references. The JSON record has them.

MoveEnter Open