Re: [PATCH] Make LIST_POISON less deadly

From: Ingo Molnar
Date: Tue May 20 2008 - 08:05:00 EST



* Avi Kivity <avi@xxxxxxxxxxxx> wrote:

> I guess a fixmap would work for this. But then the offsets added to
> that page would need to be limited to 4K.

i dont think it's worth going for 32-bit here. On 32-bit the poison
value gets skewed into hard to recognize values which might make oops
analysis harder. Lets start small with 64-bit-only - there it's a quite
plausible change, besides the exponentially larger address space on
64-bit it might realistically happen that an attacker can control a
32-bit-is offset but not a full 64-bit offset.

Ingo
--
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/