list_del corruption. next->prev should be ffff8880797d0000, but was dead000000000122. (next=ffff8880256e8000) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:62! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 20631 Comm: syz-executor.4 Not tainted 6.4.0-rc6-syzkaller-00037-gb6dad5178cea #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:__list_del_entry_valid+0x133/0x1b0 lib/list_debug.c:62 Code: e8 f2 be 50 fd 0f 0b 4c 89 c2 48 c7 c7 e0 18 a7 8a e8 e1 be 50 fd 0f 0b 48 89 d1 48 c7 c7 60 19 a7 8a 4c 89 c2 e8 cd be 50 fd <0f> 0b 48 89 34 24 e8 52 a5 bf fd 48 8b 34 24 e9 e3 fe ff ff 48 89 RSP: 0018:ffffc9000583fd38 EFLAGS: 00010286 RAX: 000000000000006d RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168bd1c RDI: 0000000000000005 RBP: ffff8880797d0000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 6572703e2d747865 R12: ffff8880797d0008 R13: ffff8880797d4098 R14: ffff8880797d6000 R15: ffff8880797d45f0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0063) knlGS:00000000580e9380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002cd25000 CR3: 000000005d76d000 CR4: 00000000003506f0 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 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x210/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_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f31579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f749fb10 EFLAGS: 00000286 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 00000000f734e000 RDI: 000000000003976b RBP: 00000000f737c0c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid+0x133/0x1b0 lib/list_debug.c:62 Code: e8 f2 be 50 fd 0f 0b 4c 89 c2 48 c7 c7 e0 18 a7 8a e8 e1 be 50 fd 0f 0b 48 89 d1 48 c7 c7 60 19 a7 8a 4c 89 c2 e8 cd be 50 fd <0f> 0b 48 89 34 24 e8 52 a5 bf fd 48 8b 34 24 e9 e3 fe ff ff 48 89 RSP: 0018:ffffc9000583fd38 EFLAGS: 00010286 RAX: 000000000000006d RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168bd1c RDI: 0000000000000005 RBP: ffff8880797d0000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 6572703e2d747865 R12: ffff8880797d0008 R13: ffff8880797d4098 R14: ffff8880797d6000 R15: ffff8880797d45f0 FS: 0000000000000000(0000) GS:ffff8880b9800000(0063) knlGS:00000000580e9380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002cd25000 CR3: 000000005d76d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 retq 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi