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

Security Vulnerability in Solaris NFSv4 Kernel Module May Panic an NFSv4 Client System



Category
Security

Release Phase
Resolved

Bug Id
6847540

Product
Solaris 10 Operating System
OpenSolaris

Date of Resolved Release
15-Jul-2009

Security Vulnerability in Solaris NFSv4 Kernel Module May Panic an NFSv4 Client System

1. Impact

A security vulnerability in the Solaris NFSv4 kernel module may allow a local unprivileged user to panic an NFSv4 client system, thereby leading to a Denial of Service (DoS) condition.

2. Contributing Factors

SPARC Platform
  • Solaris 10 with patch 139466-02 or later and without patch 141733-03
  • OpenSolaris based upon builds snv_102 through snv_119
x86 Platform
  • Solaris 10 with patch 139467-02 or later and without patch 141734-03
  • OpenSolaris based upon builds snv_102 through snv_119
Notes:

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

2. Only those systems which have NFSv4 mounted file systems are impacted by this issue.

To determine if a system has NFSv4 mounted file systems, the following command may be executed:
$ nfsstat -m | grep "vers=4"
Flags: vers=4,proto=tcp,sec=sys,hard,intr,link,symlink,acl,rsize=1048576,wsize=1048576,retrans=5,timeo=600
NFSv4 mounted file systems include a "vers=4" field in the output of the nfsstat(1M) command.

3. 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 -v
snv_101
3. Symptoms

Should the described issue occur, the NFSv4 client system may panic with a stack trace similar to the following:
unix:die()
unix:trap()
unix:ktl0()
nfs:fn_move()
nfs:nfs4rename_persistent_fh()
nfs:nfs4rename()
genunix:fop_rename()
genunix:vn_renameat()
genunix:rename()
4. Workaround

To avoid this issue, use NFSv3 instead of NFSv4. The NFS client system can be configured not to use NFSv4 by setting NFS_CLIENT_VERSMAX=3 in /etc/default/nfs. Please refer to nfs(4) documentation.

5. Resolution

This issue is addressed in the following releases:

SPARC Platform
  • Solaris 10 with patch 141733-03 or later
  • OpenSolaris based upon builds snv_120 or later
x86 Platform
  • Solaris 10 with patch 141734-03 or later
  • OpenSolaris based upon builds snv_120 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.

References

141733-03
141734-03





Attachments
This solution has no attachment