CVE-2018-10876 Use after free in kernel

Medium 5.0 Published Updated

A use-after-free in the Linux kernel ext4 filesystem allows attackers to execute code or escalate privileges via a crafted image.

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-2018-10876?

CVE-2018-10876 is a medium-severity use after free vulnerability in Canonical Ubuntu Linux, published on 26 Jul 2018. 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

A flaw was found in Linux kernel in the ext4 filesystem code. A use-after-free is possible in ext4_ext_remove_space() function when mounting and operating a crafted ext4 image.

Weakness: CWE-416

Which versions are affected by CVE-2018-10876?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel.

How do I fix CVE-2018-10876?

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-2018-10876 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-10876, GHSA-jw6w-m4jf-m6xp, UBUNTU-CVE-2018-10876.

Is CVE-2018-10876 in your software?

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

Check your SBOMs for free