CVE-2018-1118: Infoleak

Published May 2, 2018
·
Updated

Last updated 4 July 2026

Other sources

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:vhostnewmsg() function. This can allow local privileged users to read some kernel memory contents when reading from the /dev/vhost-net device file.

Launchpad

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

References:

https://lkml.org/lkml/2018/4/27/833

https://marc.info/?t=152484394400005&r=1&w=2 (and the next pages)

Red Hat

Affected Software

10 affected componentsFixes available
redhat/Kernel<6.4
6.4
Linux Linux kernel>=4.8<4.18
Debian Debian Linux=8.0
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
redhat Virtualization Host=4.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
debian/linux
5.10.223-15.10.262-16.1.176-16.1.180-16.12.94-16.12.101-17.1.8-17.1.8-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/Kernel to a version that resolves this vulnerability.

    Fixed in 6.4
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.8-1Fixed in 7.1.8-2
  3. Upgrade

    Upgrade Linux kernel (vhost/vhost.c) to a version that resolves this vulnerability.

    Fixed in 4.8
  4. Compensating control

    Mitigate by preventing untrusted/local privileged users from accessing the /dev/vhost-net device file (e.g., restrict device-node permissions/ACLs or otherwise limit access to vhost-net).

Event History

May 10, 2018
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:29 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·10:47 PM
Description
Jul 4, 2026
Data Sourced
via Ubuntu·11:19 AM
RemedyDescriptionSeverityAffected Software
Aug 16, 2026
Data Sourced
via Debian·12:26 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this Linux kernel vulnerability?

The vulnerability ID for this Linux kernel vulnerability is CVE-2018-1118.

2

What is the severity of CVE-2018-1118?

CVE-2018-1118 has a severity level of low.

3

Which versions of Linux kernel are affected by CVE-2018-1118?

Linux kernel versions 4.8 and above are affected by CVE-2018-1118.

4

How can local privileged users exploit CVE-2018-1118?

Local privileged users can exploit CVE-2018-1118 to read kernel memory contents when reading from the /dev/vhost-n device.

5

Where can I find more information about CVE-2018-1118?

You can find more information about CVE-2018-1118 at the following references: [RHSA-2018:2948](https://access.redhat.com/errata/RHSA-2018:2948), [RHSA-2018:3083](https://access.redhat.com/errata/RHSA-2018:3083), [RHSA-2018:3096](https://access.redhat.com/errata/RHSA-2018:3096).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203