crypto: virtio: Fix three issues
v3 cover crypto: virtio: Fix three issues
Patch 1 & 2: fix two crash issues, Link: https://lkml.org/lkml/2020/1/23/205
Patch 3: fix another functional issue
Changes since v2:
- put another bugfix together
Changes since v1:
- remove some redundant checks [Jason]
- normalize the commit message [Markus]
Longpeng(Mike) (3):
crypto: virtio: Fix src/dst scatterlist calculation in
__virtio_crypto_skcipher_do_req()
crypto: virtio: Fix use-after-free in
virtio_crypto_skcipher_finalize_req()
crypto: virtio: Fix dest length calculation in
__virtio_crypto_skcipher_do_req()
drivers/crypto/virtio/virtio_crypto_algs.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-)
Signature · 1 line
1.8.3.1
misoperation, sorry for that, please ignore.
Quoted 44 lines
-----Original Message-----
From: Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
Sent: Tuesday, May 11, 2021 5:37 PM
To: Longpeng (Mike, Cloud Infrastructure Service Product Dept.) <[email protected]>
Cc: Gonglei (Arei) <[email protected]>; Herbert Xu <[email protected]>; Michael S. Tsirkin <[email protected]>; Jason Wang <[email protected]>; David S. Miller <[email protected]>; [email protected]; [email protected]; [email protected]
Subject: [PATCH v3 0/3] crypto: virtio: Fix three issuesPatch 1 & 2: fix two crash issues, Link: https://lkml.org/lkml/2020/1/23/205
Patch 3: fix another functional issueChanges since v2:
- put another bugfix togetherChanges since v1:
- remove some redundant checks [Jason]
- normalize the commit message [Markus]Cc Gonglei <[email protected]>Cc Herbert Xu <[email protected]>Cc "Michael S. Tsirkin" <[email protected]>Cc Jason Wang <[email protected]>Cc "David S. Miller" <[email protected]>Longpeng(Mike) (3):
crypto: virtio: Fix src/dst scatterlist calculation in
__virtio_crypto_skcipher_do_req()
crypto: virtio: Fix use-after-free in
virtio_crypto_skcipher_finalize_req()
crypto: virtio: Fix dest length calculation in
__virtio_crypto_skcipher_do_req()drivers/crypto/virtio/virtio_crypto_algs.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-)--
1.8.3.1