lkml.org 
[lkml]   [2011]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [tip:perf/core] x86, 64-bit: Fix copy_[to/from]_user() checks for the userspace address limit

    * Linus Torvalds <torvalds@linux-foundation.org> wrote:

    > On Wed, May 18, 2011 at 1:43 PM, tip-bot for Jiri Olsa <jolsa@redhat.com> wrote:
    > > As reported in BZ #30352:
    > >
    > >  https://bugzilla.kernel.org/show_bug.cgi?id=30352
    > >
    > > there's a kernel bug related to reading the last allowed page on x86_64.
    >
    > Btw, I think this message is very misleading.
    >
    > It has nothing what-so-ever to do with "the last allowed page".

    Yeah, i noticed that and this is why i added this bit from Brian's explanation
    to the end of the commit:

    The bug is that the last byte before the guard page can't be read
    because of the off-by-one error. The guard page is left in place.

    I should have fixed the original changelog instead of trying to clarify it via
    appending it ...

    Thanks,

    Ingo
    --
    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: 2011-05-18 23:03    [W:0.031 / U:0.552 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site