aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-region-test.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2023-10-06 01:41:55 +0000
committerHerbert Xu <[email protected]>2023-10-06 02:39:18 +0000
commit152d0bcdf1efcb54a4fa20f694e9c7bbb6d06cbf (patch)
tree7962c9ec572e92fca5d24af8c66fe451552a9a81 /drivers/fpga/tests/fpga-region-test.c
parentcrypto: sm2 - Fix crash caused by uninitialized context (diff)
downloadkernel-152d0bcdf1efcb54a4fa20f694e9c7bbb6d06cbf.tar.gz
kernel-152d0bcdf1efcb54a4fa20f694e9c7bbb6d06cbf.zip
dm crypt: Fix reqsize in crypt_iv_eboiv_gen
A skcipher_request object is made up of struct skcipher_request followed by a variable-sized trailer. The allocation of the skcipher_request and IV in crypt_iv_eboiv_gen is missing the memory for struct skcipher_request. Fix it by adding it to reqsize. Fixes: e3023094dffb ("dm crypt: Avoid using MAX_CIPHER_BLOCKSIZE") Cc: <[email protected]> #6.5+ Reported-by: Tatu Heikkilä <[email protected]> Reviewed-by: Mike Snitzer <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-region-test.c')
0 files changed, 0 insertions, 0 deletions