CVE-2016-10088 Use after free in n/a

High 7.0 Published Updated

Local attackers with /dev/sg access can exploit a use-after-free flaw to read/write kernel memory or cause denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2016-10088?

CVE-2016-10088 is a high-severity use after free vulnerability in Linux kernel, published on 30 Dec 2016. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-416

Which versions are affected by CVE-2016-10088?

It affects 1 product.

Linux distribution packages (2)
kgraft-patch-SLE12-SP2_Update_3 SUSE:Linux Enterprise Live Patching 12All versions2-2.1
kgraft-patch-SLE12-SP2_Update_4 SUSE:Linux Enterprise Live Patching 12All versions2-2.1

Products include Linux kernel.

How do I fix CVE-2016-10088?

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-2016-10088 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-10088, GHSA-m9p4-r7pw-hpw3, SUSE-SU-2017:0232-1, SUSE-SU-2017:0307-1, UBUNTU-CVE-2016-10088.

Is CVE-2016-10088 in your software?

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

Check your SBOMs for free