list_del corruption. prev->next should be ffff888079f98000, but was ffff888079a23000. (prev=ffffffff8e5b3060) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:59! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 24762 Comm: syz-executor.0 Not tainted 6.4.0-rc7-syzkaller-00194-g8a28a0b6f1a1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:__list_del_entry_valid+0x11f/0x1b0 lib/list_debug.c:59 Code: 1e a7 8a e8 73 a8 50 fd 0f 0b 48 89 ca 48 c7 c7 40 1f a7 8a e8 62 a8 50 fd 0f 0b 4c 89 c2 48 c7 c7 a0 1f a7 8a e8 51 a8 50 fd <0f> 0b 48 89 d1 48 c7 c7 20 20 a7 8a 4c 89 c2 e8 3d a8 50 fd 0f 0b RSP: 0018:ffffc9000348fd58 EFLAGS: 00010282 RAX: 000000000000006d RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168bc0c RDI: 0000000000000005 RBP: ffff888079f98000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff888079f98008 R13: ffff88801f921098 R14: ffff888079f9d000 R15: ffff88801f9215f0 FS: 0000555555be5400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001400 CR3: 00000000533c5000 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: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_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd8dac3e12b Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44 RSP: 002b:00007fd8daecfb80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007fd8dac3e12b RDX: 0000000000000000 RSI: 00000000000150c0 RDI: 0000000000000005 RBP: 00007fd8dadad980 R08: 0000000000000000 R09: 0000000081708d77 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000028f026 R13: 00007fd8daecfc80 R14: 00007fd8dadac120 R15: 0000000000000032 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid+0x11f/0x1b0 lib/list_debug.c:59 Code: 1e a7 8a e8 73 a8 50 fd 0f 0b 48 89 ca 48 c7 c7 40 1f a7 8a e8 62 a8 50 fd 0f 0b 4c 89 c2 48 c7 c7 a0 1f a7 8a e8 51 a8 50 fd <0f> 0b 48 89 d1 48 c7 c7 20 20 a7 8a 4c 89 c2 e8 3d a8 50 fd 0f 0b RSP: 0018:ffffc9000348fd58 EFLAGS: 00010282 RAX: 000000000000006d RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8168bc0c RDI: 0000000000000005 RBP: ffff888079f98000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff888079f98008 R13: ffff88801f921098 R14: ffff888079f9d000 R15: ffff88801f9215f0 FS: 0000555555be5400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d123000 CR3: 00000000533c5000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400