CVE-2018-16885 Memory corruption in kernel

Medium 4.7 Published Updated

A local attacker can trigger a system halt by exploiting a memory access fault in the Linux kernel's iovec handling functions.

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

What is CVE-2018-16885?

CVE-2018-16885 is a medium-severity memory corruption vulnerability in Linux kernel, published on 3 Jan 2019. 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 that allows the userspace to call memcpy_fromiovecend() and similar functions with a zero offset and buffer length which causes the read beyond the buffer boundaries, in certain cases causing a memory access fault and a system halt by accessing invalid memory address. This issue only affects kernel version 3.10.x as shipped with Red Hat Enterprise Linux 7.

Weakness: CWE-125

Which versions are affected by CVE-2018-16885?

It affects 2 products.

Products include Linux kernel, Redhat Enterprise Linux Server.

How do I fix CVE-2018-16885?

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

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

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-16885, GHSA-cvhh-gmhx-mhv4.

Is CVE-2018-16885 in your software?

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

Check your SBOMs for free