Bug 813428 (CVE-2012-0217)
Summary: | CVE-2012-0217 kernel: x86-64: avoid sysret to non-canonical address | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Petr Matousek <pmatouse> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | agordeev, bressers, ddugger, dev, dhoward, drjones, herrold, imammedo, jlieskov, knoel, leiwang, lersek, lwang, mjc, mrezanin, nobody, pbonzini, plougher, qwan, security-response-team, sforsber, tburke, xen-maint |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
It was found that the Xen hypervisor implementation as shipped with Red Hat Enterprise Linux 5 did not properly restrict the syscall return addresses in the sysret return path to canonical addresses. An unprivileged user in a 64-bit para-virtualized guest, that is running on a 64-bit host that has an Intel CPU, could use this flaw to crash the host or, potentially, escalate their privileges, allowing them to execute arbitrary code at the hypervisor level.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-06 15:37:24 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: | 813430, 813431, 817489 | ||
Bug Blocks: | 813442, 815484, 823418 |
Description
Petr Matousek
2012-04-17 18:30:05 UTC
Statement: This issue did not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5 and 6, and Red Hat Enterprise MRG, as those versions have a guard page between the end of the user-mode accessible virtual address space and the beginning of the non-canonical area due to CVE-2005-1764 fix, and hardened system call handler due to CVE-2006-0744 fix. This issue did affect the versions of Xen hypervisor as shipped with Red Hat Enterprise Linux 5. A kernel-xen update for Red Hat Enterprise Linux 5 is available to address this flaw. CERT contacted us and moved the embargo to 1st June 2012. VU#649219 CERT contacted us and moved the embargo to 12th June 2012 This issue has been addressed in following products: Red Hat Enterprise Linux 5.6 EUS - Server Only Via RHSA-2012:0720 https://rhn.redhat.com/errata/RHSA-2012-0720.html This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2012:0721 https://rhn.redhat.com/errata/RHSA-2012-0721.html Is RHEL4 vulnerable? (it's still under Extended LifeCycle support). RHEL4 does not include the Xen hypervisor. (In reply to comment #33) > Is RHEL4 vulnerable? (it's still under Extended LifeCycle support). Not vulnerable. As of Xen specific aspects of this flaw, Red Hat Enterprise Linux 4 does not include the Xen hypervisor. Red Hat Enterprise Linux 4 has reduced task size (511 GB) that is less than the size of lower half of canonical area (current 48-bit implementation) so it does not need the fix for CVE-2005-1764 (that introduces the guard page between end of lower half canonical area and start of non-canonical area). Red Hat Enterprise Linux 4 also contains the fix for CVE-2006-0744, which addresses known attacks that used non-canonical ELF/signal entry points. IssueDescription: It was found that the Xen hypervisor implementation as shipped with Red Hat Enterprise Linux 5 did not properly restrict the syscall return addresses in the sysret return path to canonical addresses. An unprivileged user in a 64-bit para-virtualized guest, that is running on a 64-bit host that has an Intel CPU, could use this flaw to crash the host or, potentially, escalate their privileges, allowing them to execute arbitrary code at the hypervisor level. VUPEN Blog post about the vulnerability: http://www.vupen.com/blog/20120904.Advanced_Exploitation_of_Xen_Sysret_VM_Escape_CVE-2012-0217.php |