CVE-2012-6704
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.41%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.41% probability · 35th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-119
- Affected
- linux/linux kernel
- Source
- cve@mitre.org
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002bPatch, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2016/12/03/1Mailing List, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/95135Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1402024Issue Tracking, Third Party Advisory
- https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002bPatch, Third Party Advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002bPatch, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2016/12/03/1Mailing List, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/95135Third Party Advisory, VDB Entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1402024Issue Tracking, Third Party Advisory
- https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002bPatch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.