=====================================================================
                                    CERT-Renater

                         Note d'Information No. 2007/VULN473
_____________________________________________________________________

DATE                      : 03/12/2007

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Solaris 10.

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

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

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

           =========================================================
           Les serveurs de référence du CERT-Renater
           http://www.urec.fr/securite
           http://www.cru.fr/securite
           http://www.renater.fr
           =========================================================
           + CERT-RENATER          | tel : 01-53-94-20-44          +
           + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
           + 75013 Paris           | email: certsvp@renater.fr     +
           =========================================================






