-----"Bart Van Assche" <bvanassche@xxxxxxx> wrote: ----- >To: linux-rdma@xxxxxxxxxxxxxxx, "Jason Gunthorpe" <jgg@xxxxxxxxxx> >From: "Bart Van Assche" <bvanassche@xxxxxxx> >Date: 09/15/2021 06:54AM >Subject: [EXTERNAL] v5.15-rc1 issue with the soft-iWARP driver > >Hi, > >If I run test srp/015 from the blktests suite then the following >appears >in the kernel log: > >================================================================== >BUG: KASAN: null-ptr-deref in __list_del_entry_valid+0x4d/0xe0 >Read of size 8 at addr 0000000000000000 by task kworker/u16:3/161 > >CPU: 5 PID: 161 Comm: kworker/u16:3 Not tainted 5.15.0-rc1-dbg+ #2 >Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS >rel-1.14.0-0-g155821a-rebuilt.opensuse.org 04/01/2014 >Workqueue: iw_cm_wq cm_work_handler [iw_cm] >Call Trace: > show_stack+0x52/0x58 > dump_stack_lvl+0x5b/0x82 > kasan_report.cold+0x52/0x57 > __asan_load8+0x69/0x90 > __list_del_entry_valid+0x4d/0xe0 > _cma_cancel_listens+0x49/0x230 [rdma_cm] > _destroy_id+0x4e/0x420 [rdma_cm] > destroy_id_handler_unlock+0xc4/0x200 [rdma_cm] > iw_conn_req_handler+0x335/0x370 [rdma_cm] > cm_conn_req_handler+0x546/0x7d0 [iw_cm] > cm_work_handler+0x419/0x480 [iw_cm] > process_one_work+0x59d/0xb00 > worker_thread+0x8f/0x5c0 > kthread+0x1fc/0x230 > ret_from_fork+0x1f/0x30 >================================================================== > >I think this is a regression. This happened with commit a17a1faf5d3e >("RDMA/cma: Fix listener leak in rdma_cma_listen_on_all() failure"). > So far I could not reproduce it with that patch (tried to get better understanding with siw debugging enabled). That doesn't mean much. But I do see issues with rxe if running the complete srp set from blktest, which seem to be unrelated. I'll send an extra message. Many thanks, Bernard.