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+0x2b1b/0x4040 net/nfc/nci/ntf.c:828 nci_rf_discover_ntf_packet net/nfc/nci/ntf.c:386 [inline] nci_ntf_packet+0x2b1b/0x4040 net/nfc/nci/ntf.c:828 nci_rx_work+0x408/0x6f0 net/nfc/nci/core.c:1555 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xc1a/0x1e80 kernel/workqueue.c:3317 worker_thread+0xea7/0x14f0 kernel/workqueue.c:3398 kthread+0x6b9/0xef0 kernel/kthread.c:464 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Uninit was stored to memory at: nci_rf_discover_ntf_packet net/nfc/nci/ntf.c:380 [inline] nci_ntf_packet+0x1e8f/0x4040 net/nfc/nci/ntf.c:828 nci_rx_work+0x408/0x6f0 net/nfc/nci/core.c:1555 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xc1a/0x1e80 kernel/workqueue.c:3317 worker_thread+0xea7/0x14f0 kernel/workqueue.c:3398 kthread+0x6b9/0xef0 kernel/kthread.c:464 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Uninit was created at: slab_post_alloc_hook mm/slub.c:4121 [inline] slab_alloc_node mm/slub.c:4164 [inline] kmem_cache_alloc_node_noprof+0x907/0xe00 mm/slub.c:4216 kmalloc_reserve+0x13d/0x4a0 net/core/skbuff.c:515 __alloc_skb+0x363/0x7b0 net/core/skbuff.c:606 alloc_skb include/linux/skbuff.h:1331 [inline] virtual_ncidev_write+0x67/0x460 drivers/nfc/virtual_ncidev.c:120 vfs_write+0x48a/0x1540 fs/read_write.c:677 ksys_write+0x240/0x4b0 fs/read_write.c:731 __do_sys_write fs/read_write.c:742 [inline] __se_sys_write fs/read_write.c:739 [inline] __x64_sys_write+0x93/0xe0 fs/read_write.c:739 x64_sys_call+0x3161/0x3c30 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: 1 UID: 0 PID: 4001 Comm: kworker/u8:20 Not tainted 6.14.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: nfc2_nci_rx_wq nci_rx_work =====================================================