CVE Vulnerabilities

CVE-2015-8962

Double Free

Published: Nov 16, 2016 | Modified: Jan 19, 2023
CVSS 3.x
7.3
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
9.3 HIGH
AV:N/AC:M/Au:N/C:C/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Linux_kernel Linux 3.13 *
Linux_kernel Linux * *
Linux_kernel Linux 3.3 *
Linux_kernel Linux 3.12 *
Linux_kernel Linux 3.17 *
Linux_kernel Linux 3.19 *

Potential Mitigations

References