list_del corruption. prev->next should be ffff888025dd0000, but was ffff88801d2aa000. (prev=ffffffff8e5b7fe0) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:59! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 3 PID: 28343 Comm: syz-executor.3 Not tainted 6.4.0-syzkaller-01647-g6e2332e0ab53 #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: 55 a7 8a e8 f3 b3 4f fd 0f 0b 48 89 ca 48 c7 c7 e0 55 a7 8a e8 e2 b3 4f fd 0f 0b 4c 89 c2 48 c7 c7 40 56 a7 8a e8 d1 b3 4f fd <0f> 0b 48 89 d1 48 c7 c7 c0 56 a7 8a 4c 89 c2 e8 bd b3 4f fd 0f 0b RSP: 0018:ffffc90002c87d30 EFLAGS: 00010282 RAX: 000000000000006d RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168e8cc RDI: 0000000000000005 RBP: ffff888025dd0000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff888025dd0008 R13: ffff888025dd1098 R14: ffff888025dd2000 R15: ffff888025dd15f0 FS: 0000000000000000(0000) GS:ffff88802c900000(0063) knlGS:0000000056f38380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002d326000 CR3: 0000000025b80000 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+0x40c/0xad0 fs/file_table.c:378 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:0xf7fd8579 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:00000000ffefeb30 EFLAGS: 00000282 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 00000000f734e000 RDI: 0000000000000000 RBP: 00000000f6e00158 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: 55 a7 8a e8 f3 b3 4f fd 0f 0b 48 89 ca 48 c7 c7 e0 55 a7 8a e8 e2 b3 4f fd 0f 0b 4c 89 c2 48 c7 c7 40 56 a7 8a e8 d1 b3 4f fd <0f> 0b 48 89 d1 48 c7 c7 c0 56 a7 8a 4c 89 c2 e8 bd b3 4f fd 0f 0b RSP: 0018:ffffc90002c87d30 EFLAGS: 00010282 RAX: 000000000000006d RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168e8cc RDI: 0000000000000005 RBP: ffff888025dd0000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff888025dd0008 R13: ffff888025dd1098 R14: ffff888025dd2000 R15: ffff888025dd15f0 FS: 0000000000000000(0000) GS:ffff88802c600000(0063) knlGS:0000000056f38380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7378000 CR3: 0000000025b80000 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