Alerts This Week
Warning Icon 1 758
Alerts This Week
Warning Icon 1 758

Red Hat: RHSA-2009:1239-01 Critical: Local DoS and Privilege Escalation

red hat
Calendar Grey September 1, 2009
Dist Redhat Esm H88
The recent stable kernel-rt updates for Red Hat address several vital vulnerabilities and significant defects, bolstering overall security measures.
Updated kernel-rt packages that fix several security issues and various bugs are now available for Red Hat Enterprise MRG 1.1. This update has been rated as having important secu...

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

Summary

The kernel-rt packages contain the Linux kernel, the core of any Linux operating system.
These updated packages fix the following security issues:
* the ADDR_COMPAT_LAYOUT and MMAP_PAGE_ZERO flags were not cleared when a setuid or setgid program was executed. A local, unprivileged user could use this flaw to bypass the mmap_min_addr protection mechanism and perform a NULL pointer dereference attack, or bypass the Address Space Layout Randomization (ASLR) security feature. (CVE-2009-1895, Important)
* Tavis Ormandy and Julien Tinnes of the Google Security Team reported a flaw in the SOCKOPS_WRAP macro in the Linux kernel. This macro did not initialize the sendpage operation in the proto_ops structure correctly. A local, unprivileged user could use this flaw to cause a local denial of service or escalate their privileges. (CVE-2009-2692, Important)
* it was discovered that, when executing a new process, the clear_child_tid pointer in the Linux kernel is not cleared. If this pointer points to a writable portion of the memory of the new program, the kernel could corrupt four bytes of memory, possibly leading to a local denial of service or privilege escalation. (CVE-2009-2848, Important)
* a flaw was found in the way the do_sigaltstack() function in the Linux kernel copies the stack_t structure to user-space. On 64-bit machines, this flaw could lead to a four-byte information leak. (CVE-2009-2847, Moderate)
This update also fixes the following bugs:
* the gcc flag "-fno-delete-null-pointer-checks" was added to the kernel build options. This prevents gcc from optimizing out NULL pointer checks after the first use of a pointer. NULL pointer bugs are often exploited by attackers, and keeping these checks is considered a safety measure. (BZ#511187)
* a bug in the locking strategy for the free_pages_bulk() kernel function was found, where a lock in a code branch was not held. This could have created a "double free" problem that resulted in a kernel panic. (BZ#513715)
* udevd and multipathd were unable to service events fast enough when a Fibre Channel cable was unplugged. This caused the cable state to be out of sync if the cable was plugged back in quickly, possibly resulting in devices being removed, or path issues when using Device-Mapper Multipath. This has been changed so that users can specify devices that should not be removed if a cable is unplugged. (BZ#514541)
* a race condition in exit_thread() could have eventually caused a kernel oops. (BZ#514587)
* a race condition was fixed between kthread_stop() and kthread_create(). Kernel subsystems creating and stopping threads at a fast pace could hit this issue. Several inexplicable backtraces observed during tests caused this race condition. (BZ#518967)
* HPET_EMULATE_RTC was being disabled during kernel compile. This was caused by an incorrect requirement in the related Kconfig entry. This issue led to failures when accessing the RTC (real time clock) in machines that had the RTC emulated by HPET (High Precision Event Timer). (BZ#519433)
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.

References

https://www.cve.org/CVERecord?id=CVE-2009-1895 https://www.cve.org/CVERecord?id=CVE-2009-2692 https://www.cve.org/CVERecord?id=CVE-2009-2847 https://www.cve.org/CVERecord?id=CVE-2009-2848 https://access.redhat.com/security/updates/classification#important

Package List

MRG Realtime for RHEL 5 Server:
Source:
i386: kernel-rt-2.6.24.7-132.el5rt.i686.rpm kernel-rt-debug-2.6.24.7-132.el5rt.i686.rpm kernel-rt-debug-debuginfo-2.6.24.7-132.el5rt.i686.rpm kernel-rt-debug-devel-2.6.24.7-132.el5rt.i686.rpm kernel-rt-debuginfo-2.6.24.7-132.el5rt.i686.rpm kernel-rt-debuginfo-common-2.6.24.7-132.el5rt.i686.rpm kernel-rt-devel-2.6.24.7-132.el5rt.i686.rpm kernel-rt-trace-2.6.24.7-132.el5rt.i686.rpm kernel-rt-trace-debuginfo-2.6.24.7-132.el5rt.i686.rpm kernel-rt-trace-devel-2.6.24.7-132.el5rt.i686.rpm kernel-rt-vanilla-2.6.24.7-132.el5rt.i686.rpm kernel-rt-vanilla-debuginfo-2.6.24.7-132.el5rt.i686.rpm kernel-rt-vanilla-devel-2.6.24.7-132.el5rt.i686.rpm
noarch: kernel-rt-doc-2.6.24.7-132.el5rt.noarch.rpm
x86_64: kernel-rt-2.6.24.7-132.el5rt.x86_64.rpm kernel-rt-debug-2.6.24.7-132.el5rt.x86_64.rpm kernel-rt-debug-debuginfo-2.6.24.7-132.el5rt.x86_64.rpm kernel-rt-debug-devel-2.6.24.7-132.el5rt.x86_64.rpm kernel-rt-debuginfo-2.6.24.7-132.el5rt.x86_64.rpm kernel-rt-debuginfo-common-2.6.24.7-132.el5rt.x86_64.rpm kernel-rt-devel-2.6.24.7-132.el5rt.x86_64.rpm kernel-rt-trace-2.6.24.7-132.el5rt.x86_64.rpm kernel-rt-trace-debuginfo-2.6.24.7-132.el5rt.x86_64.rpm kernel-rt-trace-devel-2.6.24.7-132.el5rt.x86_64.rpm

Read the Full Advisory


Severity
important
Lowest
Low
Medium
High
Critical

Advisory ID: RHSA-2009:1239-01
Product: Red Hat Enterprise MRG for RHEL-5
Issue date: 2009-09-01

Topic

Updated kernel-rt packages that fix several security issues and various bugs are now available for Red Hat Enterprise MRG 1.1.

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

Relevant Releases Architectures

MRG Realtime for RHEL 5 Server - i386, noarch, x86_64

Bugs Fixed

511171 - CVE-2009-1895 kernel: personality: fix PER_CLEAR_ON_SETID

511187 - kernel: build with -fno-delete-null-pointer-checks [mrg-1]

514541 - [FOCUS] [MRG-1] When the dev_loss_tmo fires don't remove devices by default.

515392 - CVE-2009-2847 kernel: information leak in sigaltstack

515423 - CVE-2009-2848 kernel: execve: must clear current->clear_child_tid

516949 - CVE-2009-2692 kernel: uninit op in SOCKOPS_WRAP() leads to privesc

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here