nci: nci_add_new_protocol: the target found does not have the desired protocol ===================================================== BUG: KMSAN: uninit-value in nci_rf_discover_ntf_packet net/nfc/nci/ntf.c:386 [inline] BUG: KMSAN: uninit-value in nci_ntf_packet+0x2ac6/0x39c0 net/nfc/nci/ntf.c:798 nci_rf_discover_ntf_packet net/nfc/nci/ntf.c:386 [inline] nci_ntf_packet+0x2ac6/0x39c0 net/nfc/nci/ntf.c:798 nci_rx_work+0x408/0x6f0 net/nfc/nci/core.c:1544 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xae0/0x1c40 kernel/workqueue.c:3312 worker_thread+0xea7/0x14f0 kernel/workqueue.c:3393 kthread+0x3e2/0x540 kernel/kthread.c:389 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Uninit was created at: slab_post_alloc_hook mm/slub.c:3998 [inline] slab_alloc_node mm/slub.c:4041 [inline] kmem_cache_alloc_node_noprof+0x6bf/0xb80 mm/slub.c:4084 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:583 __alloc_skb+0x363/0x7b0 net/core/skbuff.c:674 alloc_skb include/linux/skbuff.h:1320 [inline] virtual_ncidev_write+0x6d/0x390 drivers/nfc/virtual_ncidev.c:120 vfs_write+0x493/0x1550 fs/read_write.c:588 ksys_write+0x20f/0x4c0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x93/0xe0 fs/read_write.c:652 x64_sys_call+0x306a/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 4383 Comm: kworker/u8:33 Not tainted 6.11.0-rc7-syzkaller-00135-gb7718454f937 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Workqueue: nfc2_nci_rx_wq nci_rx_work =====================================================