Subject: kern/26864: nfs directory cache causes crashes
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 09/06/2004 19:28:01
>Number:         26864
>Category:       kern
>Synopsis:       nfs directory cache causes crashes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 06 10:49:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 2.0G
>Organization:

>Environment:
	
	
System: NetBSD kaeru 2.0G NetBSD 2.0G (build.kaeru) #1649: Mon Sep 6 07:05:14 JST 2004 takashi@kaeru:/home/takashi/work/kernel/build.kaeru i386
Architecture: i386
Machine: i386
>Description:
	nfs_bioread does:
		1. ndp = nfs_searchdircache()
		2. nfs_getcacheblk(), which can sleep
		3. dereference ndp
	there's nothing which prevents ndp can be freed by another thread
	while we're sleeping.
>How-To-Repeat:
	code inspection
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: