Re: [PATCH] proc: avoid leaking eip, esp, or wchan tonon-privileged processes (fwd)

From: Arjan van de Ven
Date: Sun May 03 2009 - 19:56:23 EST


On Mon, 4 May 2009 09:27:29 +1000 (EST)
James Morris <jmorris@xxxxxxxxx> wrote:

> This patch needs some review.

having just gotten back from another trip...

this patch looks relevant, but has a compatibility risk.... Personally
I think it'd be ok, but if things would break we do have some options
that are better than 'do nothing'.

One option to reduce the compatibility risk (as the expense of the
security angle) would be to mask the lower, say 4 to 8 bits of these
variables instead for non-ptrace-capable callers. Other obfuscation
options are obviously also possible.



>
> Having someone specifically responsible for maintaining kernel memory
> protection features would be of immense value. Any takers?

I suppose I could do that.... but would be nice to have a few folks.



--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/