Alexander Bulekov 7915bd06f2 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>
2023-05-02 10:03:26 +02:00
..
2023-03-20 12:43:50 +01:00
2023-03-20 12:43:50 +01:00
2022-12-20 17:09:41 -08:00
2023-03-08 00:37:48 +01:00
2023-03-28 15:23:10 -07:00
2023-04-24 11:29:00 +02:00
2023-03-13 15:23:37 +04:00
2022-06-29 10:56:12 +03:00
2023-02-02 11:48:20 +00:00
2023-03-28 15:23:10 -07:00
2023-04-27 16:39:43 +02:00