Bug 896038 (CVE-2013-0190)

Summary: CVE-2013-0190 kernel: stack corruption in xen_failsafe_callback()
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: drjones, imammedo, lersek, pbonzini
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: 2013-08-24 13:02:28 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: 896049, 896050, 896051    
Bug Blocks: 896056    
Attachments:
Description Flags
Upstream proposed patch none

Description Petr Matousek 2013-01-16 14:18:09 UTC
A flaw was found in the way xen_failsafe_callback() handled failed iret,
which causes the stack pointer to be wrong when entering the
iret_exc error path. An unprivileged local guest user in the 32-bit PV
Xen domain could use this flaw to crash the guest.

References:
http://www.openwall.com/lists/oss-security/2013/01/16/6

Acknowledgements:

Red Hat would like to thank the Andrew Cooper of Citrix for reporting this issue.

Comment 1 Petr Matousek 2013-01-16 14:22:55 UTC
Created attachment 679616 [details]
Upstream proposed patch

Comment 3 Petr Matousek 2013-01-16 14:28:33 UTC
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 896051]

Comment 4 Petr Matousek 2013-01-16 14:39:45 UTC
Statement:

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

Comment 5 Andrew Jones 2013-01-16 17:42:17 UTC
I'm brewing a build with the proposed patch:

https://brewweb.devel.redhat.com/taskinfo?taskID=5278913

and taking a stab at writing a reproducer.

Comment 6 Fedora Update System 2013-01-18 20:43:52 UTC
kernel-3.7.2-204.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2013-01-24 22:39:17 UTC
kernel-3.7.3-101.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 errata-xmlrpc 2013-02-21 07:02:22 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2013:0496 https://rhn.redhat.com/errata/RHSA-2013-0496.html