CVE-2012-6704Linux Kernel
High 7.8
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 27
- Auth required
- Yes
- Published
- Dec 28, 2016
- Updated
- Jun 16, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-119
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | < 3.2.85 |
| linux | linux_kernel | ≥ 3.3 < 3.5 |
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory VDB Entry
- www.securityfocus.com Third Party Advisory VDB Entry
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory