Re: [patch 0/5] Support for sanitization flag in low-level page allocator

From: Rik van Riel
Date: Sat May 23 2009 - 18:44:13 EST


Ingo Molnar wrote:

What you are missing is that your patch makes _no technical sense_ if you allow the same information to leak over the kernel stack. Kernel stacks can be freed and reused, swapped out and thus 'exposed'.

Kernel stacks may be freed and reused, but Larry's latest
patch takes care of that by clearing them at page free
time.

As for being swapped out - I do not believe that kernel
stacks can ever be swapped out in Linux.

--
All rights reversed.
--
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/