Cloudanix VulnDB

CVE-2015-7549

Medium · 6.0

CVSS

6.0

EPSS

0.4%

Published

Oct 30, 2017

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug inside the virtualization software lets someone who already controls a virtual machine deliberately shut that machine down from the inside, interrupting whatever service the machine was running.

Exploitation
Local Privilege
Attacker needs
High Privilege
Complexity
Low
Impact
Denial Of Service
Component
Application
Class
Memory Corruption
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

Failure to define the .write method for MSI-X MMIO regions in QEMU's hw/pci/msix.c results in a NULL pointer dereference when a privileged guest writes to the region, crashing the QEMU process.

Why it matters to the business

Virtual machines running on affected QEMU hosts can be terminated from inside the guest, causing unplanned downtime and loss of service availability for workloads that depend on those VMs.

How an attack unfolds

An attacker with administrative access inside a guest VM crafts an MSI-X configuration or performs a memory write to an uninitialized MSI-X MMIO BAR; because no .write handler exists, QEMU dereferences a NULL pointer and terminates, ending the VM.

How to fix it

Upgrade QEMU to a version that supplies the missing .write handler for all MSI-X MMIO regions; apply vendor backports if running older releases; disable unnecessary PCI device passthrough or MSI-X features where feasible.

How to confirm the fix worked

Confirm the QEMU binary no longer crashes when a test guest performs writes to MSI-X MMIO regions; review source or binary for presence of a non-NULL .write callback in msix.c; re-test after applying updates.

Typical attack path

  1. Obtain privileged access inside a guest VM
  2. Configure or access an MSI-X capable PCI device whose MMIO region lacks a .write method
  3. Issue a memory write to the affected MSI-X region
  4. Trigger NULL pointer dereference and QEMU process crash

How to detect it

Search hypervisor logs and QEMU stderr/stdout for segmentation faults or NULL pointer dereference messages immediately preceding VM termination; correlate guest administrative logins with sudden VM crashes.

What your security team should do

  • Prioritize patching QEMU hosts that expose MSI-X capable devices to untrusted guests
  • Monitor for guest-initiated QEMU crashes and correlate with VM availability alerts
  • Review hypervisor configurations to limit MSI-X exposure for high-value workloads

The record

The MSI-X MMIO support in hw/pci/msix.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (NULL pointer dereference and QEMU process crash) by leveraging failure to define the .write method.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 qemu 0 1:2.5+dfsg-1
Debian:12 qemu 0 1:2.5+dfsg-1
Debian:13 qemu 0 1:2.5+dfsg-1
Debian:8 qemu 0 1:2.1+dfsg-12+deb8u5a
Mageia:5 qemu 0 2.1.3-2.11.mga5
SUSE:Linux Enterprise Desktop 11 SP4 xen 0 4.4.4_02-32.1
SUSE:Linux Enterprise Desktop 12 qemu 0 2.0.2-48.19.1
SUSE:Linux Enterprise Desktop 12 xen 0 4.4.4_02-22.19.1
SUSE:Linux Enterprise Desktop 12 SP1 qemu 0 2.3.1-14.1
SUSE:Linux Enterprise Desktop 12 SP1 xen 0 4.5.2_06-7.1
SUSE:Linux Enterprise Server 11 SP3-LTSS kvm 0 1.4.2-46.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA kvm 0 1.4.2-46.1
SUSE:Linux Enterprise Server 11 SP4 kvm 0 1.4.2-44.1
SUSE:Linux Enterprise Server 11 SP4 xen 0 4.4.4_02-32.1
SUSE:Linux Enterprise Server 12 qemu 0 2.0.2-48.19.1
SUSE:Linux Enterprise Server 12 xen 0 4.4.4_02-22.19.1
SUSE:Linux Enterprise Server 12 SP1 qemu 0 2.3.1-14.1
SUSE:Linux Enterprise Server 12 SP1 xen 0 4.5.2_06-7.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 kvm 0 1.4.2-44.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 xen 0 4.4.4_02-32.1
SUSE:Linux Enterprise Server for SAP Applications 12 qemu 0 2.0.2-48.19.1
SUSE:Linux Enterprise Server for SAP Applications 12 xen 0 4.4.4_02-22.19.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 qemu 0 2.3.1-14.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 xen 0 4.5.2_06-7.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 xen 0 4.4.4_02-32.1
SUSE:Linux Enterprise Software Development Kit 12 xen 0 4.4.4_02-22.19.1
SUSE:Linux Enterprise Software Development Kit 12 SP1 xen 0 4.5.2_06-7.1
Ubuntu:14.04:LTS qemu 0 2.0.0+dfsg-2ubuntu1.22
openSUSE:Tumbleweed xen 0 4.7.0_12-1.3

Related vulnerabilities