From owner-doc-jp-work@jp.FreeBSD.org Fri Jan  7 04:49:57 2005
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id j06Jnv538207;
	Fri, 7 Jan 2005 04:49:57 +0900 (JST)
	(envelope-from owner-doc-jp-work@jp.FreeBSD.org)
Received: from smtp.eos.ocn.ne.jp (eos.ocn.ne.jp [222.146.51.150])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id j06Jnp838067
	for <doc-jp-work@jp.FreeBSD.org>; Fri, 7 Jan 2005 04:49:52 +0900 (JST)
	(envelope-from hrs@FreeBSD.org)
Received: from localhost (p2174-adsau12honb4-acca.tokyo.ocn.ne.jp [220.97.139.174])
	by smtp.eos.ocn.ne.jp (Postfix) with ESMTP id 0A2E13009
	for <doc-jp-work@jp.FreeBSD.org>; Fri,  7 Jan 2005 04:49:44 +0900 (JST)
Message-Id: <20050107.044916.94884191.hrs@eos.ocn.ne.jp>
To: doc-jp-work@jp.FreeBSD.org
From: Hiroki Sato <hrs@FreeBSD.org>
In-Reply-To: <20050105233234.GB69661@bobbi.cse.buffalo.edu>
References: <20050105233234.GB69661@bobbi.cse.buffalo.edu>
X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530  FFD7 4F2C D3D8 2793 CF2D
X-Mailer: Mew version 4.1.53 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Multipart/Signed; protocol="application/pgp-signature";
 micalg=pgp-sha1;
 boundary="--Security_Multipart0(Fri_Jan__7_04_49_16_2005_595)--"
Content-Transfer-Encoding: 7bit
Reply-To: doc-jp-work@jp.FreeBSD.org
Precedence: list
Date: Fri, 07 Jan 2005 04:49:16 +0900
X-Sequence: doc-jp-work 1038
Subject: [doc-jp-work 1038] Re: ANNOUNCE: [FreeBSD-Announce] FreeBSD 5.3-RELEASE Errata
 Notice: FreeBSD-EN-05:01.nfs
Sender: owner-doc-jp-work@jp.FreeBSD.org
X-Originator: hrs@FreeBSD.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+041223

----Security_Multipart0(Fri_Jan__7_04_49_16_2005_595)--
Content-Type: Multipart/Mixed;
 boundary="--Next_Part(Fri_Jan__7_04_49_16_2005_484)--"
Content-Transfer-Encoding: 7bit

----Next_Part(Fri_Jan__7_04_49_16_2005_484)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit

$B:4F#!wEl5~M}2JBg3X$G$9!#(B

 EN-05:01.nfs $B$G$9!#(B
 $B%;%-%e%j%F%#4+9p$H$ODj7?ItJ,$K0c$$$,$"$k$N$G!"(B
 $B$=$N$X$s$K$D$$$F$b$40U8+Jg=8!#(B

--
| $B:4F#(B $B9-@8!wEl5~M}2JBg3X(B


----Next_Part(Fri_Jan__7_04_49_16_2005_484)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="05:01"

