lkml.org 
[lkml]   [2011]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] x86, AMD: Correct F15h IC aliasing issue

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

    > On Sun, Jul 24, 2011 at 10:22 AM, Borislav Petkov <bp@amd64.org> wrote:
    > >
    > >> So at a MINIMUM, I would say that this is acceptable only when the
    > >> process doing the allocation hasn't got ASLR disabled.
    > >
    > > I guess I could look at randomize_va_space before enabling it.
    >
    > That's not what I meant - I meant the per-process PF_RANDOMIZE and
    > ADDR_NO_RANDOMIZE personality flags (although the global
    > "randomize_va_space" thing obviously is one input to that too)
    >
    > In fact, if 99% of your problem is ASLR-induced, might I suggest
    > just making the whole thing a tweak to ASLR instead, and not use
    > ASLR for bits 14:12? That should be fundamentally much safer: it
    > doesn't change any semantics at all, it just makes for slightly
    > less random bits to be used.

    Indeed - that would be much nicer and smaller as well. It could also
    go away easily if this bug is fixed in a future CPU.

    Thanks,

    Ingo


    \
     
     \ /
      Last update: 2011-07-24 20:15    [W:0.052 / U:93.172 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site