CVE-2012-6704
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Linux kernel Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | 3.2.85 |
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 3.8.11-1 |
| sid | Fixed | 3.8.11-1 |
| forky | Fixed | 3.8.11-1 |
| bullseye | Fixed | 3.8.11-1 |
| bookworm | Fixed | 3.8.11-1 |
References
- https://www.suse.com/security/cve/CVE-2012-6704.html
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b
- http://www.openwall.com/lists/oss-security/2016/12/03/1
- http://www.securityfocus.com/bid/95135
- https://bugzilla.redhat.com/show_bug.cgi?id=1402024
- https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b
- https://security-tracker.debian.org/tracker/CVE-2012-6704
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.