Cloudanix VulnDB

CVE-2017-17741

Medium · 6.5

CVSS

6.5

EPSS

0.5%

Published

Dec 18, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in the Linux kernel used for virtual machines could let someone already on the computer read private internal data that should stay hidden.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Data Exposure
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

The flaw permits a local attacker to perform a stack-based out-of-bounds read via write_mmio handling in the KVM x86 MMIO path, exposing kernel memory contents.

Why it matters to the business

Attackers with local access on affected virtualization hosts can extract sensitive kernel data, raising the risk of credential theft or further system compromise on Linux-based hypervisors.

How an attack unfolds

An attacker with local shell access on a KVM host issues crafted MMIO write operations that trigger the out-of-bounds read in arch/x86/kvm/x86.c, allowing direct inspection of stack-resident kernel memory.

How to fix it

Upgrade the Linux kernel to a version containing the fix for the KVM write_mmio out-of-bounds read (post-4.14.7) and reboot affected hosts.

How to confirm the fix worked

Confirm running kernel version exceeds 4.14.7, review KVM-related source changes for the MMIO bounds check, and verify no anomalous memory reads occur under test workloads.

Typical attack path

  1. Obtain local unprivileged access on a KVM host
  2. Interact with KVM virtual machine MMIO interfaces
  3. Trigger write_mmio path to cause stack out-of-bounds read
  4. Read leaked kernel memory for sensitive information

How to detect it

Examine kernel logs and audit trails for unusual KVM MMIO activity or repeated access attempts to virtualization device interfaces; correlate with process execution on hosts running older kernels.

What your security team should do

  • Apply kernel updates to all virtualization hosts without delay
  • Restrict local access to hypervisor systems using least privilege
  • Audit KVM guest configurations for unnecessary MMIO exposure

The record

