Security Advisory Important: kernel security and bug fix update

Advisory: RHSA-2008:0585-24
Type: Security Advisory
Severity: Important
Issued on: 2008-08-26
Last updated on: 2008-08-26
Affected Products: Red Hat Enterprise MRG v1 for Red Hat Enterprise Linux (version 5)
OVAL: N/A
CVEs (cve.mitre.org): CVE-2007-5966
CVE-2007-6282
CVE-2007-6712
CVE-2008-1615
CVE-2008-2136
CVE-2008-2148
CVE-2008-2372
CVE-2008-2729
CVE-2008-2826

Details

Updated kernel packages that fix several security issues and several bugs
are now available for Red Hat Enterprise MRG 1.0.

This update has been rated as having important security impact by the Red
Hat Security Response Team.

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

These updated packages fix the following security issues:

* the possibility of a timeout value overflow was found in the Linux kernel
high-resolution timers functionality, hrtimer. This could allow a local
unprivileged user to execute arbitrary code, or cause a denial of service
(kernel panic). (CVE-2007-5966, Important)

* the possibility of a kernel crash was found in the Linux kernel IPsec
protocol implementation, due to improper handling of fragmented ESP
packets. When an attacker controlling an intermediate router fragmented
these packets into very small pieces, it would cause a kernel crash on the
receiving node during packet reassembly. (CVE-2007-6282, Important)

* on 64-bit architectures, the possibility of a timer-expiration value
overflow was found in the Linux kernel high-resolution timers
functionality, hrtimer. This could allow a local unprivileged user to set
up a large interval value, forcing the timer expiry value to become
negative, causing a denial of service (kernel hang).
(CVE-2007-6712, Important)

* on AMD64 architectures, the possibility of a kernel crash was discovered
by testing the Linux kernel process-trace ability. This could allow a local
unprivileged user to cause a denial of service (kernel crash).
(CVE-2008-1615, Important)

* a possible kernel memory leak was found in the Linux kernel Simple
Internet Transition (SIT) INET6 implementation. This could allow a local
unprivileged user to cause a denial of service. (CVE-2008-2136, Important)

* a flaw was found in the Linux kernel utimensat system call. File
permissions were not checked when UTIME_NOW and UTIME_OMIT combinations
were used. This could allow a local unprivileged user to modify file times
of arbitrary files, possibly leading to a denial of service.
(CVE-2008-2148, Important)

* a security flaw was found in the Linux kernel memory copy routines, when
running on certain AMD64 architectures. If an unsuccessful attempt to copy
kernel memory from source to destination memory locations occurred, the
copy routines did not zero the content at the destination memory location.
This could allow a local unprivileged user to view potentially sensitive
data. (CVE-2008-2729, Important)

* Gabriel Campana discovered a possible integer overflow flaw in the Linux
kernel Stream Control Transmission Protocol (SCTP) implementation. This
deficiency could lead to privilege escalation. (CVE-2008-2826, Important)

* a deficiency was found in the Linux kernel virtual memory implementation.
This could allow a local unprivileged user to make a large number of calls
to the get_user_pages function, possibly causing a denial of service.
(CVE-2008-2372, Low)

Also, these updated packages fix the following bugs:

* gdb set orig_rax to 0x00000000ffffffff, which is recognized by the
upstream kernel as "-1", but not by the Red Hat Enterprise MRG kernel.

* if the POSIX timer was programmed to fire immediately, the timer's
signal was sometimes not delivered (timer does not fire).

* rwlock caused crashes and application hangs.

* running oprofile caused system panics.

* threads releasing a mutex may have received an EPERM error.

* booting the RT kernel with the "nmi_watchdog=2" kernel option caused a
kernel panic, and an "Unable to handle kernel paging request" error.

* "echo 0 > /sys/devices/system/cpu/cpu1/online" caused crashes.

* a crash on a JTC machine.

* added a new "FUTEX_WAIT_BITSET" system call, identical to FUTEX_WAIT,
that accepts absolute time as a timeout.

Red Hat Enterprise MRG 1.0 users are advised to upgrade to these updated
packages, which contain backported patches to resolve these issues.


Solution

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

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

Updated packages

Red Hat Enterprise MRG v1 for Red Hat Enterprise Linux (version 5)

SRPMS:
kernel-rt-2.6.24.7-74.el5rt.src.rpm
File outdated by:  RHSA-2009:1540
    8ee5870f23a86c4aed65a4c665a555a3
 
IA-32:
kernel-rt-2.6.24.7-74.el5rt.i686.rpm
File outdated by:  RHSA-2009:1540
    2ab580fd8321ee7ac83f176860b8c5d9
kernel-rt-debug-2.6.24.7-74.el5rt.i686.rpm
File outdated by:  RHSA-2009:1540
    b4e6e6dd56020a1c0e45f89739f85e15
