list_del corruption. next->prev should be ffff888029f10000, but was dead000000000122. (next=ffff8880799ed000) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:62! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5105 Comm: syz-executor.5 Not tainted 6.4.0-rc3-syzkaller-00293-g416839029e38 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:__list_del_entry_valid+0x133/0x1b0 lib/list_debug.c:62 Code: e8 42 dd 50 fd 0f 0b 4c 89 c2 48 c7 c7 00 18 a7 8a e8 31 dd 50 fd 0f 0b 48 89 d1 48 c7 c7 80 18 a7 8a 4c 89 c2 e8 1d dd 50 fd <0f> 0b 48 89 34 24 e8 f2 c6 bf fd 48 8b 34 24 e9 e3 fe ff ff 48 89 RSP: 0018:ffffc900050b7b60 EFLAGS: 00010282 RAX: 000000000000006d RBX: 0000000000000001 RCX: ffffc9000f28d000 RDX: 0000000000000000 RSI: ffffffff8168b8fc RDI: 0000000000000005 RBP: ffff888029f10000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff888029f10008 R13: ffff88802ac26098 R14: ffff888029f11000 R15: ffff88802ac265f0 FS: 00007f2e1a062700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5313386058 CR3: 00000000298a9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_del_entry include/linux/list.h:134 [inline] list_del include/linux/list.h:148 [inline] local_release net/nfc/llcp_core.c:172 [inline] kref_put include/linux/kref.h:65 [inline] nfc_llcp_local_put net/nfc/llcp_core.c:182 [inline] nfc_llcp_local_put net/nfc/llcp_core.c:177 [inline] nfc_llcp_unregister_device+0xb8/0x260 net/nfc/llcp_core.c:1620 nfc_unregister_device+0x196/0x330 net/nfc/core.c:1179 virtual_ncidev_close+0x52/0xb0 drivers/nfc/virtual_ncidev.c:163 __fput+0x27c/0xa90 fs/file_table.c:321 task_work_run+0x16f/0x270 kernel/task_work.c:179 get_signal+0x1c7/0x25b0 kernel/signal.c:2650 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2e1928c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2e1a062168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: fffffffffffffff2 RBX: 00007f2e193ac1f0 RCX: 00007f2e1928c169 RDX: 00000000000000d7 RSI: 0000000020000340 RDI: 0000000000000006 RBP: 00007f2e192e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2e194cfb1f R14: 00007f2e1a062300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid+0x133/0x1b0 lib/list_debug.c:62 Code: e8 42 dd 50 fd 0f 0b 4c 89 c2 48 c7 c7 00 18 a7 8a e8 31 dd 50 fd 0f 0b 48 89 d1 48 c7 c7 80 18 a7 8a 4c 89 c2 e8 1d dd 50 fd <0f> 0b 48 89 34 24 e8 f2 c6 bf fd 48 8b 34 24 e9 e3 fe ff ff 48 89 RSP: 0018:ffffc900050b7b60 EFLAGS: 00010282 RAX: 000000000000006d RBX: 0000000000000001 RCX: ffffc9000f28d000 RDX: 0000000000000000 RSI: ffffffff8168b8fc RDI: 0000000000000005 RBP: ffff888029f10000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff888029f10008 R13: ffff88802ac26098 R14: ffff888029f11000 R15: ffff88802ac265f0 FS: 00007f2e1a062700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5313386058 CR3: 00000000298a9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400