linux/drivers/xen/blkback
Keir Fraser 313d7b003c 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 <lersek@redhat.com>
Signed-off-by: Keir Fraser <keir@xen.org>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
2011-04-14 18:26:15 -04:00
..
blkback.c xen/blkback: Propagate changed size of VBDs 2011-04-14 18:26:10 -04:00
common.h xen/blkback: add accessor for xenbus backend device 2011-04-14 18:26:12 -04:00
interface.c Fix compile warnings: ignoring return value of 'xenbus_register_backend' .. 2011-04-14 18:26:07 -04:00
Makefile xen: rename blkbk module xen-blkback. 2011-04-14 18:26:08 -04:00
vbd.c xen/blkback: Print additional information when a vbd is resized. 2011-04-14 18:26:14 -04:00
xenbus.c blkback: Fix CVE-2010-3699 2011-04-14 18:26:15 -04:00