CVE-2015-8962 Use after free in n/a

High 7.3 Published Updated

Local attackers can gain privileges or crash the system via a double free in the Linux kernel SCSI generic driver during device detachment.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2015-8962?

CVE-2015-8962 is a high-severity use after free vulnerability in Linux kernel, published on 16 Nov 2016. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-415

Which versions are affected by CVE-2015-8962?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2015-8962?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2015-8962 being exploited?

There is no known exploitation of CVE-2015-8962 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-8962, GHSA-239p-q346-3xw9, UBUNTU-CVE-2015-8962.

Is CVE-2015-8962 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free