CVE-2012-6657: Medium severity linux kernel vulnerability

Published Sep 24, 2012
·
Updated

It was found that the Linux kernel's networking implementation did not correctly handle the setting of the keepalive socket option on raw sockets. A local user able to create a raw socket could use this flaw to crash the system.

Other sources

Linux kernel built with the Networking support(CONFIGNET) is vulnerable to a crash, while resetting a socket timer. It could occur while doing a setsockopt(SOKEEPALIVE) call.

A privileged user/process able to create RAW socket could use this flaw to crash the system kernel resulting in DoS.

Upstream fix: ------------- -> https://git.kernel.org/linus/3e10986d1d698140747fcfc2761ec9cb64c1d582

Red Hat

The socksetsockopt 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 Software

10 affected componentsFixes available
redhat/kernel<0:2.6.32-504.3.3.el6
0:2.6.32-504.3.3.el6
Linux Linux kernel<=3.5.6
Linux Linux kernel=3.5.1
Linux Linux kernel=3.5.2
Linux Linux kernel=3.5.3
Linux Linux kernel=3.5.4
Linux Linux kernel=3.5.5
Novell Suse Linux Enterprise Server=10.0-sp4
Novell Suse Linux Enterprise Server=11.0-sp1
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Sep 24, 2012
CVE Published
12:00 AM
Sep 15, 2014
Data Sourced
via Red Hat·11:28 AM
DescriptionSeverityAffected Software
Sep 28, 2014
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·09:59 PM
Description
Sep 20, 2024
Data Sourced
via Ubuntu·12:51 AM
RemedyDescriptionSeverityAffected Software
Apr 24, 2025
Data Sourced
via Debian·02:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2012-6657?

CVE-2012-6657 has a medium severity rating due to its potential to allow a local user to crash the system.

2

How do I fix CVE-2012-6657?

To fix CVE-2012-6657, update your kernel to a version higher than 0:2.6.32-504.3.3.el6 or the specific versions for the Linux kernel that include patches.

3

Which systems are affected by CVE-2012-6657?

CVE-2012-6657 affects various Linux kernel versions including those from Red Hat and SUSE enterprise distributions.

4

Can CVE-2012-6657 be exploited remotely?

No, CVE-2012-6657 cannot be exploited remotely as it requires local user access to create raw sockets.

5

What are the potential impacts of CVE-2012-6657?

The potential impact of CVE-2012-6657 includes system crashes due to improper handling of the keepalive socket option.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203