The KVM implementation in the Linux kernel through 4.14.7 allows attackers to obtain potentially sensitive information from kernel memory, aka a write_mmio stack-based out-of-bounds read, related to arch/x86/kvm/x86.c and include/trace/events/kvm.h.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 4.14.7-1
Debian:12 linux 0 4.14.7-1
Debian:13 linux 0 4.14.7-1
Debian:7 linux 0 3.2.96-3
Debian:8 linux 0 3.16.51-3+deb8u1
Debian:9 linux 0 4.9.65-3+deb9u1
Mageia:5 dracut 0 038-21.2.mga5
Mageia:5 kernel 0 4.4.111-1.mga5
Mageia:5 kernel-tmb 0 4.4.111-1.mga5
Mageia:5 kernel-userspace-headers 0 4.4.111-1.mga5
Mageia:5 kmod-vboxadditions 0 5.1.30-4.mga5
Mageia:5 kmod-virtualbox 0 5.1.30-4.mga5
Mageia:5 kmod-xtables-addons 0 2.10-52.mga5
Mageia:6 dracut 0 044-11.1.mga6
Mageia:6 kernel 0 4.14.10-1.mga6
Mageia:6 kernel 0 4.14.13-1.mga6
Mageia:6 kernel-linus 0 4.14.18-1.mga6
Mageia:6 kernel-tmb 0 4.14.10-1.mga6
Mageia:6 kernel-tmb 0 4.14.13-1.mga6
Mageia:6 kernel-userspace-headers 0 4.14.10-1.mga6
Mageia:6 kernel-userspace-headers 0 4.14.13-1.mga6
Mageia:6 kmod-vboxadditions 0 5.2.2-5.mga6
Mageia:6 kmod-vboxadditions 0 5.2.2-7.mga6
Mageia:6 kmod-virtualbox 0 5.2.2-5.mga6
Mageia:6 kmod-virtualbox 0 5.2.2-7.mga6
Mageia:6 kmod-xtables-addons 0 2.13-8.mga6
Mageia:6 kmod-xtables-addons 0 2.13-10.mga6
Mageia:6 wireguard-tools 0 0.0.20171221-1.mga6
SUSE:Enterprise Storage 4 kernel-default 0 4.4.121-92.109.2
SUSE:Enterprise Storage 4 kernel-source 0 4.4.121-92.109.2
SUSE:Enterprise Storage 4 kernel-syms 0 4.4.121-92.109.2
SUSE:Enterprise Storage 4 kgraft-patch-SLE12-SP2_Update_29 0 1-3.5.2
SUSE:Linux Enterprise Desktop 12 SP3 kernel-default 0 4.4.138-94.39.1
SUSE:Linux Enterprise Desktop 12 SP3 kernel-source 0 4.4.138-94.39.1
SUSE:Linux Enterprise Desktop 12 SP3 kernel-syms 0 4.4.138-94.39.1
SUSE:Linux Enterprise High Availability Extension 11 SP4 cluster-network 0 1.4-2.32.4.6
SUSE:Linux Enterprise High Availability Extension 11 SP4 drbd 0 8.4.4-0.27.4.2
SUSE:Linux Enterprise High Availability Extension 11 SP4 drbd-kmp 0 8.4.4-0.27.4.6
SUSE:Linux Enterprise High Availability Extension 11 SP4 gfs2 0 2-0.24.4.6
SUSE:Linux Enterprise High Availability Extension 11 SP4 ocfs2 0 1.6-0.28.5.6
SUSE:Linux Enterprise High Availability Extension 12 SP2 kernel-default 0 4.4.121-92.109.2
SUSE:Linux Enterprise High Availability Extension 12 SP3 kernel-default 0 4.4.138-94.39.1
SUSE:Linux Enterprise Live Patching 12 SP3 kgraft-patch-SLE12-SP3_Update_14 0 1-4.5.1
SUSE:Linux Enterprise Module for Public Cloud 12 kernel-ec2 0 3.12.61-52.119.1
SUSE:Linux Enterprise Module for Public Cloud 12 kernel-ec2 0 3.12.74-60.64.82.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-default 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-ec2 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-pae 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-source 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-syms 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-trace 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Point of Sale 11 SP3 kernel-xen 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Real Time 11 SP4 cluster-network 0 1.4-2.32.4.6
SUSE:Linux Enterprise Real Time 11 SP4 drbd-kmp 0 8.4.4-0.27.4.6
SUSE:Linux Enterprise Real Time 11 SP4 gfs2 0 2-0.24.4.6
SUSE:Linux Enterprise Real Time 11 SP4 kernel-rt 0 3.0.101.rt130-69.21.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-rt_trace 0 3.0.101.rt130-69.21.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-source-rt 0 3.0.101.rt130-69.21.1
SUSE:Linux Enterprise Real Time 11 SP4 kernel-syms-rt 0 3.0.101.rt130-69.21.1
SUSE:Linux Enterprise Real Time 11 SP4 ocfs2 0 1.6-0.28.5.6
SUSE:Linux Enterprise Real Time 12 SP3 kernel-rt 0 4.4.138-3.14.1
SUSE:Linux Enterprise Real Time 12 SP3 kernel-rt_debug 0 4.4.138-3.14.1
SUSE:Linux Enterprise Real Time 12 SP3 kernel-source-rt 0 4.4.138-3.14.1
SUSE:Linux Enterprise Real Time 12 SP3 kernel-syms-rt 0 4.4.138-3.14.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-bigsmp 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-default 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-ec2 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-pae 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-source 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-syms 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-trace 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kernel-xen 0 3.0.101-0.47.106.19.1
SUSE:Linux Enterprise Server 11 SP4 kernel-bigmem 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server 11 SP4 kernel-default 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server 11 SP4 kernel-ec2 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server 11 SP4 kernel-pae 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server 11 SP4 kernel-ppc64 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server 11 SP4 kernel-source 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server 11 SP4 kernel-syms 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server 11 SP4 kernel-trace 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server 11 SP4 kernel-xen 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kernel-default 0 3.12.74-60.64.82.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kernel-source 0 3.12.74-60.64.82.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kernel-syms 0 3.12.74-60.64.82.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kernel-xen 0 3.12.74-60.64.82.1
SUSE:Linux Enterprise Server 12 SP1-LTSS kgraft-patch-SLE12-SP1_Update_25 0 1-2.9.1
SUSE:Linux Enterprise Server 12 SP2-BCL kernel-default 0 4.4.121-92.109.2
SUSE:Linux Enterprise Server 12 SP2-BCL kernel-source 0 4.4.121-92.109.2
SUSE:Linux Enterprise Server 12 SP2-BCL kernel-syms 0 4.4.121-92.109.2
SUSE:Linux Enterprise Server 12 SP2-LTSS kernel-default 0 4.4.121-92.109.2
SUSE:Linux Enterprise Server 12 SP2-LTSS kernel-source 0 4.4.121-92.109.2
SUSE:Linux Enterprise Server 12 SP2-LTSS kernel-syms 0 4.4.121-92.109.2
SUSE:Linux Enterprise Server 12 SP2-LTSS kgraft-patch-SLE12-SP2_Update_29 0 1-3.5.2
SUSE:Linux Enterprise Server 12 SP3 kernel-default 0 4.4.138-94.39.1
SUSE:Linux Enterprise Server 12 SP3 kernel-source 0 4.4.138-94.39.1
SUSE:Linux Enterprise Server 12 SP3 kernel-syms 0 4.4.138-94.39.1
SUSE:Linux Enterprise Server 12-LTSS kernel-default 0 3.12.61-52.119.1
SUSE:Linux Enterprise Server 12-LTSS kernel-source 0 3.12.61-52.119.1
SUSE:Linux Enterprise Server 12-LTSS kernel-syms 0 3.12.61-52.119.1
SUSE:Linux Enterprise Server 12-LTSS kernel-xen 0 3.12.61-52.119.1
SUSE:Linux Enterprise Server 12-LTSS kgraft-patch-SLE12_Update_31 0 1-1.7.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-bigmem 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-default 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-ec2 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-pae 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-ppc64 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-source 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-syms 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-trace 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kernel-xen 0 3.0.101-108.35.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-default 0 3.12.74-60.64.82.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-source 0 3.12.74-60.64.82.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-syms 0 3.12.74-60.64.82.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kernel-xen 0 3.12.74-60.64.82.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 kgraft-patch-SLE12-SP1_Update_25 0 1-2.9.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kernel-default 0 4.4.121-92.109.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kernel-source 0 4.4.121-92.109.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kernel-syms 0 4.4.121-92.109.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 kgraft-patch-SLE12-SP2_Update_29 0 1-3.5.2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-default 0 4.4.138-94.39.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-source 0 4.4.138-94.39.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP3 kernel-syms 0 4.4.138-94.39.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 kernel-docs 0 3.0.101-108.35.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 kernel-docs 0 4.4.138-94.39.1
SUSE:Linux Enterprise Software Development Kit 12 SP3 kernel-obs-build 0 4.4.138-94.39.1
SUSE:Linux Enterprise Workstation Extension 12 SP3 kernel-default 0 4.4.138-94.39.1
SUSE:OpenStack Cloud 6 kernel-default 0 3.12.74-60.64.82.1
SUSE:OpenStack Cloud 6 kernel-source 0 3.12.74-60.64.82.1
SUSE:OpenStack Cloud 6 kernel-syms 0 3.12.74-60.64.82.1
SUSE:OpenStack Cloud 6 kernel-xen 0 3.12.74-60.64.82.1
SUSE:OpenStack Cloud 6 kgraft-patch-SLE12-SP1_Update_25 0 1-2.9.1
SUSE:OpenStack Cloud 7 kernel-default 0 4.4.121-92.109.2
SUSE:OpenStack Cloud 7 kernel-source 0 4.4.121-92.109.2
SUSE:OpenStack Cloud 7 kernel-syms 0 4.4.121-92.109.2
SUSE:OpenStack Cloud 7 kgraft-patch-SLE12-SP2_Update_29 0 1-3.5.2
Ubuntu:14.04:LTS linux 0 3.13.0-144.193
Ubuntu:14.04:LTS linux-aws 0 4.4.0-1016.16
Ubuntu:14.04:LTS linux-azure 0 4.15.0-1023.24~14.04.1
Ubuntu:14.04:LTS linux-lts-xenial 0 4.4.0-119.143~14.04.1
Ubuntu:16.04:LTS linux 0 4.4.0-119.143
Ubuntu:16.04:LTS linux-aws 0 4.4.0-1054.63
Ubuntu:16.04:LTS linux-aws-hwe 0 4.15.0-1030.31~16.04.1
Ubuntu:16.04:LTS linux-azure 0 4.13.0-1014.17
Ubuntu:16.04:LTS linux-gcp 0 4.13.0-1012.16
Ubuntu:16.04:LTS linux-hwe 0 4.13.0-38.43~16.04.1
Ubuntu:16.04:LTS linux-hwe 0 4.13.0-41.46~16.04.1
Ubuntu:16.04:LTS linux-kvm 0 4.4.0-1020.25
Ubuntu:16.04:LTS linux-oem 0 4.13.0-1022.24
Ubuntu:16.04:LTS linux-oracle 0 4.15.0-1007.9~16.04.1
Ubuntu:16.04:LTS linux-raspi2 0 4.4.0-1086.94
Ubuntu:16.04:LTS linux-snapdragon 0 4.4.0-1088.93
Ubuntu:18.04:LTS linux 0 4.15.0-10.11
Ubuntu:18.04:LTS linux-aws 0 4.15.0-1001.1
Ubuntu:18.04:LTS linux-aws-5.4 0 5.4.0-1018.18~18.04.1
Ubuntu:18.04:LTS linux-azure 0 4.15.0-1002.2
Ubuntu:18.04:LTS linux-azure-4.15 0 4.15.0-1082.92
Ubuntu:18.04:LTS linux-azure-5.4 0 5.4.0-1020.20~18.04.1
Ubuntu:18.04:LTS linux-gcp 0 4.15.0-1001.1
Ubuntu:18.04:LTS linux-gcp-4.15 0 4.15.0-1071.81
Ubuntu:18.04:LTS linux-gcp-5.4 0 5.4.0-1019.19~18.04.2
Ubuntu:18.04:LTS linux-hwe-5.4 0 5.4.0-37.41~18.04.1
Ubuntu:18.04:LTS linux-hwe-edge 0 5.0.0-15.16~18.04.1
Ubuntu:18.04:LTS linux-ibm-5.4 0 5.4.0-1010.11~18.04.2
Ubuntu:18.04:LTS linux-kvm 0 4.15.0-1002.2
Ubuntu:18.04:LTS linux-oem 0 4.15.0-1002.3
Ubuntu:18.04:LTS linux-oracle 0 4.15.0-1007.9
Ubuntu:18.04:LTS linux-oracle-5.4 0 5.4.0-1019.19~18.04.1
Ubuntu:18.04:LTS linux-raspi-5.4 0 5.4.0-1013.13~18.04.1
Ubuntu:18.04:LTS linux-raspi2 0 4.15.0-1006.7
Ubuntu:20.04:LTS linux 0 5.4.0-9.12
Ubuntu:20.04:LTS linux-aws 0 5.4.0-1005.5
Ubuntu:20.04:LTS linux-aws-5.15 0 5.15.0-1014.18~20.04.1
Ubuntu:20.04:LTS linux-azure 0 5.4.0-1006.6
Ubuntu:20.04:LTS linux-azure-5.15 0 5.15.0-1007.8~20.04.1
Ubuntu:20.04:LTS linux-azure-fde 0 No fix
Ubuntu:20.04:LTS linux-azure-fde-5.15 0 5.15.0-1019.24~20.04.1.1
Ubuntu:20.04:LTS linux-bluefield 0 5.4.0-1007.10
Ubuntu:20.04:LTS linux-gcp 0 5.4.0-1005.5
Ubuntu:20.04:LTS linux-gcp-5.15 0 5.15.0-1006.9~20.04.1
Ubuntu:20.04:LTS linux-gke 0 No fix
Ubuntu:20.04:LTS linux-gkeop 0 5.4.0-1008.9
Ubuntu:20.04:LTS linux-gkeop-5.15 0 5.15.0-1003.5~20.04.2
Ubuntu:20.04:LTS linux-hwe-5.15 0 5.15.0-33.34~20.04.1
Ubuntu:20.04:LTS linux-ibm 0 5.4.0-1003.4
Ubuntu:20.04:LTS linux-ibm-5.15 0 5.15.0-1033.36~20.04.1
Ubuntu:20.04:LTS linux-intel-iotg-5.15 0 5.15.0-1003.5~20.04.1
Ubuntu:20.04:LTS linux-iot 0 5.4.0-1001.3
Ubuntu:20.04:LTS linux-kvm 0 5.4.0-1004.4
Ubuntu:20.04:LTS linux-lowlatency-hwe-5.15 0 5.15.0-33.34~20.04.1
Ubuntu:20.04:LTS linux-oracle 0 5.4.0-1005.5
Ubuntu:20.04:LTS linux-oracle-5.15 0 5.15.0-1007.9~20.04.1
Ubuntu:20.04:LTS linux-raspi 0 5.4.0-1007.7
Ubuntu:20.04:LTS linux-raspi2 0 No fix
Ubuntu:20.04:LTS linux-riscv 0 No fix
Ubuntu:20.04:LTS linux-riscv-5.15 0 5.15.0-1015.17~20.04.1
Ubuntu:20.04:LTS linux-xilinx-zynqmp 0 5.4.0-1020.24
Ubuntu:22.04:LTS linux 0 5.13.0-19.19
Ubuntu:22.04:LTS linux-aws 0 5.13.0-1005.6
Ubuntu:22.04:LTS linux-aws-6.8 0 6.8.0-1009.9~22.04.2
Ubuntu:22.04:LTS linux-azure 0 5.13.0-1006.7

Related vulnerabilities