slab kmalloc-512 start ffff88804f186400 pointer offset 0 size 512
list_del corruption. next->prev should be ffff88804f187000, but was ffffffff9af9a500. (next=ffff88804f186400)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:65!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 3 UID: 0 PID: 11741 Comm: kworker/u32:26 Not tainted 6.15.0-rc6-syzkaller-00047-ge9565e23cd89 #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 00 8e f4 8b e8 ce 3e c4 fc 90 <0f> 0b e8 46 6b 4a fd e9 6b fe ff ff 48 89 df e8 39 6b 4a fd e9 7d
RSP: 0018:ffffc9002a6f7a30 EFLAGS: 00010282
RAX: 000000000000006d RBX: ffff88804f187000 RCX: ffffffff819aa629
RDX: 0000000000000000 RSI: ffffffff819b24b6 RDI: 0000000000000005
RBP: ffff88804f186408 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: ffff88804f186400
R13: ffffed10055c9d51 R14: 0000000000000001 R15: ffff88804f187008
FS: 0000000000000000(0000) GS:ffff8880d6cdf000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7037ad1140 CR3: 000000000e180000 CR4: 0000000000352ef0
DR0: 0000000000000007 DR1: 000000000000000b DR2: 0000000000000002
DR3: 0000000000000009 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__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+0xc2/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:1516
ib_unregister_work+0x19/0x30 drivers/infiniband/core/device.c:1628
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
</TASK>
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 00 8e f4 8b e8 ce 3e c4 fc 90 <0f> 0b e8 46 6b 4a fd e9 6b fe ff ff 48 89 df e8 39 6b 4a fd e9 7d
RSP: 0018:ffffc9002a6f7a30 EFLAGS: 00010282
RAX: 000000000000006d RBX: ffff88804f187000 RCX: ffffffff819aa629
RDX: 0000000000000000 RSI: ffffffff819b24b6 RDI: 0000000000000005
RBP: ffff88804f186408 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: ffff88804f186400
R13: ffffed10055c9d51 R14: 0000000000000001 R15: ffff88804f187008
FS: 0000000000000000(0000) GS:ffff8880d6cdf000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7037ad1140 CR3: 000000000e180000 CR4: 0000000000352ef0
DR0: 0000000000000007 DR1: 000000000000000b DR2: 0000000000000002
DR3: 0000000000000009 DR6: 00000000fffe0ff0 DR7: 0000000000000400