Home
last modified time | relevance | path

Searched hist:"7915 bd06" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/util/
H A Dasync.c7915bd06 Mon May 01 09:19:56 CDT 2023 Alexander Bulekov <alxndr@bu.edu> 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>