|
|
Subscribe / Log in / New account

Re: [PATCH 1/9] Known exploit detection

From:  James Morris <jmorris-AT-namei.org>
To:  Greg Kroah-Hartman <gregkh-AT-linuxfoundation.org>
Subject:  Re: [PATCH 1/9] Known exploit detection
Date:  Fri, 13 Dec 2013 16:09:06 +1100 (EST)
Message-ID:  <alpine.LRH.2.02.1312131557340.32454@tundra.namei.org>
Cc:  Dave Jones <davej-AT-redhat.com>, Kees Cook <keescook-AT-chromium.org>, "Theodore Ts'o" <tytso-AT-mit.edu>, vegard.nossum-AT-oracle.com, LKML <linux-kernel-AT-vger.kernel.org>, Tommi Rantala <tt.rantala-AT-gmail.com>, Ingo Molnar <mingo-AT-kernel.org>, "Eric W. Biederman" <ebiederm-AT-xmission.com>, Andy Lutomirski <luto-AT-amacapital.net>, Daniel Vetter <daniel.vetter-AT-ffwll.ch>, Alan Cox <alan-AT-linux.intel.com>, Jason Wang <jasowang-AT-redhat.com>, "David S. Miller" <davem-AT-davemloft.net>, Dan Carpenter <dan.carpenter-AT-oracle.com>, James Morris <james.l.morris-AT-oracle.com>
Archive‑link:  Article

On Thu, 12 Dec 2013, Greg Kroah-Hartman wrote:

> On Thu, Dec 12, 2013 at 07:25:23PM -0500, Dave Jones wrote:
> > On Thu, Dec 12, 2013 at 01:13:41PM -0800, Kees Cook wrote:
> > 
> >  > - who will keep adding these triggers going forward?
> > 

I think we'd need to have someone commit to maintaining this long term 
before seriously considering it as part of mainline.  Over time it will 
become increasingly useless if new triggers aren't added.

What happens when code is refactored, who refactors the triggers?


> > also..
> > 
> > - Who will test the existing triggers are doing the right thing when related code changes.
> 
> And:
>   - how do you determine an "expoit attempt" from "userspace program
>     doing something stupid" / "corrupted filesytem mounted"?
> 

Right, and if there are enough false positives, it'll end up being quite 
useless.

I suspect this kind of thing is better done in userspace anti-malware 
scanning.

> I really don't like this, it means that our normal error handling for
> userspace data will suddenly all have CVE entries on them over time.
> How is that helpful to anyone?
> 
> Think ahead in 10-20 years, what is the code paths going to look like
> then?  Horrible...

Agree.

This could make an interesting research project outside of the kernel. It 
doesn't belong in mainline without at least first being proven in the 
field and also properly maintained long term, if at all.


-- 
James Morris
<jmorris@namei.org>



to post comments


Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds