-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                        ESB-2008.0781 -- [Solaris]
 Security Vulnerabilities in the Solaris Priority Inherited pthread mutex
           API May Result in a Denial of Service (DoS) Condition
                              11 August 2008

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:              pthread mutex API
Publisher:            Sun Microsystems
Operating System:     Solaris
Impact:               Denial of Service
Access:               Existing Account
CVE Names:            CVE-2008-3549

Original Bulletin:  
  http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-239387-1

Revision History:     August 11 2008: Added CVE
                      August  7 2008: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------

   Solution Type: Sun Alert
   Solution  239387 :   Security Vulnerabilities in the Solaris Priority
   Inherited pthread mutex API May Result in a Denial of Service (DoS)
   Condition          
   Bug ID: 6688233

   Product
   Solaris 10 Operating System
   OpenSolaris

   Date of Resolved Release: 05-Aug-2008

   SA Document Body
   Due to a security vulnerability in Solaris   (see below for full details)

   1. Impact

   Due to a security vulnerability in Solaris, usage of the
   pthread_mutex_reltimedlock_np(3C) API by a local unprivileged user
   or by an application, when the API is used in a particular way, can
   cause the system to hang or, if the deadman feature is enabled, to
   panic.
   This leads to a Denial of Service (DoS) condition.

   2. Contributing Factors

   This issue can occur in the following releases:
   SPARC Platform
     * Solaris 10 without patch 137111-04
     * OpenSolaris based upon builds snv_01 through snv_89

   x86 Platform
     * Solaris 10 without patch 137112-04
     * OpenSolaris based upon builds snv_01 through snv_89

   Notes: Solaris 8 and Solaris 9 are not impacted by this issue.
   If the deadman feature is enabled on a system, the kernel variable 
   "snooping" will have a value of one (1). To determine the value of 
   the "snooping" kernel variable, run the following command:
   # echo "snooping/X" | mdb -k
   OpenSolaris distributions may include additional bug fixes above and
   beyond the build from which it was derived. The base build can be derived 
   as follows:
   $ uname -a
   SunOS  phys-node-1 5.11 snv_86 i86pc i386 i86pc

   3. Symptoms

   If the described issue occurs, the system will hang.
   On a system with deadman enabled the system will panic with
   the message:
           deadman: timed out after 50 seconds of clock inactivity
   In both cases a crash dump will reveal that there are one or
   more threads running on the cpu with the following stack:
   genunix:thread_lock_high+44()
   genunix:turnstile_pi_waive+11()
   genunix:turnstile_wakeup+57()
   unix:mutex_vector_exit+5()
   genunix:turnstile_block+404()
   genunix:lwp_upimutex_lock+154()
   genunix:lwp_mutex_timedlock+5e5()

   4. Workaround

   There is no workaround for this issue. Please see the 
   "Resolution" section below.

   5. Resolution

   This issue is addressed in the following releases:
   SPARC Platform
     * Solaris 10 with patch 137111-04 or later
     * OpenSolaris based upon builds snv_90 or later

   x86 Platform
     * Solaris 10 with patch 137112-04 or later
     * OpenSolaris based upon builds snv_90 or later

   For more information on Security Sun Alerts, see Technical Instruction
   ID 213557:
   http://sunsolve.sun.com/search/document.do?assetkey=1-61-213557-1

   This Sun Alert notification is being provided to you on an "AS IS"
   basis. This Sun Alert notification may contain information provided by
   third parties. The issues described in this Sun Alert notification may
   or may not impact your system(s). Sun makes no representations,
   warranties, or guarantees as to the information contained herein. ANY
   AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
   WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
   NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT
   YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT,
   INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE
   OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN.
   This Sun Alert notification contains Sun proprietary and confidential
   information. It is being provided to you pursuant to the provisions of
   your agreement to purchase services from Sun, or, if you do not have
   such an agreement, the Sun.com Terms of Use. This Sun Alert
   notification may only be used for the purposes contemplated by these
   agreements.
   Copyright 2000-2008 Sun Microsystems, Inc., 4150 Network Circle, Santa
   Clara, CA 95054 U.S.A. All rights reserved

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBSJ+2Syh9+71yA2DNAQKN5wP9H6rrQaD6QbNvHUconAJ1T0OqhdSCHwYZ
T6qA5TMoRm5p21PjNr7mDxFJOFwcdupPErqbOs0KgbV7yXgZbH3uL2cMA/HQpvn7
E6Or0O3toNEfASGzI2eYDiBm7X3QwWYsGwBwwItaxXhq/5Qr5HPy2uA2jFzJO940
7seL3AwGigA=
=ojZk
-----END PGP SIGNATURE-----