Re: cryptoapi highmem bug

From: Christophe Saout
Date: Tue Feb 24 2004 - 18:02:53 EST


Am Di, den 24.02.2004 schrieb Jean-Luc Cooke um 23:34:

> What is calling cbc_process directly? I don't see how any other function
> could possibly call this function directly.

Nobody is calling it directly.

> cipher.c's cipher() function called cbc_process() with two different src and
> dst buffers, *always*.

It you pass the same to ->encrypt_iv (like kblockd for reads) it will
kmap the same page twice and call cbc_process with two different virtual
addresses pointing to the same page.


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