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

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

                        ESB-2009.0033 -- [Solaris]
         Security Vulnerability in aio_suspend(3RT) May Lead to a
           System Panic, Resulting in a Denial of Service (DoS)
                              12 January 2009

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

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

Product:              Solaris
                      OpenSolaris
Publisher:            Sun Microsystems
Operating System:     Solaris
                      OpenSolaris
Impact:               Denial of Service
Access:               Existing Account

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

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

   Solution Type: Sun Alert
   Solution  247986 :   Security Vulnerability in aio_suspend(3RT) May
   Lead to a System Panic, Resulting in a Denial of Service (DoS)          
   Bug ID: 6748772

   Product
   Solaris 8 Operating System
   Solaris 9 Operating System
   Solaris 10 Operating System
   OpenSolaris

   Date of Workaround Release: 09-Jan-2009

   SA Document Body
   Security vulnerability in aio_suspend(3RT) may lead to a system panic, 
   resulting in a Denial of Service (DoS):

   1. Impact
   An integer overflow security vulnerability in aio_suspend(3RT) may
   allow a local unprivileged user to panic systems running in 32 bit
   mode, thereby resulting in a Denial of Service (DoS) condition.
   This issue is also mentioned in the following document:
     * http://www.trapkit.de/advisories/TKADV2009-001.txt

   Sun acknowledges with thanks, Tobias Klein (http://www.trapkit.de/)
   for bringing this issue to our attention.
   
   2. Contributing Factors
   This issue can occur in the following releases:
   SPARC Platform
     * Solaris 8 without patch 117350-59
     * Solaris 9 without patch 138577-01
     * Solaris 10 without patch 121394-02
     * OpenSolaris based upon builds snv_01 and later

   x86 Platform
     * Solaris 8 without patch 117351-59
     * Solaris 9 without patch 138578-01
     * Solaris 10 without patch 121395-02
     * OpenSolaris based upon builds snv_01 and later

   Note 1: The function aio_suspend() is described in the man page
   section 3C in OpenSolaris builds 2008.05 and later.
   Note 2: OpenSolaris distributions may include additional bug fixes
   above and beyond the build from which it was derived. To determine the
   base build of OpenSolaris, the following command can be used:
    $ uname -v
    snv_86

   Note 3:  This issue only impacts systems that are running in 32 bit
   mode. To determine if a system is running in 32 bit mode, execute the
   following command:
    $ isainfo -b
    32

   If "32" is returned, the system is running in 32-bit mode.
  
   3. Symptoms
   If the described issue occurs, the system may panic with a stack trace
   similar to the following:
    panic[cpu0]/thread=d4764de0:
    vmem_xalloc(): size == 0
    d418cd94 genunix:vmem_xalloc+2d8 (fec66738, 0, 1000, )
    d418cdd0 genunix:vmem_alloc+135 (fec66738, 0, 1)
    d418cdfc unix:segkmem_xalloc+2d (fec66738, 0, 0, 1, )
    d418ce28 unix:segkmem_alloc_vn+b7 (fec66738, 0, 1, fec)
    d418ce40 unix:segkmem_alloc+16 (fec66738, 0, 1)
    d418ce8c genunix:vmem_xalloc+3b4 (da004690, fffffffc,)
    d418cec8 genunix:vmem_alloc+135 (da004690, fffffffc,)
    d418cee4 genunix:kmem_alloc+32 (fffffffc, 1)
    d418cf30 kaio:aiosuspend+a6 (0, 3fffffff, 0, 0, )
    d418cf64 kaio:kaio+162 (d418cf8c, d418cf78)
    d418cf84 genunix:syscall_ap+4d (8, 0, 3fffffff, 0, )

   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 8 with patch 117350-59 or later
     * Solaris 9 with patch 138577-01 or later
     * Solaris 10 with patch 121394-02 or later

   x86 Platform
     * Solaris 8 with patch 117351-59 or later
     * Solaris 9 with patch 138578-01 or later
     * Solaris 10 with patch 121395-02 or later

   A final resolution is pending completion for OpenSolaris.

   For more information on Security Sun Alerts, see Technical
   Instruction ID 213557.
   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

iQCVAwUBSWqpnCh9+71yA2DNAQI9lQQAiD5jIEc+1E+vEIB2kiIezN8F/bqvGPCR
oKccfVJ/1uhKhr9FnG0c1OK+sYAE9UNG0HmgQ10Nv8SI5IWh12zpf95ipzFIGAYi
RY8beUa9gvfdWvLb3YS/JANQ6zxAnEzA3WVs2dPwpB3ksuuXH+0jYqIJ+I26OdTc
bbCXwcd+3Dw=
=vJ1f
-----END PGP SIGNATURE-----