DEBIAN-CVE-2012-6704
Record from OSV · 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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux | Debian:13 | 3.8.11-1 |
| linux | Debian:14 | 3.8.11-1 |
| linux | Debian:12 | 3.8.11-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:13 | linux | 0 |
| Debian:14 | linux | 0 |
| Debian:12 | linux | 0 |
Timeline
- Dec 28, 2016 CVE Published
- Oct 23, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2012-6704
vulnetix vdb fixes DEBIAN-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/DEBIAN-CVE-2012-6704/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart