Out-of-bounds write in Linux kernel - CVE-2018-16880

 

Out-of-bounds write in Linux kernel - CVE-2018-16880

Published: January 29, 2019 / Updated: May 30, 2020


Vulnerability identifier: #VU17253
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-16880
CWE-ID: CWE-787
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an adjacent attacker to perform a denial of service (DoS) attack or execute arbitrary code.

The vulnerability exists due to out-of-bounds write in a kmalloc-8 slab on a virtual host when handling_rx() function in the [vhost_net] driver. An adjacent attacker can trigger a kernel memory corruption and cause a system panic or execute arbitrary code with elevated privileges.


Affected software

Linux kernel
Fedora
kernel
kernel-headers
kernel-tools

How to mitigate CVE-2018-16880

Install updates from vendor's website.

Linux kernel - addressed in versions 4.19.20, 4.20.7
kernel - addressed in versions 4.20.5-100.fc28, 4.20.5-200.fc29
kernel-headers - addressed in versions 4.20.5-100.fc28, 4.20.5-200.fc29
kernel-tools - addressed in versions 4.20.5-100.fc28, 4.20.5-200.fc29

External References

Related Security Bulletins