Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1335442 - (CVE-2016-4963, xsa178) CVE-2016-4963 xsa178 xen: Unsanitised driver domain input in libxl device handling (XSA-178)
CVE-2016-4963 xsa178 xen: Unsanitised driver domain input in libxl device han...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20160602,reported=2...
: Security
Depends On: 1342131
Blocks: 1335444
  Show dependency treegraph
 
Reported: 2016-05-12 04:51 EDT by Adam Mariš
Modified: 2016-06-18 14:44 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Set of patches (80.00 KB, application/octet-stream)
2016-05-12 05:07 EDT, Adam Mariš
no flags Details
Patch set (70.00 KB, application/octet-stream)
2016-05-24 09:25 EDT, Adam Mariš
no flags Details

  None (edit)
Description Adam Mariš 2016-05-12 04:51:12 EDT
ISSUE DESCRIPTION
=================

libxl's device-handling code freely uses and trusts information from
the backend directories in xenstore.

The backend domain (driver domain) can store bogus data in the
backend, causing libxl's enquiry functions to fail, confusing
management tools.

A driver domain can also remove its backend directory from xenstore
entirely, preventing the device from showing up in device listings and
preventing it from being removed and replaced.

A driver domain can cause libxl to generate disk eject events for
disks for which the driver domain is not responsible.

IMPACT
======

A malicious driver domain can deny service to management tools.

VULNERABLE SYSTEMS
==================

This vulnerability is only applicable to systems which are using
driver domains, and then only where the driver domain is not intended
to be fully trusted with respect to the host.

Such Xen systems using libxl based toolstacks (for example xl or
libvirt with the libxl driver) are vulnerable.

Note that even with this vulnerability a driver domain based system is
better from a security point of view, than a system where devices are
provided directly by dom0.  Users and vendors of systems using driver
domains should not change their configuration.

All versions of libxl which support the relevant driver domains are
vulnerable.

MITIGATION
==========

No mitigation is available.

External References:

http://xenbits.xen.org/xsa/advisory-178.html

Acknowledgements:

Name: the Xen project
Comment 1 Adam Mariš 2016-05-12 05:07 EDT
Created attachment 1156570 [details]
Set of patches
Comment 2 Adam Mariš 2016-05-24 09:25 EDT
Created attachment 1161045 [details]
Patch set

Certain patches were dropped from the patch set as they're not needed for fixing this issue.
Comment 3 Adam Mariš 2016-06-02 09:41:26 EDT
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1342131]
Comment 4 Fedora Update System 2016-06-17 11:57:25 EDT
xen-4.5.3-8.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 5 Fedora Update System 2016-06-18 14:44:04 EDT
xen-4.6.1-11.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

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