]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: possible race condition leads to use-after-free 8907/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 3 May 2016 11:41:30 +0000 (07:41 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 3 May 2016 11:41:30 +0000 (07:41 -0400)
commitd9421a25b582e41550526714b71fb55f05abb1de
treed65538e91bf8fd322bd5229a336a67d0118ad2fd
parentc666bc3f7182d6159996696b083bdf1525faf008
librbd: possible race condition leads to use-after-free

The invoke async operation state machine can complete before the
owner lock is released.  Use a stack reference to prevent
use-after-free.

Fixes: http://tracker.ceph.com/issues/15690
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/Operations.cc