Bug 1006298 (CVE-2013-4329) - CVE-2013-4329 xen: libxl partially sets up HVM passthrough even with disabled iommu
Summary: CVE-2013-4329 xen: libxl partially sets up HVM passthrough even with disabled...
Alias: CVE-2013-4329
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1006301
Blocks: 1006302
TreeView+ depends on / blocked
Reported: 2013-09-10 12:06 UTC by Petr Matousek
Modified: 2023-05-11 23:59 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-09-10 12:08:05 UTC

Attachments (Terms of Use)

Description Petr Matousek 2013-09-10 12:06:44 UTC
With HVM domains, libxl's setup of PCI passthrough devices does the IOMMU setup after giving (via the device model) the guest access to the hardware and advertising it to the guest.

If the IOMMU is disabled the overall setup fails, but after the device has been made available to the guest; subsequent DMA instructions from the guest to the device will cause wild DMA.

A HVM domain, given access to a device which bus mastering capable in the absence of a functioning IOMMU, can mount a privilege escalation or denial of service attack affecting the whole system.




Red Hat would like to thank the Xen project for reporting this issue.

Comment 1 Petr Matousek 2013-09-10 12:08:05 UTC

Not vulnerable.

This issue does not affect the versions of the xen package as shipped with Red Hat Enterprise Linux 5 as it does not provide support for the libxl toolstack.

This issue does not affect Red Hat Enterprise Linux 6 and Red Hat Enterprise MRG 2.

Comment 2 Petr Matousek 2013-09-10 12:09:14 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1006301]

Comment 3 Petr Matousek 2013-09-10 17:24:06 UTC
Adding CVE as per:


Note You need to log in before you can comment on or make changes to this bug.