[lkml]   [2004]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: New do_mremap vulnerabitily.

    On Wed, 18 Feb 2004, Chris Friesen wrote:
    > There is still a call to do_munmap() that does not check the return
    > code, called from move_vma(), which in turn is called in do_mremap().
    > Can that call ever fail and cause Bad Things to happen?

    Yes it can fail, and no, bad things can't happen. We could return the
    error code to user space, but on the other hand, by the time the munmap
    fails we would already have done 90% of the mremap(), so it doesn't much
    help user space to know that the old area still has a vma, but no pages
    associated with it.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2009-11-18 23:46    [W:0.036 / U:0.700 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site