What’s Vulnerable › Vulnerabilities
CVE-2015-8962
- Severity: high (CVSS 7.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2016-11-16 · updated 2026-06-17
- Weakness: CWE-415
Description
Double free vulnerability in the sg_common_write function in drivers/scsi/sg.c in the Linux kernel before 4.4 allows local users to gain privileges or cause a denial of service (memory corruption and system crash) by detaching a device during an SG_IO ioctl call.
Affected products
- Linux kernel: before 3.2.85; from 3.3 before 3.10.107; from 3.12 before 3.12.70; from 3.13 before 3.16.40; from 3.17 before 3.18.54; from 3.19 before 4.4 — fixed in 3.10.107, 3.12.70, 3.16.40, 3.18.54, 3.2.85, 4.4
How to fix
Upgrade to a fixed version: Linux kernel 3.10.107, 3.12.70, 3.16.40, 3.18.54. Check the vendor advisory for mitigations.
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f3951a3709ff50990bf3e188c27d346792103432
- http://www.securityfocus.com/bid/94187
- https://github.com/torvalds/linux/commit/f3951a3709ff50990bf3e188c27d346792103432
- https://source.android.com/security/bulletin/2016-11-01.html
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f3951a3709ff50990bf3e188c27d346792103432
- http://www.securityfocus.com/bid/94187
- https://github.com/torvalds/linux/commit/f3951a3709ff50990bf3e188c27d346792103432
- https://source.android.com/security/bulletin/2016-11-01.html
Get alerted when CVE-2015-8962 or the next vulnerability affects your stack