Thread (4 messages) flat view 4 messages, 3 authors, 2012-10-18

Re: Kernel 3.7.0-rc1 crash after TrueCrypt mount device on a computer with Intel i5

From: Jussi Kivilinna <hidden>
Date: 2012-10-18 19:58:16

Quoting Linus Torvalds [off-list ref]:
Krzysztof, please try to cc the appropriate people/list.

I've added linux-crypto and the people who touched aesni-intel since
3.6, and am re-quoting the whole email (except for the continuation
oopses that won't be relevant)

It seems to crash on the very first instruction of _aesni_enc1,  
which is just a

   movaps (KEYP), KEY

where on x86-32, KEYP is %edi and KEY is %xmm2.

In the oops register dump, %edi is 0xf169fe64, which looks like a
valid kernel pointer (depending on amount of memory), but it looks
like the problem is that it's not 16-byte aligned.

I dunno. None of the asm code seems to have changed since 3.6 afaik,
so some calling code change triggers this? Guys, ideas?

                   Linus
Problem is that aesni_enc is asmlinkage and it's casted to non-asmlinkage
function pointer (when using XTS mode). Doesn't break on x86-64, but on
x86-32 however.. My bad, sorry.

I'll send patch soon.

  -Jussi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help