list_del corruption. next->prev should be ffff888037748400, but was ffff88803ac76800. (next=ffff88802aab1000) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:65! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 6871 Comm: kworker/u32:26 Not tainted 6.15.0-syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: ib-unreg-wq ib_unregister_work RIP: 0010:__list_del_entry_valid_or_report+0x1b3/0x200 lib/list_debug.c:65 Code: 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 75 4b 49 8b 54 24 08 4c 89 e1 48 89 de 48 c7 c7 40 a9 f4 8b e8 4e 01 c4 fc 90 <0f> 0b e8 56 33 4a fd e9 6b fe ff ff 48 89 df e8 49 33 4a fd e9 7d RSP: 0018:ffffc90022677a30 EFLAGS: 00010282 RAX: 000000000000006d RBX: ffff888037748400 RCX: ffffffff819aa5d9 RDX: 0000000000000000 RSI: ffffffff819b2466 RDI: 0000000000000005 RBP: ffff88802aab1008 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffff88802aab1000 R13: ffffed1002645951 R14: 0000000000000001 R15: ffff888037748408 FS: 0000000000000000(0000) GS:ffff8880d69da000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb3a0406f98 CR3: 000000002bb3a000 CR4: 0000000000352ef0 DR0: 0000000000000004 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry_valid include/linux/list.h:124 [inline] __list_del_entry include/linux/list.h:215 [inline] list_del include/linux/list.h:229 [inline] cleanup_recv_queue.part.0+0x9c/0x400 drivers/infiniband/core/mad.c:2767 cleanup_recv_queue drivers/infiniband/core/mad.c:2753 [inline] ib_mad_port_close+0x326/0x4c0 drivers/infiniband/core/mad.c:3062 ib_mad_remove_device+0x8f/0x270 drivers/infiniband/core/mad.c:3130 remove_client_context+0xbf/0x120 drivers/infiniband/core/device.c:775 disable_device+0x13a/0x280 drivers/infiniband/core/device.c:1281 __ib_unregister_device+0x2b4/0x480 drivers/infiniband/core/device.c:1518 ib_unregister_work+0x19/0x30 drivers/infiniband/core/device.c:1630 process_one_work+0x9cf/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid_or_report+0x1b3/0x200 lib/list_debug.c:65 Code: 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 75 4b 49 8b 54 24 08 4c 89 e1 48 89 de 48 c7 c7 40 a9 f4 8b e8 4e 01 c4 fc 90 <0f> 0b e8 56 33 4a fd e9 6b fe ff ff 48 89 df e8 49 33 4a fd e9 7d RSP: 0018:ffffc90022677a30 EFLAGS: 00010282 RAX: 000000000000006d RBX: ffff888037748400 RCX: ffffffff819aa5d9 RDX: 0000000000000000 RSI: ffffffff819b2466 RDI: 0000000000000005 RBP: ffff88802aab1008 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffff88802aab1000 R13: ffffed1002645951 R14: 0000000000000001 R15: ffff888037748408 FS: 0000000000000000(0000) GS:ffff8880d6bda000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2446ba4e9c CR3: 000000000e180000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000c DR6: 00000000fffe0ff0 DR7: 0000000000000400