]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit5e1a3149eec8675c2767cc465903f5e4829de5b0
tree335eb6639f30b2eeefe8565e023ede52d1d73a28
parent7ba08e81cb4aec9724ab7674a5de49e7a341062c
Revert "vhost-vdpa: fix page pinning leakage in error path"

This reverts commit 7ed9e3d97c32d969caded2dfb6e67c1a2cc5a0b1.

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

Fixes: 7ed9e3d97c32d ("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