CVE-2018-1095 Null dereference in Linux kernel through version 4.15

Medium 5.5 Published Updated

Attackers can cause a system crash via a crafted ext4 image due to improper validation of extended attribute sizes in the Linux kernel.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-1095?

CVE-2018-1095 is a medium-severity vulnerability in Linux kernel, published on 2 Apr 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

The ext4_xattr_check_entries function in fs/ext4/xattr.c in the Linux kernel through 4.15.15 does not properly validate xattr sizes, which causes misinterpretation of a size as an error code, and consequently allows attackers to cause a denial of service (get_acl NULL pointer dereference and system crash) via a crafted ext4 image.

Weakness: CWE-476

Which versions are affected by CVE-2018-1095?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2018-1095?

Apply the vendor's patch.

Is CVE-2018-1095 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-1095, GHSA-m6f7-q6m8-788v, UBUNTU-CVE-2018-1095.

Is CVE-2018-1095 in your software?

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

Check your SBOMs for free