OBSOLETE Patch-ID# 113318-35


Download this patch from My Oracle Support

Your use of the firmware, software and any other materials contained in this update is subject to My Oracle Support Terms of Use, which may be viewed at My Oracle Support.
For further information on patching best practices and resources, please see the following links:
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.

Keywords: security nfs auto_mount nfs vpn autofs deadlock nfs_fhbcmp nfssrv mount
Synopsis: Obsoleted by: 122300-41 SunOS 5.9: NFS & autofs patch
Date: Mar/09/2009


Install Requirements: After installing this patch on an active boot environment, the system will be in a potentially inconsistent state until a reconfigure reboot is performed. Unless otherwise specified in the Special Install Instructions below, it is normally safe to apply further patches prior to initiating the reboot due to the relatively small footprint of the patch utilities. Normal operations must not be resumed until after the reconfigure reboot is performed.
Use Single User Mode (run level S) when installing this patch on an active boot environment. An alternative may be specified in the Special Install Instructions.

Solaris Release: 9

SunOS Release: 5.9

Unbundled Product:

Unbundled Release:

Xref: This patch available for x86 as patch 116053

Topic: SunOS 5.9: NFS & autofs patch
	*********************************************************************
	NOTE: This patch may contain one or more OEM-specific platform ports.
	      See the appropriate OEM_NOTES file within the patch for
	      information specific to these platforms.
	      DO NOT INSTALL this patch on an OEM system if a corresponding
	      OEM_NOTES file is not present (or is present, but instructs not
	      to install the patch), unless the OEM vendor directs otherwise.
	*********************************************************************


Relevant Architectures: sparc sparc.sun4u

Bugs fixed with this patch:

Sun CR # Bug #
404429514936850
440766915050485
442797115057246
446548815066690
447119915068662
451910215084653
453166215088536
463144915095367
465831615101757
466474015103440
468019515106676
468330815107334
470603615112738
471641315115301
472557415117561
473670615120597
474726115123772
475742715126834
475934115127365
476876015130329
477446215132139
481649615145725
483728515152283
483729015152287
485226915156721
485768315158432
485798615158527
486573115160595
486598215160658
490138015171172
490346515171786
493230515179791
495596215185954
496033615187183
497687515191752
498716915194689
500282615198211
501167615200830
501422915201629
501680815202372
507044815217497
508254015221551
508313315221757
510501015228489
618624915234242
619051915235087
619427115236274
622476415247443
626224915262567
626614015264148
627730715268435
634243015294347
636875315305176
642134015328546
650354715366469
653414715383849
653755315385841
655484115395365
656623915401982
657830215408575
659102415415600
668713415472041
671001915484812


Changes incorporated in this version: 6503547 6710019

Patches accumulated and obsoleted by this patch: 112955-04 113222-06 115249-01 115253-02 117175-02

Patches which conflict with this patch:

Patches required with this patch: 112908-31 (or greater)

Obsoleted by: 122300-41

Files included with this patch:

/etc/fs/nfs/mount
/kernel/fs/autofs
/kernel/fs/nfs
/kernel/fs/sparcv9/autofs
/kernel/fs/sparcv9/nfs
/kernel/misc/nfssrv
/kernel/misc/rpcsec
/kernel/misc/rpcsec_gss
/kernel/misc/sparcv9/nfssrv
/kernel/misc/sparcv9/rpcsec
/kernel/misc/sparcv9/rpcsec_gss
/kernel/sys/nfs
/kernel/sys/sparcv9/nfs
/usr/include/nfs/nfs.h
/usr/include/nfs/nfs_clnt.h
/usr/include/nfs/rnode.h
/usr/lib/autofs/automountd
/usr/lib/fs/nfs/mount
/usr/lib/fs/nfs/share
/usr/lib/rpcsec.so.1
/usr/lib/sparcv9/rpcsec.so.1

Problem Description:

6503547 deadlock between utilities accessing /proc and processes using NFS
6710019 automountd might dump core if NFS URL is used
 
(from 113318-34)
 
6687134 autofs xdr processing problems
 
(from 113318-33)
 
6566239 nfslog_logbuffer_rename causes nfslogd self deadlock
6578302 nfs3readdirplus updates DNLC asynchronously causing stale filehandles
 
