[5745] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Fw: Insufficient allocations in net/unix/garbage.c (fwd)

daemon@ATHENA.MIT.EDU (Alan Cox)
Fri Dec 5 08:31:34 1997

Date: 	Thu, 4 Dec 1997 14:06:49 +0000
Reply-To: Alan Cox <alan@LXORGUK.UKUU.ORG.UK>
From: Alan Cox <alan@LXORGUK.UKUU.ORG.UK>
X-To:         prj@NLS.NET
To: BUGTRAQ@NETSPACE.ORG
In-Reply-To:  <02111432806617@nls.net> from "Phillip R. Jaenke" at Dec 3,
              97 08:54:42 pm

> > Kernels 2.0.x do not sufficiently allocate space for the internal stack
> > used for garbage collection on unix domain sockets.  I have neither
> > examined nor tested 2.1.x kernels.

Two things to note. 1. It does for the standard system configuration which is
1024 fd's so only a custom tuned box is vulnerable, and 2 the fix is vulnerable
to deadlocks. Swap the kmalloc/kfree for vmalloc/vfree as I did when I fixed
this in 2.1 a while ago and all will be well


And yes - its a real bug. I'll try and see its officially buried for all cases
in 2.0.33

home help back first fref pref prev next nref lref last post