[dm-devel] v4.3-rc2 dm-mq bug
Bart Van Assche
bart.vanassche at sandisk.com
Fri Sep 25 15:37:26 UTC 2015
On 09/24/2015 05:42 PM, Junichi Nomura wrote:
> Since __dm_destroy() depends on monotonic decrease of md->holders,
> assertion check of !DMF_FREEING in dm_get() is a valid protection
> from use-after-free. If we are to remove the check, __dm_destroy()
> should be changed to cope with the situation.
>
> I'm curious why there were pending I/Os after DMF_FEEING set.
> Can this problem be reproducible with non dm-mq setup or older kernels?
> How did you remove the dm device in your testing?
Hello Junichi,
Thanks for stepping in.
Sorry but I do not know whether or not this problem is reproducible
without dm-mq or with older kernels.
The dm device was removed via the command "dmsetup remove_all".
Bart.
More information about the dm-devel
mailing list