list_add corruption. next->prev should be prev (ffff800018927f60), but was dead000000000122. (next=ffff0000c9f09000). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:29! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 18558 Comm: syz-executor.3 Not tainted 6.3.0-rc7-syzkaller-g14f8db1c0f9a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : __list_add_valid+0xf4/0x110 lib/list_debug.c:27 lr : __list_add_valid+0xf4/0x110 lib/list_debug.c:27 sp : ffff80001e6a72f0 x29: ffff80001e6a72f0 x28: dfff800000000000 x27: 1fffe0001b0d860d x26: 1fffe00018362601 x25: 1fffe00018362600 x24: dfff800000000000 x23: dfff800000000000 x22: ffff0000c9f09008 x21: ffff0000c1b13000 x20: ffff800018927f60 x19: ffff0000c9f09000 x18: 1fffe0003684e9b6 x17: ffff800015d6d000 x16: ffff80001236e294 x15: 0000000000000002 x14: 1ffff00002bae0b0 x13: dfff800000000000 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : b6043b02ac81d300 x8 : b6043b02ac81d300 x7 : ffff80000827ece4 x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff80000aa6162c x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000075 Call trace: __list_add_valid+0xf4/0x110 lib/list_debug.c:27 __list_add include/linux/list.h:69 [inline] list_add include/linux/list.h:88 [inline] nfc_llcp_register_device+0x58c/0x6bc net/nfc/llcp_core.c:1604 nfc_register_device+0x8c/0x310 net/nfc/core.c:1124 nci_register_device+0x6ac/0x7c4 net/nfc/nci/core.c:1257 virtual_ncidev_open+0x13c/0x1bc drivers/nfc/virtual_ncidev.c:148 misc_open+0x2f0/0x368 drivers/char/misc.c:165 chrdev_open+0x3e8/0x4fc fs/char_dev.c:414 do_dentry_open+0x724/0xf90 fs/open.c:920 vfs_open+0x7c/0x90 fs/open.c:1051 do_open fs/namei.c:3560 [inline] path_openat+0x1f2c/0x27f8 fs/namei.c:3715 do_filp_open+0x1bc/0x3cc fs/namei.c:3742 do_sys_openat2+0x128/0x3d8 fs/open.c:1348 do_sys_open fs/open.c:1364 [inline] __do_sys_openat fs/open.c:1380 [inline] __se_sys_openat fs/open.c:1375 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1375 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x15c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Code: 91120000 aa1403e1 aa1303e3 95e25603 (d4210000) ---[ end trace 0000000000000000 ]---