diff options
author | Jussi Kivilinna <[email protected]> | 2013-05-21 17:09:41 +0300 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2013-05-28 13:46:47 +0800 |
commit | de614e561b9c633073caae8f86399aa8923ef85d (patch) | |
tree | a95cbac49c0cf81bb59c2f3346b6c5bca4ecefb8 /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
parent | 286233e604d79f0c7fa04abec2180d5d89a74749 (diff) |
crypto: sha256_ssse3 - fix stack corruption with SSSE3 and AVX implementations
The _XFER stack element size was set too small, 8 bytes, when it needs to be
16 bytes. As _XFER is the last stack element used by these implementations,
the 16 byte stores with 'movdqa' corrupt the stack where the value of register
%r12 is temporarily stored. As these implementations align the stack pointer
to 16 bytes, this corruption did not happen every time.
Patch corrects this issue.
Reported-by: Julian Wollrath <[email protected]>
Signed-off-by: Jussi Kivilinna <[email protected]>
Tested-by: Julian Wollrath <[email protected]>
Acked-by: Tim Chen <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions