Bug 1458875 (CVE-2017-10917, xsa221)

Summary: CVE-2017-10917 xsa221 xen: NULL pointer deref in event channel poll (XSA-221)
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ailan, drjones, imammedo, knoel, m.a.young, mrezanin, pbonzini, rkrcmar, robinlee.sysu, security-response-team, virt-maint, vkuznets, xen-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:14:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1463231    
Bug Blocks:    

Description Adam Mariš 2017-06-05 17:43:18 UTC
ISSUE DESCRIPTION
=================

When polling event channels, in general arbitrary port numbers can be
specified.  Specifically, there is no requirement that a polled event
channel ports has ever been created.  When the code was generalised
from an earlier implementation, introducing some intermediate
pointers, a check should have been made that these intermediate
pointers are non-NULL.  However, that check was omitted.

IMPACT
======

A malicious or buggy guest may cause the hypervisor to access
addresses it doesn't control, usually leading to a host crash (Denial
of Service).  Information leaks cannot be excluded.

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

Xen versions 4.4 and newer are vulnerable.  Xen versions 4.3 and
earlier are not affected.

Both x86 and ARM systems are vulnerable.

While all guest kinds can cause a Denial of Service, only x86 PV guests
may be able to leverage the possible information leaks.

MITIGATION
==========

There is no known mitigation.

External References:

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

Acknowledgements:

Name: the Xen project
Upstream: Ankur Arora (Oracle)

Comment 1 Adam Mariš 2017-06-20 12:12:29 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1463231]