]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "vhost-vdpa: fix page pinning leakage in error path"
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 29 Oct 2020 21:53:36 +0000 (17:53 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 30 Oct 2020 08:02:39 +0000 (04:02 -0400)
commit48dfeae805549da32ddb5c574a4e692c578775b2
tree335eb6639f30b2eeefe8565e023ede52d1d73a28
parentc198b3d6ff0152f7b673d62daa8a46894d8933ed
Revert "vhost-vdpa: fix page pinning leakage in error path"

This reverts commit c2b65e73f0698c71b70531b5675722698037d5b9.

The patch creates a DoS risk since it can result in a high order memory
allocation.

Fixes: c2b65e73f0698 ("vhost-vdpa: fix page pinning leakage in error path")
Cc: stable@vger.kernel.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vdpa.c