hello, i'm using linux 2.4.22 with grseucirty and today i heard of the do_brk root-exploit. now my question: is my system also endangered?
what can I do to secure my system (except a kernel upgrade)?
--- t/linux-2.4.21/mm/mmap.c Fri Jun 13 16:51:39 2003
+++ linux-2.4.23/mm/mmap.c Fri Nov 28 19:26:21 2003
@@ -1040,6 +1040,9 @@
len = PAGE_ALIGN(len);
if (!len)
return addr;
+
+ if ((addr + len) > TASK_SIZE || (addr + len) < addr)
+ return -EINVAL;
/*
* mlock MCL_FUTURE?
http://archives.neohapsis.com/archives/bugtraq/2003-12/0011.htmlmsi wrote:now, how can i test, wether my patch works? does anybody now, where i can get a exploit, or a program which tests the vulnerability?