[lkml]   [2011]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v5 9/9] x86-64: Add CONFIG_UNSAFE_VSYSCALLS to feature-removal-schedule
    On 6 Jun 2011 at 11:31, Andi Kleen wrote:

    > On Mon, Jun 06, 2011 at 05:46:41PM +0900, Linus Torvalds wrote:
    > > On Mon, Jun 6, 2011 at 2:50 AM, Andy Lutomirski <> wrote:
    > > > CONFIG_UNSAFE_VSYSCALLS was added in the previous patch as a
    > > > temporary hack to avoid penalizing users who don't build glibc from
    > > > git.

    [didn't get your mail directly (yet?), so i'm replying here]

    > > I really hate that name.
    > >
    > > Do you have *any* reason to call this "unsafe"?

    any userland executable code at a universally (read: across any and all 2.6+ linux
    boxes) fixed address is not secure (no really, it's worse, it's simply insane design,
    there's a reason the vdso got randomized eventually), it's the prime vehicle used by
    both reliable userland and kernel exploits who need to execute syscalls and/or pop
    the stack until something useful is reached, etc. not to mention the generic snippets
    of both code and data (marketing word: ROP) that one may find in there.

    > > Seriously. The whole patch series just seems annoying.

    what is annoying is your covering up of security fixes on grounds that you don't want
    to help script kiddies (a bullshit argument as it were) but at the same time question
    proactive security measures (one can debate the implementation, see my other mail) that
    would *actually* prevent the same kiddies from writing textbook exploits.

    but hey, spouting security to journalists works so much better for marketing, doesn't it.

    > and assumes everyone is using glibc which is just wrong.

    the libc is irrelevant, they can all be fixed up to use the vdso entry points if they
    haven't been doing it already. already deployed systems will simply continue to use
    their flawed kernel and libc, they're not affected.

     \ /
      Last update: 2011-06-06 12:43    [W:0.020 / U:112.904 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site