aboutsummaryrefslogtreecommitdiff
path: root/common-user
diff options
context:
space:
mode:
authorAlexander Bulekov <alxndr@bu.edu>2023-05-01 10:19:56 -0400
committerThomas Huth <thuth@redhat.com>2023-05-02 10:03:26 +0200
commit7915bd06f25e1803778081161bf6fa10c42dc7cd (patch)
tree72dc066a0c4d87dc647fe03b78426bc8e21de136 /common-user
parentb08dc0f1b7b7b3be27ed3ffd72deeb02a1f669e7 (diff)
downloadqemu-7915bd06f25e1803778081161bf6fa10c42dc7cd.zip
qemu-7915bd06f25e1803778081161bf6fa10c42dc7cd.tar.gz
qemu-7915bd06f25e1803778081161bf6fa10c42dc7cd.tar.bz2
async: avoid use-after-free on re-entrancy guard
A BH callback can free the BH, causing a use-after-free in aio_bh_call. Fix that by keeping a local copy of the re-entrancy guard pointer. Buglink: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=58513 Fixes: 9c86c97f12 ("async: Add an optional reentrancy guard to the BH API") Signed-off-by: Alexander Bulekov <alxndr@bu.edu> Message-Id: <20230501141956.3444868-1-alxndr@bu.edu> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'common-user')
0 files changed, 0 insertions, 0 deletions