Red Hat: 2010:0504-01: kernel: Important Advisory
Posted by Benjamin D. Thomas   
RedHat Linux Updated kernel packages that fix multiple security issues and several bugs are now available for Red Hat Enterprise Linux 5. The Red Hat Security Response Team has rated this update as having [More...]
=====================================================================
                   Red Hat Security Advisory

Synopsis:          Important: kernel security and bug fix update
Advisory ID:       RHSA-2010:0504-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2010-0504.html
Issue date:        2010-07-01
CVE Names:         CVE-2010-0291 CVE-2010-0622 CVE-2010-1087 
                   CVE-2010-1088 CVE-2010-1173 CVE-2010-1187 
                   CVE-2010-1436 CVE-2010-1437 CVE-2010-1641 
=====================================================================

1. Summary:

Updated kernel packages that fix multiple security issues and several bugs
are now available for Red Hat Enterprise Linux 5.

The Red Hat Security Response Team has rated this update as having
important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux (v. 5 server) - i386, ia64, noarch, ppc, s390x, x86_64
Red Hat Enterprise Linux Desktop (v. 5 client) - i386, noarch, x86_64

3. Description:

The kernel packages contain the Linux kernel, the core of any Linux
operating system.

This update fixes the following security issues:

* multiple flaws were found in the mmap and mremap implementations. A local
user could use these flaws to cause a local denial of service or escalate
their privileges. (CVE-2010-0291, Important)

* a NULL pointer dereference flaw was found in the Fast Userspace Mutexes
(futexes) implementation. The unlock code path did not check if the futex
value associated with pi_state->owner had been modified. A local user could
use this flaw to modify the futex value, possibly leading to a denial of
service or privilege escalation when the pi_state->owner pointer is
dereferenced. (CVE-2010-0622, Important)

* a NULL pointer dereference flaw was found in the Linux kernel Network
File System (NFS) implementation. A local user on a system that has an
NFS-mounted file system could use this flaw to cause a denial of service or
escalate their privileges on that system. (CVE-2010-1087, Important)

* a flaw was found in the sctp_process_unk_param() function in the Linux
kernel Stream Control Transmission Protocol (SCTP) implementation. A remote
attacker could send a specially-crafted SCTP packet to an SCTP listening
port on a target system, causing a kernel panic (denial of service).
(CVE-2010-1173, Important)

* a flaw was found in the Linux kernel Transparent Inter-Process
Communication protocol (TIPC) implementation. If a client application, on a
local system where the tipc module is not yet in network mode, attempted to
send a message to a remote TIPC node, it would dereference a NULL pointer
on the local system, causing a kernel panic (denial of service).
(CVE-2010-1187, Important)

* a buffer overflow flaw was found in the Linux kernel Global File System 2
(GFS2) implementation. In certain cases, a quota could be written past the
end of a memory page, causing memory corruption, leaving the quota stored
on disk in an invalid state. A user with write access to a GFS2 file system
could trigger this flaw to cause a kernel crash (denial of service) or
escalate their privileges on the GFS2 server. This issue can only be
triggered if the GFS2 file system is mounted with the "quota=on" or
"quota=account" mount option. (CVE-2010-1436, Important)

* a race condition between finding a keyring by name and destroying a freed
keyring was found in the Linux kernel key management facility. A local user
could use this flaw to cause a kernel panic (denial of service) or escalate
their privileges. (CVE-2010-1437, Important)

* a flaw was found in the link_path_walk() function in the Linux kernel.
Using the file descriptor returned by the open() function with the
O_NOFOLLOW flag on a subordinate NFS-mounted file system, could result in a
NULL pointer dereference, causing a denial of service or privilege
escalation. (CVE-2010-1088, Moderate)

* a missing permission check was found in the gfs2_set_flags() function in
the Linux kernel GFS2 implementation. A local user could use this flaw to
change certain file attributes of files, on a GFS2 file system, that they
do not own. (CVE-2010-1641, Low)

