<?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>2008-01-23T07:18:11</oval:timestamp>
  </generator>

  <definitions>
    <definition id="oval:com.redhat.rhsa:def:20040413" version="302" class="patch">
      <metadata>
        <title>RHSA-2004:413: kernel security update
        (Important)
	</title>
  	<affected family="unix">
        <platform>Red Hat Enterprise Linux 3</platform>
        </affected>
        <reference source="RHSA" ref_id="RHSA-2004:413-02" ref_url="https://rhn.redhat.com/errata/RHSA-2004-413.html"/>
	<description>The Linux kernel handles the basic functions of the operating system.

Paul Starzetz discovered flaws in the Linux kernel when handling file
offset pointers.  These consist of invalid conversions of 64 to 32-bit file
offset pointers and possible race conditions.  A local unprivileged user
could make use of these flaws to access large portions of kernel memory. 
The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2004-0415 to this issue.  

These packages contain a patch written by Al Viro to correct these flaws. 
Red Hat would like to thank iSEC Security Research for disclosing this
issue and a number of vendor-sec participants for reviewing and working on
the patch to this issue.

In addition, these packages correct a number of minor security issues:

An bug in the e1000 network driver.  This bug could be used by local users
to leak small amounts of kernel memory (CAN-2004-0535).

A bug in the SoundBlaster 16 code which does not properly handle certain
sample sizes.  This flaw could be used by local users to crash a system 
(CAN-2004-0178).

A possible NULL-pointer dereference in the Linux kernel prior to 2.4.26 on
the Itanium platform could allow a local user to crash a system
(CAN-2004-0447).

Inappropriate permissions on /proc/scsi/qla2300/HbaApiNode (CAN-2004-0587).

All Red Hat Enterprise Linux 3 users are advised to upgrade their
kernels to the packages associated with their machine architectures
and configurations as listed in this erratum.</description>

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

<advisory from="secalert@redhat.com">
        <severity>Important</severity>
        <rights>Copyright 2004 Red Hat, Inc.</rights>
        <issued date="2004-08-03"/>
        <updated date="2004-08-03"/>
        <cve href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0178">CVE-2004-0178</cve>
        <cve href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0415">CVE-2004-0415</cve>
        <cve href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0447">CVE-2004-0447</cve>
        <cve href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0535">CVE-2004-0535</cve>
        <cve href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0587">CVE-2004-0587</cve>
  	<affected_cpe_list>
        <cpe>cpe://redhat:enterprise_linux:3</cpe>
        </affected_cpe_list>
</advisory>
      </metadata>  <criteria operator="AND">
    <criterion test_ref="oval:com.redhat.rhsa:tst:20040413001" comment="Red Hat Enterprise Linux 3 is installed"/>
    <criteria operator="OR">
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413002" comment="kernel is earlier than 0:2.4.21-15.0.4.EL"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413003" comment="kernel is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413004" comment="kernel-smp is earlier than 0:2.4.21-15.0.4.EL"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413005" comment="kernel-smp is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413006" comment="kernel-smp-unsupported is earlier than 0:2.4.21-15.0.4.EL"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413007" comment="kernel-smp-unsupported is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413008" comment="kernel-unsupported is earlier than 0:2.4.21-15.0.4.EL"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413009" comment="kernel-unsupported is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413010" comment="kernel-BOOT is earlier than 0:2.4.21-15.0.4.EL"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413011" comment="kernel-BOOT is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413012" comment="kernel-doc is earlier than 0:2.4.21-15.0.4.EL"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413013" comment="kernel-doc is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413014" comment="kernel-source is earlier than 0:2.4.21-15.0.4.EL"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413015" comment="kernel-source is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413016" comment="kernel-hugemem is earlier than 0:2.4.21-15.0.4.EL"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413017" comment="kernel-hugemem is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413018" comment="kernel-hugemem-unsupported is earlier than 0:2.4.21-15.0.4.EL"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040413019" comment="kernel-hugemem-unsupported is signed with Red Hat security key"/>
            </criteria>
    </criteria>
  </criteria>

    </definition>
  </definitions>
  <tests>
    <!-- ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ --><rpminfo_test id="oval:com.redhat.rhsa:tst:20040413001" version="302" comment="redhat-release is version 3" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413001"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413001"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413002" version="302" comment="kernel is earlier than 0:2.4.21-15.0.4.EL" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413002"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413003" version="302" comment="kernel is signed with Red Hat security key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413002"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413004" version="302" comment="kernel-smp is earlier than 0:2.4.21-15.0.4.EL" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413003"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413005" version="302" comment="kernel-smp is signed with Red Hat security key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413003"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413006" version="302" comment="kernel-smp-unsupported is earlier than 0:2.4.21-15.0.4.EL" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413004"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413007" version="302" comment="kernel-smp-unsupported is signed with Red Hat security key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413004"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413008" version="302" comment="kernel-unsupported is earlier than 0:2.4.21-15.0.4.EL" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413005"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413009" version="302" comment="kernel-unsupported is signed with Red Hat security key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413005"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413010" version="302" comment="kernel-BOOT is earlier than 0:2.4.21-15.0.4.EL" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413006"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413011" version="302" comment="kernel-BOOT is signed with Red Hat security key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413006"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413012" version="302" comment="kernel-doc is earlier than 0:2.4.21-15.0.4.EL" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413007"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413013" version="302" comment="kernel-doc is signed with Red Hat security key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413007"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413014" version="302" comment="kernel-source is earlier than 0:2.4.21-15.0.4.EL" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413008"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413015" version="302" comment="kernel-source is signed with Red Hat security key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413008"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413016" version="302" comment="kernel-hugemem is earlier than 0:2.4.21-15.0.4.EL" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413009"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413017" version="302" comment="kernel-hugemem is signed with Red Hat security key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413009"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413018" version="302" comment="kernel-hugemem-unsupported is earlier than 0:2.4.21-15.0.4.EL" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413010"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040413019" version="302" comment="kernel-hugemem-unsupported is signed with Red Hat security key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040413010"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040413003"/>
</rpminfo_test>

  </tests>
  <objects>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ --><rpminfo_object id="oval:com.redhat.rhsa:obj:20040413001" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>redhat-release</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040413002" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>kernel</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040413003" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>kernel-smp</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040413004" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>kernel-smp-unsupported</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040413005" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>kernel-unsupported</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040413006" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>kernel-BOOT</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040413007" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>kernel-doc</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040413008" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>kernel-source</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040413009" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>kernel-hugemem</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040413010" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>kernel-hugemem-unsupported</name>
</rpminfo_object>

  </objects>
  <states>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ --><rpminfo_state id="oval:com.redhat.rhsa:ste:20040413001" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <version operation="pattern match">^3[^[:digit:]]</version>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20040413002" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">0:2.4.21-15.0.4.EL</evr>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20040413003" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <signature_keyid operation="equals">219180cddb42a60e</signature_keyid>
</rpminfo_state>

  </states>
</oval_definitions>