===================================================== BUG: KMSAN: uninit-value in batadv_nc_purge_paths+0x661/0x740 net/batman-adv/network-coding.c:443 batadv_nc_purge_paths+0x661/0x740 net/batman-adv/network-coding.c:443 batadv_nc_worker+0x369/0x1aa0 net/batman-adv/network-coding.c:720 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xb8e/0x1d80 kernel/workqueue.c:3321 worker_thread+0xedf/0x1590 kernel/workqueue.c:3402 kthread+0xd5c/0xf00 kernel/kthread.c:464 ret_from_fork+0x1e0/0x310 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Uninit was created at: slab_post_alloc_hook mm/slub.c:4154 [inline] slab_alloc_node mm/slub.c:4197 [inline] __do_kmalloc_node mm/slub.c:4327 [inline] __kmalloc_noprof+0x95f/0x1310 mm/slub.c:4340 kmalloc_noprof include/linux/slab.h:909 [inline] kmalloc_array_noprof include/linux/slab.h:948 [inline] batadv_hash_new+0xc1/0x4b0 net/batman-adv/hash.c:52 batadv_nc_mesh_init+0x194/0x4d0 net/batman-adv/network-coding.c:143 batadv_mesh_init+0x4dc/0x720 net/batman-adv/main.c:222 batadv_meshif_init_late+0x5cb/0x6d0 net/batman-adv/mesh-interface.c:813 register_netdevice+0x51b/0x25d0 net/core/dev.c:11032 batadv_meshif_newlink+0x167/0x1b0 net/batman-adv/mesh-interface.c:1088 rtnl_newlink_create+0x41c/0x1250 net/core/rtnetlink.c:3823 __rtnl_newlink net/core/rtnetlink.c:3940 [inline] rtnl_newlink+0x2f13/0x3a90 net/core/rtnetlink.c:4055 rtnetlink_rcv_msg+0x106c/0x14b0 net/core/rtnetlink.c:6944 netlink_rcv_skb+0x54a/0x680 net/netlink/af_netlink.c:2534 rtnetlink_rcv+0x35/0x40 net/core/rtnetlink.c:6971 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0xed5/0x1290 net/netlink/af_netlink.c:1339 netlink_sendmsg+0x10b3/0x1250 net/netlink/af_netlink.c:1883 sock_sendmsg_nosec net/socket.c:712 [inline] __sock_sendmsg+0x333/0x3d0 net/socket.c:727 __sys_sendto+0x593/0x720 net/socket.c:2180 __do_sys_sendto net/socket.c:2187 [inline] __se_sys_sendto net/socket.c:2183 [inline] __x64_sys_sendto+0x130/0x200 net/socket.c:2183 x64_sys_call+0x3c0b/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:45 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 5080 Comm: kworker/u8:28 Tainted: G W 6.16.0-rc4-syzkaller-00049-gb4911fb0b060 #0 PREEMPT(undef) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: bat_events batadv_nc_worker =====================================================