slab kmalloc-512 start ffff888068209c00 pointer offset 0 size 512 list_del corruption. next->prev should be ffff88806820a000, but was ffff88806d302800. (next=ffff888068209c00) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:65! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 0 PID: 11995 Comm: kworker/u32:22 Not tainted 6.15.0-rc4-syzkaller-00208-g00b827f0cffa #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 70 f4 8b e8 de 36 c7 fc 90 <0f> 0b e8 26 4e 4c fd e9 6b fe ff ff 48 89 df e8 19 4e 4c fd e9 7d RSP: 0018:ffffc9000727fa30 EFLAGS: 00010282 RAX: 000000000000006d RBX: ffff88806820a000 RCX: ffffffff819a29a9 RDX: 0000000000000000 RSI: ffffffff819aa836 RDI: 0000000000000005 RBP: ffff888068209c08 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffff888068209c00 R13: ffffed1004689d51 R14: 0000000000000001 R15: ffff88806820a008 FS: 0000000000000000(0000) GS:ffff8880979ec000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffb1134578 CR3: 0000000026141000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 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:1516 ib_unregister_work+0x19/0x30 drivers/infiniband/core/device.c:1628 process_one_work+0x9cc/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 70 f4 8b e8 de 36 c7 fc 90 <0f> 0b e8 26 4e 4c fd e9 6b fe ff ff 48 89 df e8 19 4e 4c fd e9 7d RSP: 0018:ffffc9000727fa30 EFLAGS: 00010282 RAX: 000000000000006d RBX: ffff88806820a000 RCX: ffffffff819a29a9 RDX: 0000000000000000 RSI: ffffffff819aa836 RDI: 0000000000000005 RBP: ffff888068209c08 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffff888068209c00 R13: ffffed1004689d51 R14: 0000000000000001 R15: ffff88806820a008 FS: 0000000000000000(0000) GS:ffff8880979ec000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffb1134578 CR3: 0000000026141000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400