CVE-2016-10088
Vulnerability Summary
Timeline
Description
The sg implementation in the Linux kernel through 4.9 does not properly restrict write operations in situations where the KERNEL_DS option is set, which allows local users to read or write to arbitrary kernel memory locations or cause a denial of service (use-after-free) by leveraging access to a /dev/sg device, related to block/bsg.c and drivers/scsi/sg.c. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-9576.
CVSS Metrics
- v3.1•HIGH•Score: 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.9AV:L/AC:M/Au:N/C:C/I:C/A:C
EPSS Trends
Current EPSS score: 0.07%• Percentile: 23%
Techniques & Countermeasures
- 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
- linux•linux_kernel
< 3.10.107 | ≥ 3.11, < 3.12.70 | ≥ 3.13, < 3.16.40 | ≥ 3.17, < 3.18.47 | ≥ 3.19, < 4.1.38 | ≥ 4.2, < 4.4.41 | ≥ 4.5, < 4.8.17 | ≥ 4.9, < 4.9.2
References (9)
- http://www.securitytracker.com/id/1037538
- https://access.redhat.com/errata/RHSA-2017:2669
- http://www.securityfocus.com/bid/95169
- http://rhn.redhat.com/errata/RHSA-2017-0817.html
- http://www.openwall.com/lists/oss-security/2016/12/30/1
- https://access.redhat.com/errata/RHSA-2017:2077
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=128394eff343fc6d2f32172f03e24829539c5835
- https://access.redhat.com/errata/RHSA-2017:1842
- https://github.com/torvalds/linux/commit/128394eff343fc6d2f32172f03e24829539c5835