slab kmalloc-512 start ffff8880268ce400 pointer offset 0 size 512 list_del corruption. next->prev should be ffff888054ccf008, but was ffff8880268cc400. (next=ffff8880268ce400) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:65! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 0 PID: 60 Comm: kworker/u32:3 Not tainted 6.15.0-syzkaller-10954-gd00a83477e7a #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 80 49 15 8c e8 de 05 bb fc 90 <0f> 0b e8 46 10 43 fd e9 6b fe ff ff 48 89 df e8 39 10 43 fd e9 7d RSP: 0018:ffffc90000ce7ad8 EFLAGS: 00010286 RAX: 000000000000006d RBX: ffff888054ccf008 RCX: ffffffff819aecf9 RDX: 0000000000000000 RSI: ffffffff819b6b86 RDI: 0000000000000005 RBP: ffff8880268ce408 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff8880268ce400 R13: ffff888054ccf008 R14: ffff888054ccf408 R15: ffff888054ccf040 FS: 0000000000000000(0000) GS:ffff8880d6965000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557cf1d5c8 CR3: 0000000050918000 CR4: 0000000000352ef0 DR0: 0000000080000000 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] destroy_port drivers/infiniband/core/sysfs.c:1274 [inline] ib_free_port_attrs+0x2b8/0x490 drivers/infiniband/core/sysfs.c:1408 remove_one_compat_dev drivers/infiniband/core/device.c:1001 [inline] remove_compat_devs drivers/infiniband/core/device.c:1013 [inline] disable_device+0x1e0/0x280 drivers/infiniband/core/device.c:1295 __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:3321 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402 kthread+0x3c5/0x780 kernel/kthread.c:464 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148 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 80 49 15 8c e8 de 05 bb fc 90 <0f> 0b e8 46 10 43 fd e9 6b fe ff ff 48 89 df e8 39 10 43 fd e9 7d RSP: 0018:ffffc90000ce7ad8 EFLAGS: 00010286 RAX: 000000000000006d RBX: ffff888054ccf008 RCX: ffffffff819aecf9 RDX: 0000000000000000 RSI: ffffffff819b6b86 RDI: 0000000000000005 RBP: ffff8880268ce408 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff8880268ce400 R13: ffff888054ccf008 R14: ffff888054ccf408 R15: ffff888054ccf040 FS: 0000000000000000(0000) GS:ffff8880d6965000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd8d93b7bac CR3: 00000000344fa000 CR4: 0000000000352ef0 DR0: 0000000080000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400