Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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
ProductAffected versionsFixed in
debian/linux(Debian:14) < 3.6.4-1 3.6.4-1

References