Minor bug fix to ELF exec

From: Paul Campbell (paul@taniwha.com)
Date: Wed May 31 2000 - 13:36:17 EST


Here's a minor bug fix for the ELF exec code (at least 2.2-2.3.99 etc).

The basic idea is that there's a check for an ELF file with more than one
interpreter (aka ld.so) record - if it finds this situation it aborts
the load - the problem is that to get into this situation it must have
already opened the first /lib/ld.so and it does not do a dput() on it on the way
out

While this is a 'never should happen' sort of situation with normal tools but a
malicious user could create an evil-elf that could tie up kernel resources
         
         Paul Campbell

PS: I don't normally read the kernel list - so please reply by mail to
paul@taniwha.com


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:28 EST