From owner-freebsd-security Sun May 9 6: 9:17 1999 Delivered-To: freebsd-security@freebsd.org Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (Postfix) with ESMTP id EBE8115036 for ; Sun, 9 May 1999 06:09:14 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from sunrise.gv.tsc.tdk.com (root@sunrise.gv.tsc.tdk.com [192.168.241.191]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id GAA12139; Sun, 9 May 1999 06:08:52 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by sunrise.gv.tsc.tdk.com (8.8.5/8.8.5) with ESMTP id GAA16038; Sun, 9 May 1999 06:08:51 -0700 (PDT) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id GAA20692; Sun, 9 May 1999 06:08:50 -0700 (PDT) From: Don Lewis Message-Id: <199905091308.GAA20692@salsa.gv.tsc.tdk.com> Date: Sun, 9 May 1999 06:08:49 -0700 In-Reply-To: sthaug@nethelp.no "Re: KKIS.05051999.003b" (May 9, 11:29am) X-Mailer: Mail User's Shell (7.2.6 alpha(3) 7/19/95) To: sthaug@nethelp.no, Don.Lewis@tsc.tdk.com Subject: Re: KKIS.05051999.003b Cc: wes@softweyr.com, toasty@HOME.DRAGONDATA.COM, security@FreeBSD.ORG Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On May 9, 11:29am, sthaug@nethelp.no wrote: } Subject: Re: KKIS.05051999.003b } > Maybe a third process occasionally get scheduled while the exploit code } > has the descriptor in flight and causes unp_gc() to get executed. If so, } > then the exploit shouldn't cause a problem in single user mode. } } It happens in single user mode too. } } In general, this program leaks one file descriptor for each time round } the client/server loops - this is easy to see if you add some debugging } printout to falloc()/ffree() in sys/kern/kern_descrip.c. } } If you parametrize the client loop, ie. } } case 0: } for (n=0;n