(from 113318-32)
 
6186249 NFS server should not rely on gsscred mapping root princs to UID 0
6591024 kadmind vulnerable to stack buffer overflow in RPCSEC_GSS [MITKRB-SA-2007-006]
 
(from 113318-31)
 
6554841 rpcsec_gss library vulnerability [MITKRB5-SA-2007-004]
 
(from 113318-30)
 
6537553 fix for CR 5014229 needs to be improved in Solaris 9
 
(from 113318-29)
 
6534147 vulnerability in the NFS ACL code may lead to kernel panic
 
(from 113318-28)
 
4857683 silent data corruption writing to NFS file system mounted with nocto
5014229 simultaneously writing to a file shared through NFS produces garbage
6266140 EBUSY errors during unmounting NFS filesystem
 
(from 113318-27)
 
6421340 nfssrv:nfslog_write_logrecords() does not release vnode rwlock on ENOSPC condition..recursive rwenter
 
(from 113318-26)
 
6194271 acl3_getxattrdir / acl2_getxattrdir are missing a VN_RELE
6368753 need a patch solution to 4522909 automountd hangs with executable maps
 
(from 113318-25)
 
6342430 NFS client doesn't notice change of file in server because of bugfix 4407669
 
(from 113318-24)
 
6190519 Solaris 9 NFS client mounting filesystem using NFS V3 hangs on directory with pre-epoch timestamps
 
(from 113318-23)
 
4706036 rename over NFS is slow and CPU intensive
6262249 negative filehandle length can cause nfs3_mount system call to panic
 
(from 113318-22)
 
4955962 bug in handling NFS operations on STALE files
6224764 Solaris 9 df -k fails over NFS lofs with df: cannot canonicalize .: No such file or directory
 
(from 113318-21)
 
6277307 Solaris 9 x86 patch 117176-02 breaks NFS
 
(from 113318-20)
 
5105010 VOP_PATHCONF incorrectly calculates maxfilesize, causing problems for cachefs
 
(from 113318-19)
 
        This revision a respin of the previous one. This includes dependencies
        not addressed in the prior revision.
 
(from 113318-18)
 
4837290 VPN clients using non-static IPs do not have fully qualified host principal name
 
(from 113318-17)
 
4960336 NFS mmap(2) does not have consistent behavior to local FSs with DirectIO
 
(from 113318-16)
 
5002826 cthon04: nfsv2 client fails to mount from redhat server
 
(from 113318-15)
 
4976875 under some circumstances using ln and mv file vanished
 
(from 113318-14)
 
4857986 rm -rf on very large NFS trees can take a very long time
5082540 NFS client sends huge number of packets after failover
 
(from 113318-13)
 
4932305 NFS client threads may be stopped while holding directory locks
5016808 all NFS client callers of cv_wait_sig() should be safe
4987169 nfs3_readdir calls cv_wait_sig() with rwlock held
 
(from 113318-12)
 
4903465 advancing mtime triggers looping calls to nfs_purge_caches()
 
(from 113318-11)
 
4865982 find command is much slower in Solaris 9 than Solaris 8
 
(from 113318-10)
 
4736706 crash dump due to NULL pointer dereference in module NFS
 
(from 113318-09)
 
4865731 VOP_READDIR returns uninitialized data on most filesystems
 
(from 113318-08)
 
        This revision accumulates S9U5 feature point patch 115249-01.
 
(from 113318-07)
 
4407669 spurious cache invalidation on large writes
 
(from 113318-06)
 
4768760 automountd hangs if NFS threads receive NFS3ERR_JUKEBOX
 
(from 113318-05)
 
4774462 improve NFS access cache lock(nfs_acache_lock) performance
 
(from 113318-04)
 
4816496 mmap() fails for file with an advisory lock on entire file
 
(from 113318-03)
 
4680195 panic/race condition in destroy_rtable()
 
(from 113318-02)
 
4044295 NFS hang waiting for locked page
4465488 ps/prgetpsinfo32 hangs if NFS server doesn't respond
4725574 locking succeeded when the file is mapped
4664740 NFS extremely slow on SunBlade 1000s and 2000s
 
