From: Andi Kleen <andi@firstfloor.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Andi Kleen <andi@firstfloor.org>,
Hajime Inoue <hinoue@ccsl.carleton.ca>,
linux-kernel@vger.kernel.org
Subject: Re: System call interposition/unprotecting the table
Date: Wed, 15 Aug 2007 00:48:35 +0200 [thread overview]
Message-ID: <20070814224835.GJ23308@one.firstfloor.org> (raw)
In-Reply-To: <20070814234206.76121d02@the-village.bc.nu>
> Then you fix the specific case and the game continues.
If they intercept netdev->hard_start_xmit there is nothing
to fix. Or inode->i_ops or any other virtual method pointer
that is called often..
Putting i_ops into const memory doesn't help either -- they
can just copy them and use their own and replace the pointer
in any accessed inode.
It's also not that doing this is rocket science. Anybody
barely skilled in computer architecture should be able
to figure this out.
Ok the only thing that could help is IA64/PPC64 style smart pointer
checking that could prevent foreign code from being
executed, but you won't get that on x86 or most other
architectures any time soon.
And that would also only work if you disable module loading
or implement a likely impractical/incompatible
with free software code signing scheme
(and Vista has just shown that these don't work anyways)
> > In general the .data protection is only considered a debugging
> > feature. I don't know why Fedora enables it in their production
> > kernels.
>
> That would be because we think you are wrong 8)
Well, it might at best buy you a few weeks/months in
terms of the exploit arms race, but thrash your user's TLBs
forever.
-Andi
next prev parent reply other threads:[~2007-08-14 22:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-13 22:05 System call interposition/unprotecting the table hinoue
2007-08-13 23:09 ` Alan Cox
2007-08-14 5:12 ` Avi Kivity
2007-08-14 11:34 ` Alan Cox
2007-08-14 14:22 ` James Morris
2007-08-14 17:27 ` Hajime Inoue
2007-08-14 17:48 ` Alan Cox
2007-08-14 17:57 ` Arjan van de Ven
2007-08-14 19:50 ` Andi Kleen
2007-08-14 21:09 ` Jan Engelhardt
2007-08-14 22:42 ` Alan Cox
2007-08-14 22:48 ` Andi Kleen [this message]
2007-08-17 14:19 ` Dave Jones
2007-08-18 10:37 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070814224835.GJ23308@one.firstfloor.org \
--to=andi@firstfloor.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=hinoue@ccsl.carleton.ca \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox