summaryrefslogtreecommitdiff
path: root/crypto/async_tx/Makefile
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2018-11-29 14:42:21 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2018-12-07 14:15:00 +0800
commit69bd3f459030421c05f6cf915e67dde167360e8c (patch)
treec5ded3e457401344e77687f28ebe9e49448601f9 /crypto/async_tx/Makefile
parentb96fccff245e234a35c9dcf94633a7b0d7f3f7b7 (diff)
downloadlinux-crypto-69bd3f459030421c05f6cf915e67dde167360e8c.tar.gz
linux-crypto-69bd3f459030421c05f6cf915e67dde167360e8c.zip
crypto: user - fix use_after_free of struct xxx_request
All crypto_stats functions use the struct xxx_request for feeding stats, but in some case this structure could already be freed. For fixing this, the needed parameters (len and alg) will be stored before the request being executed. Fixes: 0115ab23b941 ("crypto: user - Implement a generic crypto statistics") Reported-by: syzbot <syzbot+6939a606a5305e9e9799@syzkaller.appspotmail.com> Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/async_tx/Makefile')
0 files changed, 0 insertions, 0 deletions