FreeBSD Errata $B>pJs(B $BF|K\8lHG(B
=============================================================================
FreeBSD-EN-05:01.nfs (2005-01-05)
 * NFS Server may panic under certain load patterns
=============================================================================

 $B$3$N%a!<%k$O(B, announce-jp $B$KN.$l$?(B

  Subject: ANNOUNCE: [FreeBSD-Announce] FreeBSD 5.3-RELEASE Errata Notice: FreeBSD-EN-05:01.nfs
  From: Ken Smith <kensmith@freebsd.org>
  Date: Wed, 5 Jan 2005 18:32:34 -0500
  Message-Id: <20050105233234.GB69661@bobbi.cse.buffalo.edu>
  X-Sequence: announce-jp 1267

 $B$rF|K\8lLu$7$?$b$N$G$9!#(B

 $B86J8$O(B PGP $B=pL>$5$l$F$$$^$9$,!"$3$NF|K\8lLu$O(B PGP $B=pL>$5$l$F$$$^$;$s!#(B
 $B=$@5%Q%C%AEy$NFbMF$,2~$6$s$5$l$F$$$J$$$3$H$r3NG'$9$k$?$a$K(B PGP $B=pL>$N(B
 $B%A%'%C%/$r$*$3$J$&$K$O!"86J8$r;2>H$7$F$/$@$5$$!#(B

 $BF|K\8lLu$*$h$S%_%i!<%5%$%HMxMQ$N>\:Y$K$D$$$F$O!"J8Kv$N!V(BA. FreeBSD
 Errata $B>pJs(B $BF|K\8lHG$K$D$$$F!W$r$4Mw$/$@$5$$!#(B


                                     [$BK]Lu<T(B: $B:4F#(B $B9-@8(B <hrs@jp.FreeBSD.org>]
--($B$3$3$+$i(B)

FreeBSD-EN-05:01.nfs                                            Errata Notice
                                                          The FreeBSD Project

$B%H%T%C%/(B:       $BFCDj$NIi2Y>uBV$K$*$$$F(B NFS $B%5!<%P$,%Q%K%C%/$9$kLdBj(B
                (NFS Server may panic under certain load patterns)

$BJ,N`(B:           core
$B%b%8%e!<%k(B:     nfsserver
$B9pCNF|(B:         2005-01-05
$B%/%l%8%C%H(B:     Robert Watson
$B1F6AHO0O(B:       FreeBSD 5.3-RELEASE
$B=$@5F|(B:         2005-01-05 03:35:00 UTC


I.   $BGX7J(B - Background

The Network File System (NFS) allows a system to share directories and files
with others over a network.  By using this, users and programs can access
files on remote systems almost as if they were local files.

$B%M%C%H%o!<%/%U%!%$%k%7%9%F%`(B (NFS) $B$O!"$"$k%7%9%F%`$,%M%C%H%o!<%/7PM3$G(B
$BB>$N%[%9%H$H%G%#%l%/%H%j$d%U%!%$%k$r6&M-$G$-$k$h$&$K$9$k$?$a$N$b$N$G$9!#(B
$B$3$l$rMxMQ$9$k$H!"%f!<%6$d%W%m%0%i%`$O!"%j%b!<%H%7%9%F%`$K$"$k%U%!%$%k$K(B
$BBP$7$F!"$"$?$+$b%m!<%+%k%U%!%$%k$G$"$k$+$N$h$&$K%"%/%;%9$9$k$3$H$,2DG=$K(B
$B$J$j$^$9!#(B


II.  $BLdBj$N>\:Y(B - Problem Description

Due to a bug in nfsrv_create() a call to nfsrv_access() might be made
while holding the NFS server mutex, which results in kernel panics under
certain load patterns.

nfsrv_create() $B4X?t$N%P%0$K$h$j!"(BNFS $B%5!<%P$N(B mutex $B$,B8:_$9$k>l9g$K$b(B
nfsrv_access() $B$,8F$S=P$5$l$F$7$^$&2DG=@-$,$"$j$^$9!#$3$l$O!"FCDj$NIi2Y>uBV$G(B
$B%+!<%M%k%Q%K%C%/$rH/@8$5$;$k860x$H$J$j$^$9!#(B


III. $B1F6AHO0O(B - Impact

NFS servers that encountered the load pattern would crash and reboot.

$BFCDj$NIi2Y>uBV$H$J$C$?(B NFS $B%5!<%P$O!"%/%i%C%7%e$7$F:F5/F0$9$k(B
$B2DG=@-$,$"$j$^$9!#(B


IV.   $B2r7h:v(B - Solution

Do one of the following to update the source tree:

$B<!$N$$$:$l$+$R$H$D$N<j=g$K=>$C$F!"%=!<%9%D%j!<$r99?7$7$F$/$@$5$$!#(B

  1) Upgrade your vulnerable system to the RELENG_5_3 errata branch dated
     after the correction date using cvsup(1) or cvs(1).  This is the
     preferred method.

  1) cvsup(1) $B$+(B cvs(1) $B$r;H$C$F!"(BFreeBSD $B%7%9%F%`$r=$@5F|0J9_$N(B
     RELENG_5_3 errata $B%V%i%s%A$K%"%C%W%0%l!<%I$9$k!#K\J8=q$G$O!"(B
     $B$3$NJ}K!$r?d>)$7$^$9!#(B

  2) Obtain the updated files using the cvsweb interface.  Cvsweb is a
     Web interface to the CVS repository.  The URL to the general
     interface is "http://www.freebsd.org/cgi/cvsweb.cgi/".  You can
     obtain any of the source files for the RELENG_5_3 branch by going
     to the src  directory ("http://www.freebsd.org/cgi/cvsweb.cgi/src")
     and then selecting the "RELENG_5_3" branch tag.  With the branch
     tag set navigate to the files listed below in the "Correction
     details" section and download them, making sure you get the correct
     revision numbers.  Copy the downloaded files into your /usr/src tree.

  2) cvsweb $B%$%s%?%U%'!<%9$r;H$C$F!"99?7$5$l$?%U%!%$%k$rF~<j$9$k!#(Bcvsweb $B$O!"(B
     CVS $B%j%]%8%H%j$K%&%'%V7PM3$G%"%/%;%9$9$k$?$a$NJ}K!$N$R$H$D$G$9!#(B
     $B%"%/%;%9(B URL $B$O(B http://www.freebsd.org/cgi/cvsweb.cgi/ $B$H$J$C$F$*$j!"(B
     src $B%G%#%l%/%H%j(B (http://www.freebsd.org/cgi/cvsweb.cgi/src) $B$K(B
     $B0\F0$7$F(B RELENG_5_3 $B$H$$$&%V%i%s%A%?%0$rA*Br$9$k$3$H$G!"(B
     RELENG_5_3 $B%V%i%s%A$N%U%!%$%k$r<+M3$K<h$j=P$9$3$H$,$G$-$^$9!#(B
     $B%V%i%s%A%?%0$r@_Dj$7$F$+$i!"2<5-!V=$@5$N>\:Y!W$K5-:\$5$l$F$$$k(B
     $B%U%!%$%k$rA*Br$7$F!"$=$l$i$r%@%&%s%m!<%I$7$^$9!#$=$N;~!"@5$7$$(B
     $B%j%S%8%g%sHV9f$K$J$C$F$$$k$3$H$r3NG'$7$F$/$@$5$$!#$=$7$F<!$K!"(B
     $B%@%&%s%m!<%I$7$?%U%!%$%k$r(B /usr/src $B%D%j!<$K%3%T!<$7$^$9!#(B

If using the second procedure you should make sure you have used that
same procedure to download all previous Errata Notices and Security
Advisories.  We strongly discourage this procedure due to the problems
that may be caused by not doing that - using the first procedure takes
care of making sure all updates get applied.

2 $BHVL\$N<j=g$r;H$&>l9g$O!":#$^$GH/9T$5$l$?(B errata $B>pJs$d(B
$B%;%-%e%j%F%#4+9p$N=$@5%Q%C%A$r%@%&%s%m!<%I$9$k:]$K!"(B
$B$=$l$HF1$8J}K!$r;H$C$F$$$?$+$I$&$+$r3NG'$7$F$/$@$5$$!#(B
$B$3$N(B 2 $BHVL\$N<j=g$O!":#$^$G$K$3$l$H0[$J$kJ}K!$G%@%&%s%m!<%I$7$F$$$?>l9g$K(B
$BLdBj$,H/@8$7$d$9$$$?$a!"(BFreeBSD $B%W%m%8%'%/%H$G$O(B
$B$3$N<j=g$r;H$o$J$$$3$H$r6/$/$*$9$9$a$7$^$9!#(B
1 $BHVL\$N<j=g$G$O!"$9$Y$F$N99?7$,@5$7$/E,MQ$5$l$k$h$&$K=hM}$,$*$3$J$o$l$^$9!#(B

Then follow the normal procedures for rebuilding/reinstalling the kernel.
Details about rebuilding/reinstalling are available here:

$B0J>e$N<j=g$r=*$($?$i!"%+!<%M%k$N:F9=C[!&:F%$%s%9%H!<%k$r$*$3$J$$$^$9!#(B
$B$3$l$i$N<j=g$N>\:Y$O!"<!$N(B URL $B$r$4Mw$/$@$5$$!#(B

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html


V.  $B=$@5$N>\:Y(B - Correction details

The following list contains the revision numbers of each file that was
corrected in FreeBSD.

FreeBSD $B$K$*$$$F:#2s=$@5$5$l$?3F%U%!%$%k$N%j%S%8%g%sHV9f$O!"0J2<$N$H$*$j$G$9!#(B

$B%V%i%s%A(B                                                         $B%j%S%8%g%s(B
Branch                                                           Revision
  $B%Q%9L>(B
  Path
- --------------------------------------------------------------------------
RELENG_5_3

  Revision        Changes    Path
  $B%j%S%8%g%s(B      $BJQ999T?t(B   $B%Q%9L>(B
  1.342.2.13.2.6  +5 -0      src/UPDATING
  1.62.2.15.2.8   +1 -1      src/sys/conf/newvers.sh
  1.147.2.1.2.2   +52 -38    src/sys/nfsserver/nfs_serv.c

- --------------------------------------------------------------------------


A.   FreeBSD Errata $B>pJs(B $BF|K\8lHG$K$D$$$F(B

$BF|K\8lLu$O(B FreeBSD $BF|K\8l%I%-%e%a%s%F!<%7%g%s%W%m%8%'%/%H(B (doc-jp) $B$,(B
$B;29M$N$?$a$KDs6!$9$k$b$N$G$9!#(B

$B$?$@$7K]Lu<T$*$h$S(B doc-jp $B$O!"$=$NFbMF$K$D$$$F$$$+$J$kJ]>Z$b(B
$B$$$?$7$^$;$s$N$G$4Cm0U$/$@$5$$!#F|K\8lLu$K$D$$$F$N$40U8+!"$4MWK>!"(B
$B$*Ld$$9g$o$;Ey$O(B doc-jp@jp.FreeBSD.org $B$^$G$*4j$$$7$^$9!#(B

$B$3$N4+9p$NCf$G>R2p$5$l$F$$$k(B WWW $B%5%$%H(B http://www.FreeBSD.org/ $B$*$h$S(B
FTP $B%5%$%H(B ftp://ftp.FreeBSD.org/ $B$K$O(B, $BF|K\$N%_%i!<%5%$%H$,B8:_$7$^$9!#(B
$B%M%C%H%o!<%/$N:.;($r4KOB$9$k$?$a!"$^$:$O%_%i!<%5%$%H$NMxMQ$r(B
$B9MN8$9$k$h$&$*4j$$$7$^$9!#(B

$BF|K\$N%_%i!<%5%$%H$rMxMQ$9$k$K$O!"(B
http://www.FreeBSD.org/ $B$r(B http://www.jp.FreeBSD.org/www.freebsd.org/ $B$K!"(B
ftp://ftp.FreeBSD.org/ $B$r(B ftp://ftp.jp.FreeBSD.org/ $B$K!"(B
$B$=$l$>$lCV$-49$($F$/$@$5$$!#(B

$BB>$NCO0h$r4^$`%_%i!<%5%$%H$K4X$9$k>\:Y$O(B

 http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html ($B1QJ8(B)
 http://www.FreeBSD.org/doc/ja_JP.eucJP/books/handbook/mirrors.html ($BF|K\8lLu(B)

$B$K$^$H$a$i$l$F$$$^$9!#(B

$hrs: announce-jp/FreeBSD-EN/05:01,v 1.5 2005/01/06 19:49:11 hrs Exp $

----Next_Part(Fri_Jan__7_04_49_16_2005_484)----

----Security_Multipart0(Fri_Jan__7_04_49_16_2005_595)--
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBB3ZY8TyzT2CeTzy0RAvb6AJ4iWa/vqwWOO4nI1G4mFepe5w40/wCeOKr9
2YqkqQt17PJwudk00ekWPn0=
=PlOX
-----END PGP SIGNATURE-----

----Security_Multipart0(Fri_Jan__7_04_49_16_2005_595)----
