Linux virtualization list
 help / color / mirror / Atom feed
* Re: [PATCH 2/2] crypto: virtio: Fix use-after-free in virtio_crypto_skcipher_finalize_req()
@ 2020-05-25  6:30 Markus Elfring
  2020-05-25  7:13 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Elfring @ 2020-05-25  6:30 UTC (permalink / raw)
  To: longpeng2, linux-crypto, virtualization
  Cc: Arei Gonglei, Corentin Labbe, David S. Miller, Herbert Xu,
	Jason Wang, Michael S. Tsirkin, linux-kernel

> … So the system will crash
> at last when this memory be used again.

I would prefer a wording with less typos here.


> We can free the resources before calling ->complete to fix this issue.

* An imperative wording can be nicer.
  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=9cb1fd0efd195590b828b9b865421ad345a4a145#n151

* You proposed to move a call of the function “crypto_finalize_skcipher_request”.
  How does this change fit to the mentioned position?

* Would you like to add the tag “Fixes” to the commit message?

Regards,
Markus

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-25  8:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-25  6:30 [PATCH 2/2] crypto: virtio: Fix use-after-free in virtio_crypto_skcipher_finalize_req() Markus Elfring
2020-05-25  7:13 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
2020-05-25  7:36   ` [2/2] " Markus Elfring
2020-05-25  8:03     ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox