list_del corruption. prev->next should be ffff888075d2e000, but was ffff888078304000. (prev=ffffffff8e58b680) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:59! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 18721 Comm: syz-executor.0 Not tainted 6.2.0-rc8-syzkaller-00021-ge1c04510f521 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:__list_del_entry_valid.cold+0x12/0x72 lib/list_debug.c:59 Code: f0 ff 0f 0b 48 89 f1 48 c7 c7 c0 ce a6 8a 4c 89 e6 e8 13 2a f0 ff 0f 0b 4c 89 e1 48 89 ee 48 c7 c7 20 d1 a6 8a e8 ff 29 f0 ff <0f> 0b 48 89 ee 48 c7 c7 00 d0 a6 8a e8 ee 29 f0 ff 0f 0b 4c 89 e2 RSP: 0018:ffffc90006067d38 EFLAGS: 00010286 RAX: 000000000000006d RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff888072999d40 RSI: ffffffff8166220c RDI: fffff52000c0cf99 RBP: ffff888075d2e000 R08: 000000000000006d R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8e58b680 R13: ffff88801ec0e000 R14: ffff888075d2c000 R15: ffff88806c47e5f0 FS: 0000000000000000(0000) GS:ffff8880b9900000(0063) knlGS:00000000576f1380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f72d8304 CR3: 0000000020b1b000 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:320 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+0x23c/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 __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:0xf7ffb549 Code: 03 74 c0 01 10 05 03 74 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 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: 0000000000000003 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 00000000f734d000 RDI: 0000000000049eda 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.cold+0x12/0x72 lib/list_debug.c:59 Code: f0 ff 0f 0b 48 89 f1 48 c7 c7 c0 ce a6 8a 4c 89 e6 e8 13 2a f0 ff 0f 0b 4c 89 e1 48 89 ee 48 c7 c7 20 d1 a6 8a e8 ff 29 f0 ff <0f> 0b 48 89 ee 48 c7 c7 00 d0 a6 8a e8 ee 29 f0 ff 0f 0b 4c 89 e2 RSP: 0018:ffffc90006067d38 EFLAGS: 00010286 RAX: 000000000000006d RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff888072999d40 RSI: ffffffff8166220c RDI: fffff52000c0cf99 RBP: ffff888075d2e000 R08: 000000000000006d R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8e58b680 R13: ffff88801ec0e000 R14: ffff888075d2c000 R15: ffff88806c47e5f0 FS: 0000000000000000(0000) GS:ffff8880b9900000(0063) knlGS:00000000576f1380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f735067c CR3: 0000000020b1b000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 03 74 c0 01 add 0x1(%rax,%rax,8),%esi 4: 10 05 03 74 b8 01 adc %al,0x1b87403(%rip) # 0x1b8740d a: 10 06 adc %al,(%rsi) c: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 10: 10 07 adc %al,(%rdi) 12: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi 16: 10 08 adc %cl,(%rax) 18: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1c: 00 00 add %al,(%rax) 1e: 00 00 add %al,(%rax) 20: 00 51 52 add %dl,0x52(%rcx) 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 retq 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 39: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi