Re: [linux-alert] Re: Insufficient allocations in net/unix/garbage.c

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 4 Dec 1997 14:24:13 +0000 (GMT)


> Not sure what you mean by this. The posted exploit reliably
> crashes my unmodified 2.0.32 from user mode.

As shipped Linux has a 1024 fd limit. So you cant alloc enough fds (allowing
for the few init etc nick) to make this work normally

> Does this mean that if you _haven't_ increased NR_FILE, the
> patch works? Otherwise, does anyone have a ready-to-apply
> patch that fixes this for 2.0?

Take the one he quoted and swap it to use vmalloc/vfree