Subject: kern/37628: systrace crashes kernel
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jonathan Schleifer <js@webkeks.org>
List: netbsd-bugs
Date: 12/27/2007 19:10:00
	Note: There was a bad value `' for the field `Confidential'.
	It was set to the default value of `yes'.

>Number:         37628
>Category:       kern
>Synopsis:       when using systrace, the kernel crashes
>Confidential:   yes
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 27 19:10:00 +0000 2007
>Originator:     Jonathan Schleifer
>Release:        NetBSD 4.99.44
>Organization:
	
>Environment:
	
	
System: NetBSD webkeks.org 4.99.44 NetBSD 4.99.44 (WEBKEKS) #0: Wed Dec 26 23:52:39 CET 2007 root@webkeks.org:/usr/src/sys/arch/i386/compile/WEBKEKS i386
Architecture: i386
Machine: i386
>Description:
	When trying to systrace a program, the kernel crashes. This renders
	NetBSD 5 unusable in an environment where security matters.
	See https://webkeks.org/tmp/crash.jpg for a backtrace.
	Tested with kernel checkouts from:
	* 2007-11-24
	* 2007-12-24
	* 2007-12-26
	All give exactly the same backtrace.
>How-To-Repeat:
	Just run a program with systrace, for example systrace ls.
>Fix:
	It seems the lock against itself has to be fixed.

>Unformatted: