Subject: kern/26272: vnd may dreference null pointer
To: None <gnats-bugs@gnats.netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: netbsd-bugs
Date: 07/13/2004 16:38:48
>Number:         26272
>Category:       kern
>Synopsis:       vnd may dreference null pointer
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 13 14:39:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Juergen Hannken-Illjes
>Release:        NetBSD 2.0 current
>Organization:
net
	
>Environment:
	
	
Architecture: any
Machine: any
>Description:
vnd uses VND_GETXFER() and VND_GETBUF() to allocate items from pools
and set PR_NOWAIT. The result is not checked against NULL.
	
>How-To-Repeat:
Code inspection.
	
>Fix:
Either use PR_WAIT or abort operation on NULL.
	
>Release-Note:
>Audit-Trail:
>Unformatted: