Kernel: net: guard tcp_set_keepalive against crash
Published Sep 28, 2014
4.9
MEDIUMCVSS 2.0
EPSS 0.53%
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.
Affected products
No data.
Configuration 1
- ≤ 3.5.6
- 3.5.1
- 3.5.2
- 3.5.3
- 3.5.4
- 3.5.5
Configuration 2
- 10.0
- 11.0
No data.
Red Hat Enterprise Linux 6
kernel-0:2.6.32-504.3.3.el6
Fixed · RHSA-2014:1997
Red Hat Enterprise Linux 5
kernel
Affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise MRG 2
kernel
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel-0:2.6.32-504.3.3.el6 | Fixed | RHSA-2014:1997 |
| Red Hat Enterprise Linux 5 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise MRG 2 | kernel | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue does not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 7 and Red Hat Enterprise MRG 2. This issue affects the version of the kernel package as shipped with Red Hat Enterprise Linux 5 and 6. Future kernel updates for Red Hat Enterprise Linux 5 and 6 may address this issue.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:N/I:N/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.53% (0.00530) | 42.74th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.57% (0.00566) | 42.30th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.12% (0.00122) | 28.88th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.05% (0.00046) | 18.15th | v3 (v2023.03.01) |
| May 2, 2024 | 0.05% (0.00046) | 14.84th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00046) | 12.81th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.28% (0.01282) | 68.34th | v2 (v2022.01.01) |
| Feb 22, 2023 | 1.28% (0.01282) | 68.05th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.28% (0.01282) | 65.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.28% (0.01282) | 41.72th | v2 (v2022.01.01) |
References (12)
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=3e10986d1d698140747fcfc2761ec9cb64c1d582 x_refsource_CONFIRM
- http://lists.opensuse.org/opensuse-security-announce/2015-04/msg00000.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2015-04/msg00020.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=bugtraq&m=142722450701342&w=2 vendor-advisoryx_refsource_HP
- http://marc.info/?l=bugtraq&m=142722544401658&w=2 vendor-advisoryx_refsource_HP
- http://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.5.7 x_refsource_CONFIRMVendor Advisory
- http://www.openwall.com/lists/oss-security/2014/09/15/8 mailing-listx_refsource_MLIST
- https://access.redhat.com/security/cve/CVE-2012-6657 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1141742 x_refsource_CONFIRMIssue Tracking
- https://github.com/torvalds/linux/commit/3e10986d1d698140747fcfc2761ec9cb64c1d582 x_refsource_CONFIRMExploit
- https://nvd.nist.gov/vuln/detail/CVE-2012-6657
- https://www.cve.org/CVERecord?id=CVE-2012-6657
Change history (0)
No recorded changes yet.