From: Keir Fraser Date: Thu, 25 Nov 2010 06:08:20 +0000 (-0800) Subject: blkback: Fix CVE-2010-3699 X-Git-Tag: v3.0-rc1~162^2~16^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=313d7b003ceceb797e8c0d18ab085ed0638b4aff;p=pandora-kernel.git blkback: Fix CVE-2010-3699 A guest can cause the backend driver to leak a kernel thread. Such leaked threads hold references to the device, whichmakes the device impossible to tear down. If shut down, the guest remains a zombie domain, the xenwatch process hangs, and most xm commands will stop working. This patch tries to do the following for blkback: - identify/extract idempotent teardown operations, - add/move the invocation of said teardown operation right before we're about to allocate new resources in the Connected states. [ linux-2.6.18-xen.hg 59f097ef181b ] Signed-off-by: Laszlo Ersek Signed-off-by: Keir Fraser Signed-off-by: Jeremy Fitzhardinge --- Reading git-diff-tree failed