summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorShreyansh Chouhan <chouhan.shreyansh630@gmail.com>2021-08-22 09:15:14 +0530
committerHerbert Xu <herbert@gondor.apana.org.au>2021-08-27 16:30:19 +0800
commit72ff2bf04db2a48840df93a461b7115900f46c05 (patch)
tree1c531524d701de54ed6e289a338ba8a784be2406 /crypto
parentcedcf527d59bcca5f87f52ea34a157bbc6e7a3a8 (diff)
downloadlinux-72ff2bf04db2a48840df93a461b7115900f46c05.tar.gz
linux-72ff2bf04db2a48840df93a461b7115900f46c05.tar.bz2
linux-72ff2bf04db2a48840df93a461b7115900f46c05.zip
crypto: aesni - xts_crypt() return if walk.nbytes is 0
xts_crypt() code doesn't call kernel_fpu_end() after calling kernel_fpu_begin() if walk.nbytes is 0. The correct behavior should be not calling kernel_fpu_begin() if walk.nbytes is 0. Reported-by: syzbot+20191dc583eff8602d2d@syzkaller.appspotmail.com Signed-off-by: Shreyansh Chouhan <chouhan.shreyansh630@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions