---
title: "CVE-2018-1118\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-1118?format=md
keywords: index, follow
---

# CVE-2018-1118

Publication date 10 May 2018

Last updated 4 July 2026

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2018-1118?format=md#impact-score)

Toggle side navigation

## Description

Linux kernel vhost since version 4.8 does not properly initialize memory in
messages passed between virtual guests and the host operating system in the
vhost/vhost.c:vhost\_new\_msg() function. This can allow local privileged
users to read some kernel memory contents when reading from the
/dev/vhost-net device file.

### From the Ubuntu Security Team

It was discovered that the VirtIO subsystem in the Linux kernel did not
properly initialize memory in some situations. A local attacker could use
this to possibly expose sensitive information (kernel memory).

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| linux | 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Fixed 4.15.0-34.37 |
| 17.10 artful | Ignored end of life |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |
| linux-aws | 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Fixed 4.15.0-1021.21 |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |
| linux-azure | 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Fixed 4.15.0-1023.24 |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Fixed 4.15.0-1023.24~16.04.1 |
| 14.04 LTS trusty | Not affected |
| linux-azure-edge | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Fixed 4.15.0-1023.24 |
| 14.04 LTS trusty | Not in release |
| linux-euclid | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| linux-flo | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| linux-gcp | 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Fixed 4.15.0-1019.20 |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Fixed 4.15.0-1019.20~16.04.1 |
| 14.04 LTS trusty | Not in release |
| linux-gke | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Ignored end of standard support, was needs-triage |
| 14.04 LTS trusty | Not in release |
| linux-goldfish | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| linux-grouper | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| linux-hwe | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not affected |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Fixed 4.15.0-34.37~16.04.1 |
| 14.04 LTS trusty | Not in release |
| linux-hwe-edge | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not affected |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Fixed 4.15.0-34.37~16.04.1 |
| 14.04 LTS trusty | Not in release |
| linux-kvm | 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Fixed 4.15.0-1021.21 |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |
| linux-lts-trusty | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| linux-lts-utopic | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| linux-lts-vivid | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| linux-lts-wily | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| linux-lts-xenial | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not affected |
| linux-maguro | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| linux-mako | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| linux-manta | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not in release |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Not in release |
| 14.04 LTS trusty | Not in release |
| linux-oem | 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Fixed 4.15.0-1018.21 |
| 17.10 artful | Not in release |
| 16.04 LTS xenial | Ignored end of standard support, was needed |
| 14.04 LTS trusty | Not in release |
| linux-raspi2 | 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Fixed 4.15.0-1022.24 |
| 17.10 artful | Ignored end of life |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |
| linux-snapdragon | 18.10 cosmic | Not in release |
| 18.04 LTS bionic | Not affected |
| 17.10 artful | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2018-1118?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| linux | * Introduced by   [6b1e6cc](https://git.kernel.org/linus/6b1e6cc7855b09a0a9bfa1d9f30172ba366f161c),   fixed by   [670ae9c](https://git.kernel.org/linus/670ae9caaca467ea1bfd325cb2a5c98ba87f94ad) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1118)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-1118)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-1118)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-1118)

### Related Ubuntu Security Notices (USN)

+ [USN-3762-2](https://usn.ubuntu.com/USN-3762-2)
+ Linux kernel (HWE) vulnerabilities
+ 11 September 2018

+ [USN-3762-1](https://usn.ubuntu.com/USN-3762-1)
+ Linux kernel vulnerabilities
+ 11 September 2018

### Other references

* <https://lkml.org/lkml/2018/4/27/833>
* <https://lkml.org/lkml/2018/5/29/1324>
* <https://www.cve.org/CVERecord?id=CVE-2018-1118>
