list_add corruption. next->prev should be prev (ffff800090b0c840), but was dead000000000122. (next=ffff0000cb452000). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:29! Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 12436 Comm: syz-executor.5 Not tainted 6.4.0-rc7-syzkaller-ge40939bbfc68 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/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 : ffff80009ab372f0 x29: ffff80009ab372f0 x28: dfff800000000000 x27: 1fffe0001b57f80d x26: 1fffe0001b033401 x25: 1fffe0001b033400 x24: dfff800000000000 x23: dfff800000000000 x22: ffff0000cb452008 x21: ffff0000d819a000 x20: ffff800090b0c840 x19: ffff0000cb452000 x18: ffff80009ab36920 x17: 3034386330623039 x16: ffff80008a4483a0 x15: 0000000000000001 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000040000 x10: 000000000000c37e x9 : 68c98d6b785b9a00 x8 : 68c98d6b785b9a00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80009ab36bf8 x4 : ffff80008dfcee80 x3 : ffff800082a98004 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:3636 [inline] path_openat+0x1f2c/0x27f8 fs/namei.c:3791 do_filp_open+0x1bc/0x3cc fs/namei.c:3818 do_sys_openat2+0x128/0x3d8 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1383 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x244 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:191 el0_svc+0x4c/0x160 arch/arm64/kernel/entry-common.c:647 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:665 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 Code: 91298000 aa1403e1 aa1303e3 95e4df83 (d4210000) ---[ end trace 0000000000000000 ]---