CVE-2018-16880 Memory corruption in kernel

Medium 5.9 Published Updated

A malicious virtual guest can trigger an out-of-bounds write in the Linux kernel vhost_net driver, causing system panic and potential privilege escalation.

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

CVE-2018-16880 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 29 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's handle_rx() function in the [vhost_net] driver. A malicious virtual guest, under specific conditions, can trigger an out-of-bounds write in a kmalloc-8 slab on a virtual host which may lead to a kernel memory corruption and a system panic. Due to the nature of the flaw, privilege escalation cannot be fully ruled out. Versions from v4.16 and newer are vulnerable.

Weakness: CWE-787

Which versions are affected by CVE-2018-16880?

It affects 2 products.

Products include Canonical Ubuntu Linux, Linux kernel.

How do I fix CVE-2018-16880?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as AZL-6518, DEBIAN-CVE-2018-16880, GHSA-x3fm-32v3-x7hm, UBUNTU-CVE-2018-16880.

Is CVE-2018-16880 in your software?

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

Check your SBOMs for free