CVE-2012-6704

kernel: Signed overflows in SO_{SND|RCV}BUF in sock_setsockopt()

Published Dec 28, 2016 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-772-1 linux security update
EUVD EUVD EUVD-2012-6546 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 9:36 PM
Reserved
Dec 2, 2016, 12:00 AM
Status
Modified
Published
Dec 28, 2016, 7:59 AM
Modified
Jun 16, 2026, 11:48 PM
Severity
Moderate
Public date
Apr 26, 2012, 12:00 AM