CVE-2018-13095 Memory corruption in n/a

Medium 5.5 Published Updated

A local attacker can cause a denial of service via memory corruption in the Linux kernel XFS filesystem by mounting a corrupted image.

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-13095?

CVE-2018-13095 is a medium-severity memory corruption vulnerability in Linux kernel, published on 3 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

An issue was discovered in fs/xfs/libxfs/xfs_inode_buf.c in the Linux kernel through 4.17.3. A denial of service (memory corruption and BUG) can occur for a corrupted xfs image upon encountering an inode that is in extent format, but has more extents than fit in the inode fork.

Weakness: CWE-787

Which versions are affected by CVE-2018-13095?

It affects 1 product.

Linux distribution packages (20)
kernel Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-abi-whitelists Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-alt Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-bootwrapper Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-debug Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-debug-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-debug-devel Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-debuginfo-common-ppc64le Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-devel Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-doc Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-headers Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-tools Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-tools-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-tools-libs Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
kernel-tools-libs-devel Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
perf Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
perf-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
python-perf Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a
python-perf-debuginfo Red Hat:enterprise_linux:7::serverAll versions0:4.14.0-115.8.1.el7a

Products include Linux kernel.

How do I fix CVE-2018-13095?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-13095 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-13095, GHSA-7f86-4f2r-mc5f, RHSA-2019:1350, UBUNTU-CVE-2018-13095.

Is CVE-2018-13095 in your software?

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

Check your SBOMs for free