lkml.org 
[lkml]   [1999]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC]: madvise(2) and mincore(2) in 2.3.26
Hi!

> > > here's a snapshot of madvise, against kernel 2.3.26. i'd like some
> > > comments and review, then i'll port it to a stable release of 2.3
> > > (probably 2.3.29) for inclusion by Linus.
> >
> > You seem to split up vma's. Cant that be used by evil looser to eat
> > precious kernel ram? (Imagine DoS attack: mmap 1Gig and madvise each
> > page separately.)
>
> you can orchestrate the same attack by mmapping 4K files over and over.

I thought that there's protection over exactly this. I'm not
sure. Just food for thought. (There _must_ be such protection, this is
too trivial to do.)
Pavel
--
The best software in life is free (not shareware)! Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

-
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:55    [W:0.060 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site