summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorAsias He <asias.hejun@gmail.com>2014-01-16 10:18:48 +1030
committerRusty Russell <rusty@rustcorp.com.au>2014-01-16 10:22:27 +1030
commitf466f75385369a181409e46da272db3de6f5c5cb (patch)
treefa59806c3d5c387494e0cc0be2db726eb3ad5028 /drivers/virtio
parent7d2dddda5c928f349a01f1d5ca8ee5e9d4283c7a (diff)
downloadlinux-f466f75385369a181409e46da272db3de6f5c5cb.tar.bz2
virtio-scsi: Fix hotcpu_notifier use-after-free with virtscsi_freeze
vqs are freed in virtscsi_freeze but the hotcpu_notifier is not unregistered. We will have a use-after-free usage when the notifier callback is called after virtscsi_freeze. Fixes: 285e71ea6f3583a85e27cb2b9a7d8c35d4c0d558 ("virtio-scsi: reset virtqueue affinity when doing cpu hotplug") Cc: stable@vger.kernel.org Signed-off-by: Asias He <asias.hejun@gmail.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions