CVE-2017-7308
Vulnerability Summary
Timeline
Description
The packet_set_ring function in net/packet/af_packet.c in the Linux kernel through 4.10.6 does not properly validate certain block-size data, which allows local users to cause a denial of service (integer signedness error and out-of-bounds write), or gain privileges (if the CAP_NET_RAW capability is held), via crafted system calls.
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: 87.00%• Percentile: 99%
Techniques & Countermeasures
- CWE-681•Incorrect Conversion between Numeric Types
When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- linux•linux_kernel
≥ 2.6.27, < 3.2.89 | ≥ 3.3, < 3.10.107 | ≥ 3.11, < 3.12.74 | ≥ 3.13, < 3.16.44 | ≥ 3.17, < 3.18.52 | ≥ 3.19, < 4.1.41 | ≥ 4.2, < 4.4.66 | ≥ 4.5, < 4.9.26 | ≥ 4.10, < 4.10.14
References (12)
- https://access.redhat.com/errata/RHSA-2017:1308
- https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html
- https://source.android.com/security/bulletin/2017-07-01
- https://access.redhat.com/errata/RHSA-2018:1854
- http://www.securityfocus.com/bid/97234
- https://patchwork.ozlabs.org/patch/744812/
- https://www.exploit-db.com/exploits/41994/
- https://patchwork.ozlabs.org/patch/744813/
- https://www.exploit-db.com/exploits/44654/
- https://patchwork.ozlabs.org/patch/744811/
- https://access.redhat.com/errata/RHSA-2017:1298
- https://access.redhat.com/errata/RHSA-2017:1297