Red Hat would like to thank Jukka Taimisto and Olli Jarva of Codenomicon
Ltd, Nokia Siemens Networks, and Wind River on behalf of their customer,
for responsibly reporting CVE-2010-1173; Mario Mikocevic for responsibly
reporting CVE-2010-1436; and Dan Rosenberg for responsibly reporting
CVE-2010-1641.

This update also fixes several bugs. Documentation for these bug fixes will
be available shortly from
http://www.redhat.com/docs/en-US/errata/RHSA-2010-0504/Kernel_Security_Upda
te/index.html

Users should upgrade to these updated packages, which contain backported
patches to correct these issues. The system must be rebooted for this
update to take effect.

4. Solution:

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/docs/DOC-11259

To install kernel packages manually, use "rpm -ivh [package]". Do not
use "rpm -Uvh" as that will remove the running kernel binaries from
your system. You may use "rpm -e" to remove old kernels after
determining that the new kernel functions properly on your system.

5. Bugs fixed (http://bugzilla.redhat.com/):

556703 - CVE-2010-0291 kernel: untangle the do_mremap()
563091 - CVE-2010-0622 kernel: futex: Handle user space corruption gracefully
567184 - CVE-2010-1087 kernel: NFS: Fix an Oops when truncating a file
567813 - CVE-2010-1088 kernel: fix LOOKUP_FOLLOW on automount "symlinks"
578057 - CVE-2010-1187 kernel: tipc: Fix oops on send prior to entering networked mode
584645 - CVE-2010-1173 kernel: sctp: crash due to malformed SCTPChunkInit packet
585094 - CVE-2010-1437 kernel: keyrings: find_keyring_by_name() can gain the freed keyring
586006 - CVE-2010-1436 kernel: gfs2 buffer overflow
587957 - Linux VM hangs while hot adding memory in VMware [rhel-5.5.z]
588219 - 25% performance regression of concurrent O_DIRECT writes. [rhel-5.5.z]
591493 - [Intel 5.6 Bug] Fix initialization of wakeup flags for e1000 [rhel-5.5.z]
591611 - virtio balloon should not use pages from kernel's reserve pools for fill requests [rhel-5.5.z]
592844 - RHEL5: tg3: 'SIOCSIFFLAGS: Invalid argument' setting IP [rhel-5.5.z]
592846 - missing power_meter release() function [rhel-5.5.z]
594054 - [5.5] SFQ qdisc crashes with limit of 2 packets [rhel-5.5.z]
594057 - [RHEL5] bonding mode 0 doesn't resend IGMP after a failure [rhel-5.5.z]
594061 - nfs: sys_read  sometimes returns -EIO [rhel-5.5.z]
595579 - CVE-2010-1641 kernel: GFS2: The setflags ioctl() doesn't check file ownership
596384 - VFS: Busy inodes after unmount issue. [rhel-5.5.z]
596385 - implement dev_disable_lro for RHEL5 [rhel-5.5.z]
598355 - [5.5] SCTP: Check if the file structure is valid before checking the non-blocking flag [rhel-5.5.z]
599332 - e1000 and e1000e driver behaviour differences [rhel-5.5.z]
599730 - fasync_helper patch causing problems with GPFS [rhel-5.5.z]
599734 - should set ISVM bit (ECX:31) for CPUID leaf 0x00000001 [rhel-5.5.z]
599737 - vm.drop_caches corrupts hugepages and causes Oracle Database ORA-600 crashes [rhel-5.5.z]
599739 - PG_error bit is never cleared, even when a fresh I/O to the page succeeds [rhel-5.5.z]
600215 - [RHEL5] Netfilter modules unloading hangs [rhel-5.5.z]
600498 - netconsole fails with tg3 [rhel-5.5.z]
601080 - Timedrift on VM with pv_clock enabled, causing system hangs and sporadic time behaviour [rhel-5.5.z]
601090 - time drift due to incorrect accounting of lost ticks with VXTIME_PMTMR mode and VXTIME_TSC mode if 'tick_divider' > 1 [rhel-5.5.z]
607087 - bnx2x panic dumps with multiple interfaces enabled [rhel-5.5.z]

6. Package List:

Red Hat Enterprise Linux Desktop (v. 5 client):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/kernel-2.6.18-194.8.1.el5.src.rpm

i386:
kernel-2.6.18-194.8.1.el5.i686.rpm
kernel-PAE-2.6.18-194.8.1.el5.i686.rpm
kernel-PAE-debuginfo-2.6.18-194.8.1.el5.i686.rpm
kernel-PAE-devel-2.6.18-194.8.1.el5.i686.rpm
kernel-debug-2.6.18-194.8.1.el5.i686.rpm
kernel-debug-debuginfo-2.6.18-194.8.1.el5.i686.rpm
kernel-debug-devel-2.6.18-194.8.1.el5.i686.rpm
kernel-debuginfo-2.6.18-194.8.1.el5.i686.rpm
kernel-debuginfo-common-2.6.18-194.8.1.el5.i686.rpm
kernel-devel-2.6.18-194.8.1.el5.i686.rpm
kernel-headers-2.6.18-194.8.1.el5.i386.rpm
kernel-xen-2.6.18-194.8.1.el5.i686.rpm
kernel-xen-debuginfo-2.6.18-194.8.1.el5.i686.rpm
kernel-xen-devel-2.6.18-194.8.1.el5.i686.rpm

noarch:
kernel-doc-2.6.18-194.8.1.el5.noarch.rpm

x86_64:
kernel-2.6.18-194.8.1.el5.x86_64.rpm
kernel-debug-2.6.18-194.8.1.el5.x86_64.rpm
kernel-debug-debuginfo-2.6.18-194.8.1.el5.x86_64.rpm
kernel-debug-devel-2.6.18-194.8.1.el5.x86_64.rpm
kernel-debuginfo-2.6.18-194.8.1.el5.x86_64.rpm
kernel-debuginfo-common-2.6.18-194.8.1.el5.x86_64.rpm
kernel-devel-2.6.18-194.8.1.el5.x86_64.rpm
kernel-headers-2.6.18-194.8.1.el5.x86_64.rpm
kernel-xen-2.6.18-194.8.1.el5.x86_64.rpm
kernel-xen-debuginfo-2.6.18-194.8.1.el5.x86_64.rpm
kernel-xen-devel-2.6.18-194.8.1.el5.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/kernel-2.6.18-194.8.1.el5.src.rpm

i386:
kernel-2.6.18-194.8.1.el5.i686.rpm
kernel-PAE-2.6.18-194.8.1.el5.i686.rpm
kernel-PAE-debuginfo-2.6.18-194.8.1.el5.i686.rpm
kernel-PAE-devel-2.6.18-194.8.1.el5.i686.rpm
kernel-debug-2.6.18-194.8.1.el5.i686.rpm
kernel-debug-debuginfo-2.6.18-194.8.1.el5.i686.rpm
kernel-debug-devel-2.6.18-194.8.1.el5.i686.rpm
kernel-debuginfo-2.6.18-194.8.1.el5.i686.rpm
kernel-debuginfo-common-2.6.18-194.8.1.el5.i686.rpm
kernel-devel-2.6.18-194.8.1.el5.i686.rpm
kernel-headers-2.6.18-194.8.1.el5.i386.rpm
kernel-xen-2.6.18-194.8.1.el5.i686.rpm
kernel-xen-debuginfo-2.6.18-194.8.1.el5.i686.rpm
kernel-xen-devel-2.6.18-194.8.1.el5.i686.rpm

ia64:
kernel-2.6.18-194.8.1.el5.ia64.rpm
kernel-debug-2.6.18-194.8.1.el5.ia64.rpm
kernel-debug-debuginfo-2.6.18-194.8.1.el5.ia64.rpm
kernel-debug-devel-2.6.18-194.8.1.el5.ia64.rpm
kernel-debuginfo-2.6.18-194.8.1.el5.ia64.rpm
kernel-debuginfo-common-2.6.18-194.8.1.el5.ia64.rpm
kernel-devel-2.6.18-194.8.1.el5.ia64.rpm
kernel-headers-2.6.18-194.8.1.el5.ia64.rpm
kernel-xen-2.6.18-194.8.1.el5.ia64.rpm
kernel-xen-debuginfo-2.6.18-194.8.1.el5.ia64.rpm
kernel-xen-devel-2.6.18-194.8.1.el5.ia64.rpm

noarch:
kernel-doc-2.6.18-194.8.1.el5.noarch.rpm

ppc:
kernel-2.6.18-194.8.1.el5.ppc64.rpm
kernel-debug-2.6.18-194.8.1.el5.ppc64.rpm
kernel-debug-debuginfo-2.6.18-194.8.1.el5.ppc64.rpm
kernel-debug-devel-2.6.18-194.8.1.el5.ppc64.rpm
kernel-debuginfo-2.6.18-194.8.1.el5.ppc64.rpm
kernel-debuginfo-common-2.6.18-194.8.1.el5.ppc64.rpm
kernel-devel-2.6.18-194.8.1.el5.ppc64.rpm
kernel-headers-2.6.18-194.8.1.el5.ppc.rpm
kernel-headers-2.6.18-194.8.1.el5.ppc64.rpm
kernel-kdump-2.6.18-194.8.1.el5.ppc64.rpm
kernel-kdump-debuginfo-2.6.18-194.8.1.el5.ppc64.rpm
kernel-kdump-devel-2.6.18-194.8.1.el5.ppc64.rpm

s390x:
kernel-2.6.18-194.8.1.el5.s390x.rpm
kernel-debug-2.6.18-194.8.1.el5.s390x.rpm
kernel-debug-debuginfo-2.6.18-194.8.1.el5.s390x.rpm
kernel-debug-devel-2.6.18-194.8.1.el5.s390x.rpm
kernel-debuginfo-2.6.18-194.8.1.el5.s390x.rpm
kernel-debuginfo-common-2.6.18-194.8.1.el5.s390x.rpm
kernel-devel-2.6.18-194.8.1.el5.s390x.rpm
kernel-headers-2.6.18-194.8.1.el5.s390x.rpm
kernel-kdump-2.6.18-194.8.1.el5.s390x.rpm
kernel-kdump-debuginfo-2.6.18-194.8.1.el5.s390x.rpm
kernel-kdump-devel-2.6.18-194.8.1.el5.s390x.rpm

x86_64:
kernel-2.6.18-194.8.1.el5.x86_64.rpm
kernel-debug-2.6.18-194.8.1.el5.x86_64.rpm
kernel-debug-debuginfo-2.6.18-194.8.1.el5.x86_64.rpm
kernel-debug-devel-2.6.18-194.8.1.el5.x86_64.rpm
kernel-debuginfo-2.6.18-194.8.1.el5.x86_64.rpm
kernel-debuginfo-common-2.6.18-194.8.1.el5.x86_64.rpm
kernel-devel-2.6.18-194.8.1.el5.x86_64.rpm
kernel-headers-2.6.18-194.8.1.el5.x86_64.rpm
kernel-xen-2.6.18-194.8.1.el5.x86_64.rpm
kernel-xen-debuginfo-2.6.18-194.8.1.el5.x86_64.rpm
kernel-xen-devel-2.6.18-194.8.1.el5.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2010-0291.html
https://www.redhat.com/security/data/cve/CVE-2010-0622.html
https://www.redhat.com/security/data/cve/CVE-2010-1087.html
https://www.redhat.com/security/data/cve/CVE-2010-1088.html
https://www.redhat.com/security/data/cve/CVE-2010-1173.html
https://www.redhat.com/security/data/cve/CVE-2010-1187.html
https://www.redhat.com/security/data/cve/CVE-2010-1436.html
https://www.redhat.com/security/data/cve/CVE-2010-1437.html
https://www.redhat.com/security/data/cve/CVE-2010-1641.html
http://www.redhat.com/security/updates/classification/#important
http://kbase.redhat.com/faq/docs/DOC-31052
http://www.redhat.com/docs/en-US/errata/RHSA-2010-0504/Kernel_Security_Update/index.html

8. Contact:

The Red Hat security contact is .  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2010 Red Hat, Inc.