lkml.org 
[lkml]   [2006]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Prevent an oops in vmalloc_user()
    On Thu, 09 Nov 2006 23:29:34 +0100
    Eric Dumazet <dada1@cosmosbay.com> wrote:

    > Jonathan Corbet a __crit :
    > > Prevent an oops in vmalloc_user()
    > >
    > > If an attempt to allocate memory with vmalloc_user() fails, the result
    > > will be an oops when it tries to tweak the flags in the (non-existent)
    > > VMA. One could argue that __find_vm_area() should not return a random
    > > pointer on failure, but vmalloc_user() requires a check regardless.
    > >
    >
    > Yes, I already posted a patch for that, and other problem as well.
    >
    > http://lkml.org/lkml/2006/10/23/86
    >
    > Maybe it was lost...
    >

    It's in -mm but I'd queued it for 2.6.20 because you went and mixed a bunch
    of things into the same patch.

    Whatever - I'll push it for 2.6.19.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-11-09 23:45    [W:0.021 / U:30.036 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site