list_del corruption. prev->next should be ffff88801ee35000, but was ffff888022e31000. (prev=ffffffff8e5b2fe0) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:59! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 2 PID: 14038 Comm: syz-executor.1 Not tainted 6.4.0-rc7-syzkaller-00003-gdbad9ce9397e #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:__list_del_entry_valid+0x11f/0x1b0 lib/list_debug.c:59 Code: 1e a7 8a e8 53 b5 50 fd 0f 0b 48 89 ca 48 c7 c7 00 1f a7 8a e8 42 b5 50 fd 0f 0b 4c 89 c2 48 c7 c7 60 1f a7 8a e8 31 b5 50 fd <0f> 0b 48 89 d1 48 c7 c7 e0 1f a7 8a 4c 89 c2 e8 1d b5 50 fd 0f 0b RSP: 0018:ffffc90007877d38 EFLAGS: 00010286 RAX: 000000000000006d RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168bd1c RDI: 0000000000000005 RBP: ffff88801ee35000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 6c65645f7473696c R12: ffff88801ee35008 R13: ffff88801b775098 R14: ffff88801ee31000 R15: ffff88801b7755f0 FS: 0000000000000000(0000) GS:ffff88802c800000(0063) knlGS:0000000056895380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007f0dad7f0440 CR3: 0000000015cbc000 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:0xf7fbe579 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:00000000ff8dd490 EFLAGS: 00000282 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 00000000f734e000 RDI: 0000000000000000 RBP: 00000000f6e00430 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid+0x11f/0x1b0 lib/list_debug.c:59 Code: 1e a7 8a e8 53 b5 50 fd 0f 0b 48 89 ca 48 c7 c7 00 1f a7 8a e8 42 b5 50 fd 0f 0b 4c 89 c2 48 c7 c7 60 1f a7 8a e8 31 b5 50 fd <0f> 0b 48 89 d1 48 c7 c7 e0 1f a7 8a 4c 89 c2 e8 1d b5 50 fd 0f 0b RSP: 0018:ffffc90007877d38 EFLAGS: 00010286 RAX: 000000000000006d RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168bd1c RDI: 0000000000000005 RBP: ffff88801ee35000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 6c65645f7473696c R12: ffff88801ee35008 R13: ffff88801b775098 R14: ffff88801ee31000 R15: ffff88801b7755f0 FS: 0000000000000000(0000) GS:ffff88802c900000(0063) knlGS:0000000056895380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f734e1b0 CR3: 0000000015cbc000 CR4: 0000000000350ee0 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