On Fri, Sep 8, 2023 at 3:18 PM Hannes Reinecke <hare@xxxxxxx> wrote: > > On 9/7/23 09:47, Yi Zhang wrote: > > Seems I reproduced this issue[3] when I run [1] on the latest > > linux-block/for-next with kernel config[2]. > > > > [1]nvme_trtype=rdma ./check nvme/ > > > > [2] https://pastebin.com/u9fh7dbX > > > But isn't this the same issue as the circular locking discussed earlier? Sorry, maybe I mixed up the issues here, There are three issues here: 1. "BUG:KASAN: slab-use-after-free at mutex_lock() in cma_iw_handler()." which Shin'ichiro mentioned in this patch and triggered by nvme/rdma nvme/030 nvme/031 use siw 2. nvme/tcp circular locking on install_queue which could be fixed by: https://lore.kernel.org/linux-nvme/20230810132006.129365-1-hare@xxxxxxx/ https://lore.kernel.org/linux-nvme/20230726142939.10062-1-guoqing.jiang@xxxxxxxxx/ 3. circular locking at rdma_destroy_id+0x17/0x20 [rdma_cm] which was already filed last year but still not get one solution: https://lore.kernel.org/linux-rdma/CAHj4cs93BfTRgWF6PbuZcfq6AARHgYC2g=RQ-7Jgcf1-6h+2SQ@xxxxxxxxxxxxxx/ > > Can you check if the patch > 'nvmet-tcp: avoid circular locking dependency on install_queue()' > fixes this issue, too? > > Cheers, > > Hannes > -- > Dr. Hannes Reinecke Kernel Storage Architect > hare@xxxxxxx +49 911 74053 688 > SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg > HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew > Myers, Andrew McDonald, Martje Boudien Moerman > -- Best Regards, Yi Zhang