Bug 1026243 (CVE-2013-4494)

Summary: CVE-2013-4494 kernel: xen: Lock order reversal between page allocation and grant table locks
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: agordeev, anton, aquini, bhu, dhoward, drjones, esammons, fhrbata, iboverma, imammedo, jforbes, jkacur, jkurik, jross, kernel-mgr, kraxel, lgoncalv, lwang, matt, m.a.young, mcressma, mrezanin, npajkovs, pbonzini, pholasek, plougher, rkrcmar, rt-maint, rvrbovsk, virt-maint, williams, xen-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-29 18:55:10 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: 1026245, 1026246, 1026248    
Bug Blocks: 1026256    

Description Petr Matousek 2013-11-04 09:24:39 UTC
The locks page_alloc_lock and grant_table.lock are not always taken in the same order.  This opens the possibility of deadlock. As a result, a malicious guest administrator can deny service to the entire host.

References:
http://seclists.org/oss-sec/2013/q4/204

Acknowledgements:

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

Comment 2 Petr Matousek 2013-11-04 09:29:41 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1026248]

Comment 3 Petr Matousek 2013-11-04 09:34:51 UTC
Statement:

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

Comment 4 Fedora Update System 2013-11-10 06:27:01 UTC
xen-4.3.1-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2013-11-11 02:30:52 UTC
xen-4.2.3-7.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-11-11 02:34:54 UTC
xen-4.2.3-7.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 errata-xmlrpc 2014-01-29 17:37:35 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2014:0108 https://rhn.redhat.com/errata/RHSA-2014-0108.html