<?xml version="1.0" encoding="UTF-8"?>

<oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:red-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd">
  <generator>
    <oval:product_name>Red Hat Errata System</oval:product_name>
    <oval:schema_version>5.3</oval:schema_version>
    <oval:timestamp>2011-10-24T13:13:54</oval:timestamp>
  </generator>

  <definitions>
    <definition id="oval:com.redhat.rhsa:def:20111401" version="502" class="patch">
      <metadata>
        <title>RHSA-2011:1401: xen security and bug fix update (Moderate)</title>
    <affected family="unix">
            <platform>Red Hat Enterprise Linux 5</platform>
         </affected>
    <reference source="RHSA" ref_id="RHSA-2011:1401-01" ref_url="https://rhn.redhat.com/errata/RHSA-2011-1401.html"/>
          <reference source="CVE" ref_id="CVE-2011-3346" ref_url="https://www.redhat.com/security/data/cve/CVE-2011-3346.html"/>
    
    <description>The xen packages contain administration tools and the xend service for
managing the kernel-xen kernel for virtualization on Red Hat Enterprise
Linux.

A buffer overflow flaw was found in the Xen hypervisor SCSI subsystem
emulation. An unprivileged, local guest user could provide a large number
of bytes that are used to zero out a fixed-sized buffer via a SAI READ
CAPACITY SCSI command, overwriting memory and causing the guest to crash.
(CVE-2011-3346)

This update also fixes the following bugs:

* Prior to this update, the vif-bridge script used a maximum transmission
unit (MTU) of 1500 for a new Virtual Interface (VIF). As a result, the MTU
of the VIF could differ from that of the target bridge. This update fixes
the VIF hot-plug script so that the default MTU for new VIFs will match
that of the target Xen hypervisor bridge. In combination with a new enough
kernel (RHSA-2011:1386), this enables the use of jumbo frames in Xen
hypervisor guests. (BZ#738608)

* Prior to this update, the network-bridge script set the MTU of the bridge
to 1500. As a result, the MTU of the Xen hypervisor bridge could differ
from that of the physical interface. This update fixes the network script
so the MTU of the bridge can be set higher than 1500, thus also providing
support for jumbo frames. Now, the MTU of the Xen hypervisor bridge will
match that of the physical interface. (BZ#738610)

* Red Hat Enterprise Linux 5.6 introduced an optimized migration handling
that speeds up the migration of guests with large memory. However, the new
migration procedure can theoretically cause data corruption. While no cases
were observed in practice, with this update, the xend daemon properly waits
for correct device release before the guest is started on a destination
machine, thus fixing this bug. (BZ#743850)

Note: Before a guest is using a new enough kernel (RHSA-2011:1386), the MTU
of the VIF will drop back to 1500 (if it was set higher) after migration.

All xen users are advised to upgrade to these updated packages, which
contain backported patches to correct these issues. After installing the
updated packages, the xend service must be restarted for this update to
take effect.</description>

<!-- ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ -->

<advisory from="secalert@redhat.com">

        <severity>Moderate</severity>

        <rights>Copyright 2011 Red Hat, Inc.</rights>
        <issued date="2011-10-24"/>
        <updated date="2011-10-24"/>
            <cve href="https://www.redhat.com/security/data/cve/CVE-2011-3346.html">CVE-2011-3346</cve>
                <bugzilla href="http://bugzilla.redhat.com/736038" id="736038">CVE-2011-3346 qemu: local DoS with SCSI CD-ROM</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/738608" id="738608">vif (netback) should take its default MTU from the bridge</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/738610" id="738610">The network-bridge script does not set the MTU of the bridge to match the MTU of the physical interface</bugzilla>
        <affected_cpe_list>
            <cpe>cpe:/a:redhat:rhel_virtualization</cpe>
            <cpe>cpe:/o:redhat:enterprise_linux</cpe>
        </affected_cpe_list>
</advisory>
      </metadata>
      <criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20111401001" comment="Red Hat Enterprise Linux 5 is installed" />
 <criteria operator="OR">
 
 <criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20111401002" comment="xen is earlier than 0:3.0.3-132.el5_7.2" /><criterion test_ref="oval:com.redhat.rhsa:tst:20111401003" comment="xen is signed with Red Hat redhatrelease key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20111401004" comment="xen-libs is earlier than 0:3.0.3-132.el5_7.2" /><criterion test_ref="oval:com.redhat.rhsa:tst:20111401005" comment="xen-libs is signed with Red Hat redhatrelease key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20111401006" comment="xen-devel is earlier than 0:3.0.3-132.el5_7.2" /><criterion test_ref="oval:com.redhat.rhsa:tst:20111401007" comment="xen-devel is signed with Red Hat redhatrelease key" />
 
</criteria>

</criteria>

</criteria>

    </definition>
  </definitions>
  <tests>
    <!-- ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_test id="oval:com.redhat.rhsa:tst:20111401001"  version="502" comment="Red Hat Enterprise Linux 5 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20111401001" />
  <state state_ref="oval:com.redhat.rhsa:ste:20111401002" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20111401002"  version="502" comment="xen is earlier than 0:3.0.3-132.el5_7.2" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20111401002" />
  <state state_ref="oval:com.redhat.rhsa:ste:20111401003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20111401003"  version="502" comment="xen is signed with Red Hat redhatrelease key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20111401002" />
  <state state_ref="oval:com.redhat.rhsa:ste:20111401001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20111401004"  version="502" comment="xen-libs is earlier than 0:3.0.3-132.el5_7.2" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20111401003" />
  <state state_ref="oval:com.redhat.rhsa:ste:20111401003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20111401005"  version="502" comment="xen-libs is signed with Red Hat redhatrelease key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20111401003" />
  <state state_ref="oval:com.redhat.rhsa:ste:20111401001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20111401006"  version="502" comment="xen-devel is earlier than 0:3.0.3-132.el5_7.2" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20111401004" />
  <state state_ref="oval:com.redhat.rhsa:ste:20111401003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20111401007"  version="502" comment="xen-devel is signed with Red Hat redhatrelease key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20111401004" />
  <state state_ref="oval:com.redhat.rhsa:ste:20111401001" />
</rpminfo_test>

  </tests>

  <objects>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_object id="oval:com.redhat.rhsa:obj:20111401002"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>xen</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20111401003"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>xen-libs</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20111401001"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>redhat-release</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20111401004"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>xen-devel</name>
</rpminfo_object>

  </objects>
  <states>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_state id="oval:com.redhat.rhsa:ste:20111401001"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <signature_keyid  operation="equals">5326810137017186</signature_keyid>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20111401002"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <version  operation="pattern match">^5[^[:digit:]]</version>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20111401003"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">0:3.0.3-132.el5_7.2</evr>
</rpminfo_state>

  </states>
</oval_definitions>

