Re: Bug in IO bitmap handling? Probably exploitable (2.6.5)

From: Linus Torvalds
Date: Fri May 07 2004 - 11:40:06 EST




On Fri, 7 May 2004, Stas Sergeev wrote:
>
> Can someone please confirm (or refute) the presense of the bug there?

Looks very true, and your patch looks fine too, except we should use
"get_cpu()" and "put_cpu()" to make sure that kernel preemption does not
change the CPU in the middle of the operation.

Thanks,

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