kernel-rt-debug-devel-2.6.24.7-74.el5rt.i686.rpm
File outdated by:  RHSA-2009:1540
    5d2448ebc900313d84524b10e541b2ce
kernel-rt-devel-2.6.24.7-74.el5rt.i686.rpm
File outdated by:  RHSA-2009:1540
    b2b52c2ae3dac58091753c2f56ab771c
kernel-rt-doc-2.6.24.7-74.el5rt.noarch.rpm
File outdated by:  RHSA-2009:1540
    2812ee0025f50413bb6bed48d77a1521
kernel-rt-trace-2.6.24.7-74.el5rt.i686.rpm
File outdated by:  RHSA-2009:1540
    54bc329c577bd31d36739c6b2d87a3d4
kernel-rt-trace-devel-2.6.24.7-74.el5rt.i686.rpm
File outdated by:  RHSA-2009:1540
    91c6b484b03f0fe50e35672e14b7ca1c
kernel-rt-vanilla-2.6.24.7-74.el5rt.i686.rpm
File outdated by:  RHSA-2009:1540
    f1ec939cd002131050eaaa8cbe91d5e0
kernel-rt-vanilla-devel-2.6.24.7-74.el5rt.i686.rpm
File outdated by:  RHSA-2009:1540
    492aecfe9883f4e785b6fb0db8fc36ab
 
x86_64:
kernel-rt-2.6.24.7-74.el5rt.x86_64.rpm
File outdated by:  RHSA-2009:1540
    303669750fa50cda7706854b2ec1fef5
kernel-rt-debug-2.6.24.7-74.el5rt.x86_64.rpm
File outdated by:  RHSA-2009:1540
    0c4a880e6d73fc259a552414e46dc5ab
kernel-rt-debug-devel-2.6.24.7-74.el5rt.x86_64.rpm
File outdated by:  RHSA-2009:1540
    2a1c4100d120b5dca214ded80e3f8eba
kernel-rt-devel-2.6.24.7-74.el5rt.x86_64.rpm
File outdated by:  RHSA-2009:1540
    79e5982c0cbdfb56c0e955c533013521
kernel-rt-doc-2.6.24.7-74.el5rt.noarch.rpm
File outdated by:  RHSA-2009:1540
    2812ee0025f50413bb6bed48d77a1521
kernel-rt-trace-2.6.24.7-74.el5rt.x86_64.rpm
File outdated by:  RHSA-2009:1540
    31e7610d22971df2660cfb13aa5c0cf6
kernel-rt-trace-devel-2.6.24.7-74.el5rt.x86_64.rpm
File outdated by:  RHSA-2009:1540
    35780df0f627d4b94b884cec24813310
kernel-rt-vanilla-2.6.24.7-74.el5rt.x86_64.rpm
File outdated by:  RHSA-2009:1540
    61e780025e29a0eafe8be949d351fc06
kernel-rt-vanilla-devel-2.6.24.7-74.el5rt.x86_64.rpm
File outdated by:  RHSA-2009:1540
    f218efbe570b20789f75b83b14f68e57
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

404291 - CVE-2007-6282 IPSec ESP kernel panics
429290 - provide a futex syscall command similiar to FUTEX_WAIT with takes absolute timeout
431430 - CVE-2008-1615 kernel: ptrace: Unprivileged crash on x86_64 %cs corruption
439999 - CVE-2007-6712 kernel: infinite loop in highres timers (kernel hang)
446031 - CVE-2008-2136 kernel: sit memory leak
446060 - kernel: sched_fair.c simplify sched_slice()
446397 - java testcase hangs on 2.6.24.7-52ibmrt2.3 kernel
446777 - pthread_mutex_unlock returns EPERM due to earlier EFAULT from futex lock
449676 - Turning a CPU offline causes panic
451271 - CVE-2008-2729 kernel: [x86_64] The string instruction version didn't zero the output on exception.
452478 - CVE-2008-2826 kernel: sctp: sctp_getsockopt_local_addrs_old() potential overflow
452666 - CVE-2008-2372 kernel: Reinstate ZERO_PAGE optimization in 'get_user_pages()' and fix XIP
452692 - crash with 2.6.24.7-65.el5rt
452693 - POSIX timer set to fire immediately does not fire
452974 - [24][FOCUS] plist_add/del crash with 2.6.24.7-65ibmrt2.4 kernel
453135 - CVE-2007-5966 Non-root can trigger cpu_idle soft lockup (tickless kernel only)
453677 - nmi_watchdog=2 crashes the RT kernel on boot up
454913 - [Realtime][Kernel] LTP test failure in sched_rr_get_interval02 testcase
455275 - CVE-2008-2148 kernel: fix permission checking in sys_utimensat
455747 - Oops when running oprofile


References



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

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