VDB

CVE-2012-6704

CVE-2012-6704 PUBLISHED

Reported by mitre · Published December 28, 2016

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 versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux-snapdragonUbuntu:16.04:LTS4.4.0-1012.12
linux-awsUbuntu:16.04:LTS4.4.0-1001.10
linux-raspi2Ubuntu:16.04:LTS4.2.0-1013.19
linux-lts-xenialUbuntu:14.04:LTS4.4.0-13.29~14.04.1
linux-awsUbuntu:14.04:LTS4.4.0-1002.2
linuxUbuntu:14.04:LTS3.11.0-12.19

Affected products

VendorProductVersions
n/an/an/a
n/an/a*

Timeline

  • Dec 28, 2016 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • May 6, 2026 CVE Updated
  • Jun 2, 2026 Security Advisory
  • Oct 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2012-6704
vulnetix vdb fixes CVE-2012-6704

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2012-6704/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›