list_del corruption. next->prev should be ffff888026bd7000, but was dead000000000122. (next=ffff888026df8000) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:62! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 22609 Comm: syz-executor.2 Not tainted 6.4.0-rc7-syzkaller-00067-g2214170caabb #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:__list_del_entry_valid+0x133/0x1b0 lib/list_debug.c:62 Code: e8 c2 af 50 fd 0f 0b 4c 89 c2 48 c7 c7 a0 1f a7 8a e8 b1 af 50 fd 0f 0b 48 89 d1 48 c7 c7 20 20 a7 8a 4c 89 c2 e8 9d af 50 fd <0f> 0b 48 89 34 24 e8 a2 96 bf fd 48 8b 34 24 e9 e3 fe ff ff 48 89 RSP: 0018:ffffc9000357fd38 EFLAGS: 00010286 RAX: 000000000000006d RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168bd1c RDI: 0000000000000005 RBP: ffff888026bd7000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 6c65645f7473696c R12: ffff888026bd7008 R13: ffff888026dfa098 R14: ffff888026bd4000 R15: ffff888026dfa5f0 FS: 0000000000000000(0000) GS:ffff88802c700000(0063) knlGS:0000000056d8e380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000567b6404 CR3: 00000000638f0000 CR4: 0000000000350ee0 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:0xf7fcb579 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:00000000ff985420 EFLAGS: 00000286 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 00000000f734e000 RDI: 0000000000000000 RBP: 00000000f6e00f68 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 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 c2 af 50 fd 0f 0b 4c 89 c2 48 c7 c7 a0 1f a7 8a e8 b1 af 50 fd 0f 0b 48 89 d1 48 c7 c7 20 20 a7 8a 4c 89 c2 e8 9d af 50 fd <0f> 0b 48 89 34 24 e8 a2 96 bf fd 48 8b 34 24 e9 e3 fe ff ff 48 89 RSP: 0018:ffffc9000357fd38 EFLAGS: 00010286 RAX: 000000000000006d RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168bd1c RDI: 0000000000000005 RBP: ffff888026bd7000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 6c65645f7473696c R12: ffff888026bd7008 R13: ffff888026dfa098 R14: ffff888026bd4000 R15: ffff888026dfa5f0 FS: 0000000000000000(0000) GS:ffff88802c600000(0063) knlGS:0000000056d8e380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000ff9ee034 CR3: 00000000638f0000 CR4: 0000000000350ef0 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