CVE-2018-10879 Use after free in kernel

Medium 4.2 Published Updated

A local attacker can trigger a use-after-free in the ext4 filesystem by renaming a file in a crafted image, causing denial of service or other impacts.

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

What is CVE-2018-10879?

CVE-2018-10879 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, with no action from the victim.

Official description

A flaw was found in the Linux kernel's ext4 filesystem. A local user can cause a use-after-free in ext4_xattr_set_entry function and a denial of service or unspecified other impact may occur by renaming a file in a crafted ext4 filesystem image.

Weakness: CWE-416

Which versions are affected by CVE-2018-10879?

It affects 7 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server and 1 more.

How do I fix CVE-2018-10879?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-10879, GHSA-hwv5-xg68-86fh, UBUNTU-CVE-2018-10879.

Is CVE-2018-10879 in your software?

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

Check your SBOMs for free