------------[ cut here ]------------ kernel BUG at lib/list_debug.c:64! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 19054 Comm: syz-executor.3 Not tainted 6.2.0-syzkaller-02299-g4a7d37e824f5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:__list_del_entry_valid+0x122/0x130 lib/list_debug.c:62 Code: 6a 06 0f 0b 48 c7 c7 20 53 38 8b 4c 89 fe 48 89 d9 e8 12 7e 6a 06 0f 0b 48 c7 c7 a0 53 38 8b 4c 89 fe 4c 89 f1 e8 fe 7d 6a 06 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 80 3d 95 cc RSP: 0018:ffffc90015277c98 EFLAGS: 00010246 RAX: 000000000000006d RBX: ffff88805eeea008 RCX: fc3e9ad9d60a8700 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff816f7d2c R09: fffff52002a4ef4d R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff88805eeea000 R15: ffff888058a1d000 FS: 000055555668a400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8ed61ad988 CR3: 00000000783d4000 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+0x5f/0x180 net/nfc/llcp_core.c:182 nfc_unregister_device+0x167/0x2a0 net/nfc/core.c:1179 virtual_ncidev_close+0x59/0x90 drivers/nfc/virtual_ncidev.c:163 __fput+0x3b7/0x890 fs/file_table.c:321 task_work_run+0x24a/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x64/0x2e0 kernel/entry/common.c:296 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9f18a3dfab 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:00007ffc90b754e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f9f18a3dfab RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000004 RBP: 00007f9f18bad980 R08: 0000000000000000 R09: 00007f9f18600188 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000116c41 R13: 00007f9f18600180 R14: 00007f9f18bac050 R15: 0000000000000001 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid+0x122/0x130 lib/list_debug.c:62 Code: 6a 06 0f 0b 48 c7 c7 20 53 38 8b 4c 89 fe 48 89 d9 e8 12 7e 6a 06 0f 0b 48 c7 c7 a0 53 38 8b 4c 89 fe 4c 89 f1 e8 fe 7d 6a 06 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 80 3d 95 cc RSP: 0018:ffffc90015277c98 EFLAGS: 00010246 RAX: 000000000000006d RBX: ffff88805eeea008 RCX: fc3e9ad9d60a8700 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: 0000000000000001 R08: ffffffff816f7d2c R09: fffff52002a4ef4d R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff88805eeea000 R15: ffff888058a1d000 FS: 000055555668a400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9b195ad988 CR3: 00000000783d4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400