Note: This is an archival copy of Security Sun Alert 268189 as previously published on http://sunsolve.sun.com.
Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1020967.1.
Article ID : 1020967.1
Article Type : Sun Alerts (SURE)
Last reviewed : 2009-12-03
Audience : PUBLIC
Copyright Notice: Copyright © 2010, Oracle Corporation and/or its affiliates.

Security Vulnerability in the Solaris IP(7p) Kernel Module May Allow Remote Users to Panic the System, Resulting in a Denial of Service (DoS)



Category
Security

Release Phase
Resolved

Bug Id
6877954

Product
OpenSolaris

Date of Resolved Release
04-Dec-2009

Security Vulnerability in the Solaris IP(7p) Kernel Module May Allow Remote Users to Panic the System, Resulting in a Denial of Service (DoS)

1. Impact

A race condition security vulnerability in Solaris IP(7p) Kernel Module may allow a local or remote unprivileged user to panic the system, resulting in a Denial of Service (DoS).

2. Contributing Factors

SPARC Platform
  • OpenSolaris based upon builds snv_106 through snv_124
x86 Platform
  • OpenSolaris based upon builds snv_106 through snv_124
Note: Solaris 8, Solaris 9 and Solaris 10 are not affected by this issue.

3. Symptoms

If the described issue occurs, the system may panic with a stack trace similar to the following:
tcp_do_getsockname()
tcp_getsockname()
so_getsockname()
Or:
tcp_do_getpeername()
tcp_getpeername()
so_getpeername()
4. Workaround

To work around the described issue, edit the "/etc/sock2path" file as the 'root' user and modify the following section:

From:

#     Family   Type  Protocol   Path|Module
            2           2           0             tcp
            2           2           6             tcp

           26          2           0             tcp
           26          2           6             tcp

To:

#     Family   Type  Protocol   Path|Module
            2           2           0         /dev/tcp
            2           2           6         /dev/tcp

           26          2           0         /dev/tcp6
           26          2           6         /dev/tcp6

Note: iscsitgtd(1M) and ssh(1) are the Solaris services known to be affected by this issue and they should restarted by running the following commands as the root user after the "/etc/sock2path" file is edited:
# svcadm restart svc:/system/iscsitgt:default

# svcadm restart svc:/network/ssh:default
Other third party network services may be affected by this issue and they should be restarted for the workaround to be effective.

5. Resolution

SPARC Platform
  • OpenSolaris based on builds snv_125 or later
x86 Platform
  • OpenSolaris based on builds snv_125 or later
For more information on Security Sun Alerts, see 1009886.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-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.











Attachments
This solution has no attachment