What’s Vulnerable › Vulnerabilities
CVE-2016-10088
- Severity: high (CVSS 7.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2016-12-30 · updated 2026-06-17
- Weakness: CWE-416
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.
Affected products
- Linux kernel: before 3.10.107; from 3.11 before 3.12.70; from 3.13 before 3.16.40; from 3.17 before 3.18.47; from 3.19 before 4.1.38; from 4.2 before 4.4.41 — fixed in 3.10.107, 3.12.70, 3.16.40, 3.18.47, 4.1.38, 4.4.41
How to fix
Upgrade to a fixed version: Linux kernel 3.10.107, 3.12.70, 3.16.40, 3.18.47. Check the vendor advisory for mitigations.
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=128394eff343fc6d2f32172f03e24829539c5835
- http://rhn.redhat.com/errata/RHSA-2017-0817.html
- http://www.openwall.com/lists/oss-security/2016/12/30/1
- http://www.securityfocus.com/bid/95169
- http://www.securitytracker.com/id/1037538
- https://access.redhat.com/errata/RHSA-2017:1842
- https://access.redhat.com/errata/RHSA-2017:2077
- https://access.redhat.com/errata/RHSA-2017:2669
- https://github.com/torvalds/linux/commit/128394eff343fc6d2f32172f03e24829539c5835
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=128394eff343fc6d2f32172f03e24829539c5835
- http://rhn.redhat.com/errata/RHSA-2017-0817.html
- http://www.openwall.com/lists/oss-security/2016/12/30/1
Get alerted when CVE-2016-10088 or the next vulnerability affects your stack