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 with a stream socket, which allows local users to cause a denial....
MediumCVSS 4.9
EPSS 0.53%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Linux KernelUbuntuDebian
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.
Upgrade path
18 packages: 17 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/linux(Debian 12) | < 3.6.4-1 | 3.6.4-1 | Fixed |
| debian/linux(Debian 13) | < 3.6.4-1 | 3.6.4-1 | Fixed |
| debian/linux(Debian 14) | < 3.6.4-1 | 3.6.4-1 | Fixed |
| Linux kernel | <= 3.5.6; = 3.5.1; = 3.5.2; = 3.5.3 +2 more | after 3.5.6 | Fixed |
| ubuntu/linux(Ubuntu 14.04) | < 3.11.0-12.19 | 3.11.0-12.19 | Fixed |
| ubuntu/linux(Ubuntu 16.04) | < 4.2.0-16.19 | 4.2.0-16.19 | Fixed |
| ubuntu/linux-aws(Ubuntu 14.04) | < 4.4.0-1002.2 | 4.4.0-1002.2 | Fixed |
| ubuntu/linux-aws(Ubuntu 16.04) | < 4.4.0-1001.10 | 4.4.0-1001.10 | Fixed |
| ubuntu/linux-gke(Ubuntu 16.04) | < 4.4.0-1003.3 | 4.4.0-1003.3 | Fixed |
| ubuntu/linux-goldfish(Ubuntu 16.04) | < 3.4.0-4.27; = 3.4.0-4.24; = 3.4.0-4.26 | 3.4.0-4.27 | Fixed |
| ubuntu/linux-hwe(Ubuntu 16.04) | < 4.8.0-36.36~16.04.1 | 4.8.0-36.36~16.04.1 | Fixed |
| ubuntu/linux-lts-utopic(Ubuntu 14.04) | < 3.16.0-25.33~14.04.2 | 3.16.0-25.33~14.04.2 | Fixed |
| ubuntu/linux-lts-vivid(Ubuntu 14.04) | < 3.19.0-18.18~14.04.1 | 3.19.0-18.18~14.04.1 | Fixed |
| ubuntu/linux-lts-wily(Ubuntu 14.04) | < 4.2.0-18.22~14.04.1 | 4.2.0-18.22~14.04.1 | Fixed |
| ubuntu/linux-lts-xenial(Ubuntu 14.04) | < 4.4.0-13.29~14.04.1 | 4.4.0-13.29~14.04.1 | Fixed |
| ubuntu/linux-raspi2(Ubuntu 16.04) | < 4.2.0-1013.19 | 4.2.0-1013.19 | Fixed |
| ubuntu/linux-snapdragon(Ubuntu 16.04) | < 4.4.0-1012.12 | 4.4.0-1012.12 | Fixed |
| novell suse linux enterprise server | = 10.0-sp4; = 11.0-sp1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux kernel | <= 3.5.6 | No fix listed |
| Linux kernel | = 3.5.1 | No fix listed |
| Linux kernel | = 3.5.2 | No fix listed |
| Linux kernel | = 3.5.3 | No fix listed |
| Linux kernel | = 3.5.4 | No fix listed |
| Linux kernel | = 3.5.5 | No fix listed |
| novell suse linux enterprise server | = 10.0-sp4 | No fix listed |
| novell suse linux enterprise server | = 11.0-sp1 | No fix listed |
| ubuntu/linux(Ubuntu:14.04) | < 3.11.0-12.19 | 3.11.0-12.19 |
| ubuntu/linux-aws(Ubuntu:14.04) | < 4.4.0-1002.2 | 4.4.0-1002.2 |
| ubuntu/linux-lts-utopic(Ubuntu:14.04) | < 3.16.0-25.33~14.04.2 | 3.16.0-25.33~14.04.2 |
| ubuntu/linux-lts-vivid(Ubuntu:14.04) | < 3.19.0-18.18~14.04.1 | 3.19.0-18.18~14.04.1 |
| ubuntu/linux-lts-wily(Ubuntu:14.04) | < 4.2.0-18.22~14.04.1 | 4.2.0-18.22~14.04.1 |
| ubuntu/linux-lts-xenial(Ubuntu:14.04) | < 4.4.0-13.29~14.04.1 | 4.4.0-13.29~14.04.1 |
| ubuntu/linux(Ubuntu:16.04) | < 4.2.0-16.19 | 4.2.0-16.19 |
| ubuntu/linux-aws(Ubuntu:16.04) | < 4.4.0-1001.10 | 4.4.0-1001.10 |
| ubuntu/linux-gke(Ubuntu:16.04) | < 4.4.0-1003.3 | 4.4.0-1003.3 |
| ubuntu/linux-goldfish(Ubuntu:16.04) | < 3.4.0-4.27 | 3.4.0-4.27 |
| ubuntu/linux-goldfish(Ubuntu:16.04) | = 3.4.0-4.24 | No fix listed |
| ubuntu/linux-goldfish(Ubuntu:16.04) | = 3.4.0-4.26 | No fix listed |
| ubuntu/linux-hwe(Ubuntu:16.04) | < 4.8.0-36.36~16.04.1 | 4.8.0-36.36~16.04.1 |
| ubuntu/linux-raspi2(Ubuntu:16.04) | < 4.2.0-1013.19 | 4.2.0-1013.19 |
| ubuntu/linux-snapdragon(Ubuntu:16.04) | < 4.4.0-1012.12 | 4.4.0-1012.12 |
| debian/linux(Debian:12) | < 3.6.4-1 | 3.6.4-1 |
| debian/linux(Debian:13) | < 3.6.4-1 | 3.6.4-1 |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/linux(Debian:14) | < 3.6.4-1 | 3.6.4-1 |
References
- Debian Security Tracker CVE-2012-6657 vendor-advisory
- git.kernel.org
- SUSE-SU-2015:0652 vendor-advisory
- SUSE-SU-2015:0812 vendor-advisory
- HPSBGN03285 vendor-advisory
- HPSBGN03282 vendor-advisory
- www.kernel.org vendor-advisory
- [oss-security] 20140915 Re: CVE request Linux kernel: net: guard tcp_set_keepalive against crash mailing-list
- bugzilla.redhat.com
- github.com exploit
- ubuntu.com issue-tracking
- git.kernel.org issue-tracking
- ubuntu.com vendor-advisory
- ubuntu.com vendor-advisory
- ubuntu.com vendor-advisory
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking