CVE-2018-11412 Use after free in n/a

Medium 5.9 Published Updated

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

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-11412?

CVE-2018-11412 is a medium-severity use after free vulnerability in Canonical Ubuntu Linux, published on 24 May 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In the Linux kernel 4.13 through 4.16.11, ext4_read_inline_data() in fs/ext4/inline.c performs a memcpy with an untrusted length value in certain circumstances involving a crafted filesystem that stores the system.data extended attribute value in a dedicated inode.

Weakness: CWE-416

Which versions are affected by CVE-2018-11412?

It affects 2 products.

Products include Canonical Ubuntu Linux, Linux kernel.

How do I fix CVE-2018-11412?

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

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

Public exploit code: 1 Exploit-DB entry.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-11412, GHSA-p2xr-7hvv-jq75, UBUNTU-CVE-2018-11412.

Is CVE-2018-11412 in your software?

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

Check your SBOMs for free