All of lore.kernel.org
 help / color / mirror / Atom feed
* v5.15-rc1 issue with the soft-iWARP driver
@ 2021-09-15  4:54 Bart Van Assche
  2021-09-15 14:34 ` Jason Gunthorpe
  2021-09-16 19:18 ` Bernard Metzler
  0 siblings, 2 replies; 3+ messages in thread
From: Bart Van Assche @ 2021-09-15  4:54 UTC (permalink / raw)
  To: linux-rdma, Jason Gunthorpe

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").

Thanks,

Bart.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-16 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-15  4:54 v5.15-rc1 issue with the soft-iWARP driver Bart Van Assche
2021-09-15 14:34 ` Jason Gunthorpe
2021-09-16 19:18 ` Bernard Metzler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.