CVE-2016-8655
Vulnerability Summary
Timeline
Description
Race condition in net/packet/af_packet.c in the Linux kernel through 4.8.12 allows local users to gain privileges or cause a denial of service (use-after-free) by leveraging the CAP_NET_RAW capability to change a socket version, related to the packet_set_ring and packet_setsockopt functions.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.2AV:L/AC:L/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 47.36%• Percentile: 98%
Techniques & Countermeasures
- CWE-362•Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- canonical•ubuntu_linux
12.04 | 14.04 | 16.04 | 16.10
- linux•linux_kernel
≥ 3.2, < 3.2.85 | ≥ 3.3, < 3.10.106 | ≥ 3.11, < 3.12.69 | ≥ 3.13, < 3.16.40 | ≥ 3.17, < 3.18.46 | ≥ 3.19, < 4.1.37 | ≥ 4.2, < 4.4.38 | ≥ 4.5, < 4.8.14
References (34)
- http://www.ubuntu.com/usn/USN-3151-3
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00044.html
- https://github.com/torvalds/linux/commit/84ac7260236a49c79eede91617700174c2c19b0c
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00077.html
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00067.html
- http://www.ubuntu.com/usn/USN-3150-2
- http://www.ubuntu.com/usn/USN-3149-2
- http://www.securityfocus.com/bid/94692
- http://www.securitytracker.com/id/1037968
- http://www.ubuntu.com/usn/USN-3150-1
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00056.html
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00073.html
- http://rhn.redhat.com/errata/RHSA-2017-0402.html
- http://www.ubuntu.com/usn/USN-3151-1
- http://rhn.redhat.com/errata/RHSA-2017-0387.html
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=84ac7260236a49c79eede91617700174c2c19b0c
- https://www.exploit-db.com/exploits/40871/
- http://www.ubuntu.com/usn/USN-3149-1
- https://bugzilla.redhat.com/show_bug.cgi?id=1400019
- https://www.exploit-db.com/exploits/44696/
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00087.html
- http://www.ubuntu.com/usn/USN-3151-2
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00070.html
- http://packetstormsecurity.com/files/140063/Linux-Kernel-4.4.0-AF_PACKET-Race-Condition-Privilege-Escalation.html
- http://www.openwall.com/lists/oss-security/2016/12/06/1
- http://www.ubuntu.com/usn/USN-3152-1
- http://www.ubuntu.com/usn/USN-3152-2
- http://rhn.redhat.com/errata/RHSA-2017-0386.html
- http://www.securitytracker.com/id/1037403
- http://www.ubuntu.com/usn/USN-3151-4
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00055.html
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00054.html
- https://source.android.com/security/bulletin/2017-03-01.html
- http://lists.opensuse.org/opensuse-security-announce/2016-12/msg00076.html