[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090531113404.5051114d@lxorguk.ukuu.org.uk>
Date: Sun, 31 May 2009 11:34:04 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: pageexec@...email.hu
Cc: "Larry H." <research@...reption.com>, Ingo Molnar <mingo@...e.hu>,
linux-kernel@...r.kernel.org, Linus Torvalds <torvalds@...l.org>,
linux-mm@...ck.org, Ingo Molnar <mingo@...hat.com>,
linux-crypto@...r.kernel.org,
Pekka Enberg <penberg@...helsinki.fi>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>
Subject: Re: [patch 5/5] Apply the PG_sensitive flag to the CryptoAPI
subsystem
> > Also, there's no discussion about long-lived threads keeping
> > sensitive information in there kernel stack indefinitely.
>
> kernel stack clearing isn't hard to do, just do it on every syscall exit
> and in the infinite loop for kernel threads.
Actually that is probably not as important. In most cases you would be
leaking data between syscalls made by the same thread.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists