Operating System:

[Solaris]

Published:

03 December 2007

Protect yourself against future threats.

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

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

                        ESB-2007.0970 -- [Solaris]
 A Security Vulnerability Resulting From Solaris 10 fcp(7D) and devfs(7FS)
   Interaction May Allow Certain File Operations to Cause a System Hang
                              3 December 2007

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

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

Product:              Fibre Channel Protocol driver
                      Devices File System
Publisher:            Sun Microsystems
Operating System:     Solaris 10
Impact:               Denial of Service
Access:               Existing Account

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

Comment: This vulnerability does not impact Solaris 8 or 9.

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

Sun(sm) Alert Notification
     * Sun Alert ID: 102947
     * Synopsis: A Security Vulnerability Resulting From Solaris 10
       fcp(7D) and devfs(7FS) Interaction May Allow Certain File
       Operations to Cause a System Hang
     * Category: Security
     * Product: Solaris 10 Operating System
     * BugIDs: 6526639
     * Avoidance: Patch
     * State: Resolved
     * Date Released: 29-Nov-2007
     * Date Closed: 29-Nov-2007
     * Date Modified: 

1. Impact

   A security vulnerability with Fibre Channel Protocol driver (fcp(7D))
   and Devices File System (devfs(7FS)) in Solaris 10 may allow a local
   unprivileged user to cause commands such as cfgadm(1M) or format(1M)
   to hang when run, or cause the system as a whole to hang. This is a
   type of denial of service (DoS) to the system.

   Note: This issue may also occur accidentally and not as a result of a
   Denial of Service attempt.

2. Contributing Factors

   This issue can occur in the following releases:

   SPARC Platform
     * Solaris 10 without patch 128491-01

   x86 Platform
     * Solaris 10 without patch 128492-01

   Note 1: Solaris 8 and Solaris 9 are not impacted by this issue.

   Note 2: This issue is due to a race condition between the Fibre
   Channel protocol driver (fcp(7D)) and the devfs(7FS) file system. When
   Solaris 10 first shipped, this condition was very unlikely to be seen
   and no occurrences were reported. However, the fibre channel device
   driver patch 119130-25 for SPARC systems and patch 119131-25 for
   x86 systems, introduces a retry mechanism in the driver which makes
   this issue more likely to occur.

   A system is only vulnerable to this issue if it is using fibre-channel
   attached storage which is managed by Sun's SAN Foundation Software
   (SFS) fibre channel stack using the fp(7d) driver.

   To determine if the fp(7d) driver is being used to manage
   fibre-channel attached storage, the following command can be used:
    $ egrep "/fp@.*/" /etc/path_to_inst|head -1
    "/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f3fbe1,0" 3 "ssd"
                              \_ fp driver is present in the device path

   If no output is produced from the above command, the system is not
   vulnerable to this issue.

3. Symptoms

   If the described issue occurs, commands such as cfgadm(1M) and
   format(1M) may hang indefinitely and attempts to kill them will fail.
   Alternatively, the system may completely hang. 

4. Relief/Workaround

   There is no workaround for this issue.

5. Resolution

   This issue is addressed in the following releases:

   SPARC Platform
     * Solaris 10 with patch 128491-01 or later

   x86 Platform
     * Solaris 10 with patch 128492-01 or later

   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-2006 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

iQCVAwUBR1NoSyh9+71yA2DNAQKvwwP/X+XnY8wDIH5FNWzaI+RTDOxSL68f6L15
ysso5GxeLVgxNuUVQk2LT524GOE6Q7mUrMipL+6xxdu+1ZcjjBDDcEUH/9z1Je4s
B/seh7UTOk+MPWqzl2KtcppdrsaUPVeSAoGzhxvh1RNuS31JjrKBAvq6mzipx6vR
AnH/Yxvy2vM=
=JSyh
-----END PGP SIGNATURE-----