Skip to content
OpenAdvisories
Unscored CVE-2012-6704 EUVD-2012-6546GHSA-xqxm-8fx9-rwr3

The sock_setsockopt function in net/core/sock.c in the Linux kernel before 3.5 mishandles negative values of sk_sndbuf and sk_rcvbuf, which…

Published Dec 28, 2016 · Updated Aug 6, 2024 · Assigned by mitre

Description

The sock_setsockopt function in net/core/sock.c in the Linux kernel before 3.5 mishandles negative values of sk_sndbuf and sk_rcvbuf, which allows local users to cause a denial of service (memory corruption and system crash) or possibly have unspecified other impact by leveraging the CAP_NET_ADMIN capability for a crafted setsockopt system call with the (1) SO_SNDBUF or (2) SO_RCVBUF option.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 3.8.11-1 —
Debian 13 linux 3.8.11-1 —
Debian 12 linux 3.8.11-1 —
Debian 7 linux 3.2.84-1 DLA-772-1
ReleasePackageFixed inAdvisory
SLES 11 SP4 kernel-docs 3.0.101-94.2 SUSE-SU-2017:0437-1
SLES 11 SP4 kernel-ec2 +8 3.0.101-94.1 SUSE-SU-2017:0437-1
SLES 11 SP3 kernel-ec2 +7 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1
SLES 11 SP2 kernel-ec2 +6 3.0.101-0.7.53.1 SUSE-SU-2017:0333-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 11 SP4 kernel-ec2 +8 3.0.101-94.1 SUSE-SU-2017:0437-1
SLE Real Time 11 SP4 kernel-rt +3 3.0.101.rt130-68.1 SUSE-SU-2017:1102-1
SUSE OpenStack Cloud 5 kernel-ec2 +6 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1
SUSE Manager Proxy 2.1 kernel-ec2 +6 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1
SUSE Manager 2.1 kernel-ec2 +6 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1
SUSE Linux Enterprise Point of Sale 11 SP3 kernel-ec2 +6 3.0.101-0.47.96.1 SUSE-SU-2017:0494-1

Advisories 5

References