Bug 526837 - KVM: x86: verify MTRR/PAT validity (upstream backport)
Summary: KVM: x86: verify MTRR/PAT validity (upstream backport)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.4.z
Hardware: All
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Eduardo Habkost
QA Contact: Lawrence Lim
URL:
Whiteboard:
Depends On:
Blocks: 552520
TreeView+ depends on / blocked
 
Reported: 2009-10-02 00:00 UTC by Marcelo Tosatti
Modified: 2014-03-26 01:02 UTC (History)
6 users (show)

Fixed In Version: kvm-83-124.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-30 07:53:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
KVM-verify-MTRR-validity.patch (1.58 KB, text/plain)
2009-10-02 00:00 UTC, Marcelo Tosatti
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0271 0 normal SHIPPED_LIVE Important: kvm security, bug fix and enhancement update 2010-03-29 13:19:48 UTC

Description Marcelo Tosatti 2009-10-02 00:00:04 UTC
Created attachment 363407 [details]
KVM-verify-MTRR-validity.patch

Do not allow invalid memory types in MTRR/PAT (generating a #GP
otherwise).

Signed-off-by: Marcelo Tosatti <mtosatti>
Signed-off-by: Avi Kivity <avi>
(cherry picked from commit d6289b9365c3f622a8cfe62c4fb054bb70b5061a)

This is important to avoid guests running random code to possibly store (and later use) a random MTRR type.

Comment 14 errata-xmlrpc 2010-03-30 07:53:17 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0271.html


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