(from 113318-01)
 
4427971 mnttab corruption when using direct automount still shows up with patch 110700
4658316 need to revamp bugfix 4356440 to work with other operating systems
 
(from 115249-01)
 
4519102 direct I/O should allow concurrent writes
4747261 NFSv3 transfer sizes need to be increased
4757427 NFS server serializes write requests
 
(from 112955-04)
 
4837290 VPN clients using non-static IPs do not have fully qualified host principal name
4837285 HA-NFS under Sun Cluster and Kerberos must inter-operate
 
(from 112955-03)
 
5070448 stack overflow in autofs thread, stack size is not configurable
 
(from 112955-02)
 
4865731 VOP_READDIR returns uninitialized data on most filesystems
 
(from 112955-01)
 
4471199 autofs deadlock when a thread was allowed to stop() while holding mutex
4631449 race condition in autofs: between auto_perform_link and auto_search
 
(from 113222-06)
 
4837285 HA-NFS under Sun Cluster and Kerberos must inter-operate
5083133 nfssrv module fills up /var after nfslogd failed to process buffer file
 
(from 113222-05)
 
5011676 nfssrv: undefined symbol 'rfs3_tsize' after installing patch 113222-04
 
(from 113222-04)
 
        This revision accumulates S9U5 feature point patch 115253-02.
 
(from 113222-03)
 
4716413 rfs3_symlink() does not check for symlink_data == nfs3nametoolong
 
(from 113222-02)
 
4683308 strange deadlock involving threads doing nfslog_records_flush_to_disk
 
(from 113222-01)
 
4531662 bad trap mmu miss in nfs_fhbcmp
4658316 need to revamp bugfix 4356440 to work with other operating systems
 
(from 115253-02)
 
4852269 NFS O_RDWR writing very slow from S7-S9 clients to Solaris 10 NFS servers
 
(from 115253-01)
 
4747261 NFSv3 transfer sizes need to be increased
4759341 NFS server does an extra bcopy
4757427 NFS server serializes write requests
 
(from 117175-02)
 
4837290 VPN clients using non-static IPs do not have fully qualified host principal name
 
(from 117175-01)
 
4901380 forked NFS mount process uses stderr but has none


Patch Installation Instructions:
--------------------------------
 
Please refer to the man pages for instructions on using 'patchadd'
and 'patchrm' scripts provided with Solaris.
 
The following example installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/123456-07
 
The following example removes a patch from a standalone system:
 
       example# patchrm 123456-07
 
For additional examples please see the appropriate man pages. Any
other special or non-generic installation instructions should be
described below as special instructions.


Special Install Instructions:
-----------------------------
 
NOTE 1: To get the complete fix for bug 4664740 (NFS extremely slow on
        SunBlade 1000s and 2000s), please also install the following
        patches on your system:
 
        112233-04 (or greater) Kernel Update patch
        113973-01 (or greater) adb patch
 
NOTE 2: To get the complete NFS Database Acceleration feature, please
        also install the following patches:
 
        113278-02 (or greater) rpcmod, nfsd and lockd patch
        113454-10 (or greater) ufs patch
        112233-09 (or greater) Kernel Update patch
        115671-01 (or greater) mntinfo patch
 
NOTE 3: To get the complete fix for Atlas support: bugs 4810810, 4865731,
        4860183, 4860789, 4785321, 4785304, and 4808811 please also install
        the following patches:
 
        116049-01 (or greater) fdfs      bug 4865731
        116047-01 (or greater) hsfs      bug 4865731
        114718-02 (or greater) pcfs      bug 4865731
        113454-13 (or greater) ufs       bug 4865731 and 4860789
        113334-03 (or greater) udfs      bug 4865731
        113328-02 (or greater) tmpfs     bug 4865731 and 4860183
        112971-05 (or greater) cachefs   bug 4865731
        112874-19 (or greater) libc      bug 4810810
        112233-10 (or greater) kernel    bugs 4810810, 4785321, 4785304, 4808811
 
NOTE 4: Please also note that in order to debug the rnode correctly,
        the recompiled kadb needs to be applied to your system.
        This module is contained in patch 112233-04 (or greater).


README -- Last modified date: Friday, November 9, 2012