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

High 7.8 Published Updated

Local attackers with /dev/sg access can exploit a use-after-free in the Linux kernel to read/write arbitrary 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-9576?

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

Official description

The blk_rq_map_user_iov function in block/blk-map.c in the Linux kernel before 4.8.14 does not properly restrict the type of iterator, 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.

Weakness: CWE-416

Which versions are affected by CVE-2016-9576?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2016-9576?

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-9576 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-9576, GHSA-q25h-fm3c-jgp6, UBUNTU-CVE-2016-9576.

Is CVE-2016-9576 in your software?

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

Check your SBOMs for free