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.
http://www.securityfocus.com/bid/94187
https://github.com/torvalds/linux/commit/f3951a3709ff50990bf3e188c27d346792103432
https://source.android.com/security/bulletin/2016-11-01.html
Source: MITRE
Published: 2016-11-16
Updated: 2017-01-18
Type: CWE-415
Base Score: 9.3
Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C
Impact Score: 10
Exploitability Score: 8.6
Severity: HIGH
Base Score: 7.3
Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Impact Score: 5.9
Exploitability Score: 1.3
Severity: HIGH