On 04/14/2013 06:12 PM, Milan Broz wrote:
> When user requests encryption (or decryption) of block which
> is not aligned to cipher block size through userspace crypto
> interface, an OOps like this can happen
And this is a reproducer for the problem above...
Milan
/*
* Check for unaligned buf
When user requests encryption (or decryption) of block which
is not aligned to cipher block size through userspace crypto
interface, an OOps like this can happen:
[ 112.738285] BUG: unable to handle kernel paging request at e1c44840
[ 112.738407] IP: [] scatterwalk_done+0x53/0x70
...
[ 112.7405
When user requests encryption (or decryption) of block which
is not aligned to cipher block size, an OOps like this can happen:
[ 37.672185] BUG: unable to handle kernel paging request at e1c5fbc0
[ 37.672457] IP: [] scatterwalk_done+0x53/0x70
...
[ 37.679183] Call Trace:
[ 37.679326] []