Thread (10 messages) 10 messages, 5 authors, 2021-11-19

Re: [PATCH V3 0/3] Fix a race condition when performing a controller reset

From: Keith Busch <kbusch@kernel.org>
Date: 2021-11-16 20:26:53

On Tue, Nov 16, 2021 at 04:49:17PM +0100, Maurizio Lombardi wrote:
Memory leaks and kernel panics involving the nvmet driver
have been observed when an initiator executes a reset_controller
operation while doing I/O.

The problem is due to a race condition between io_work
and release_queue, the latter may end up destroying the
commands while io_work is still running, causing use-after-free
and memory leaks.
Series looks good to me.

Reviewed-by: Keith Busch <kbusch@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help