[PATCH] Make sure interleave masks have at least one node set
authorAndi Kleen <ak@suse.de>
Mon, 2 Jan 2006 23:07:28 +0000 (00:07 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Jan 2006 01:01:42 +0000 (17:01 -0800)
commit8f493d797bc1fe470377adc9d8775845427e240e
tree08f4555a0064185152a51ed707e9571dbeedddc7
parentabe842eb98c45e2b77c5868ef106616ca828a3e4
[PATCH] Make sure interleave masks have at least one node set

Otherwise a bad mem policy system call can confuse the interleaving
code into referencing undefined nodes.

Originally reported by Doug Chapman

I was told it's CVE-2005-3358
(one has to love these security people - they make everything sound important)

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/mempolicy.c