Thread (9 messages) 9 messages, 5 authors, 2021-03-26

Re: [PATCH] blk-mq: Fix races between iterating over requests and freeing requests

From: Khazhy Kumykov <hidden>
Date: 2021-03-22 22:40:41

On Thu, Mar 18, 2021 at 6:00 PM Bart Van Assche [off-list ref] wrote:
Multiple users have reported use-after-free complaints similar to the
following (see also https://lore.kernel.org/linux-block/1545261885.185366.488.camel@acm.org/ (local)):
This fixes the crashes I was seeing. I also looked over the patch and
the dereferencing rules seem correct, although that q_usage_counter
check in the bad case seems racy itself? Thanks!
Reviewed-By: Khazhismel Kumykov <redacted>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help