Back
CVE-2012-6657
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…
Medium4.9EPSS 0.53%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Timeline
ID reserved
By redhat
- 13 days later
· 13 days later
Published
- 10 years later
· 10 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.9 | AV:L/AC:L/Au:N/C:N/I:N/A:C |
- EPSS (exploitation in 30 days)
- 0.53% · top 55% of all CVEs (8 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.9.
Weakness
Affected products
n/a
- affected n/a
References (9)
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.5.7 (opens in a new tab)x_refsource_CONFIRMx_transferred
- HPSBGN03285 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- SUSE-SU-2015:0652 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- HPSBGN03282 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=1141742 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/torvalds/linux/commit/3e10986d1d698140747fcfc2761ec9cb64c1d582 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3e10986d1d698140747fcfc2761ec9cb64c1d582 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20140915 Re: CVE request Linux kernel: net: guard tcp_set_keepalive against crash (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- SUSE-SU-2015:0812 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2012-6657)Record last updated .