================================================================== BUG: KMSAN: uninit-value in batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:317 [inline] BUG: KMSAN: uninit-value in batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:383 [inline] BUG: KMSAN: uninit-value in batadv_iv_send_outstanding_bat_ogm_packet+0x6cd/0xcc0 net/batman-adv/bat_iv_ogm.c:1657 CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 5.3.0-rc3+ #17 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x191/0x1f0 lib/dump_stack.c:113 kmsan_report+0x162/0x2d0 mm/kmsan/kmsan_report.c:109 __msan_warning+0x75/0xe0 mm/kmsan/kmsan_instr.c:294 batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:317 [inline] batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:383 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x6cd/0xcc0 net/batman-adv/bat_iv_ogm.c:1657 process_one_work+0x1572/0x1ef0 kernel/workqueue.c:2269 worker_thread+0x111b/0x2460 kernel/workqueue.c:2415 kthread+0x4b5/0x4f0 kernel/kthread.c:256 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355 Uninit was created at: kmsan_save_stack_with_flags+0x37/0x70 mm/kmsan/kmsan.c:187 kmsan_internal_alloc_meta_for_pages+0x123/0x510 mm/kmsan/kmsan_hooks.c:114 kmsan_alloc_page+0x7a/0xf0 mm/kmsan/kmsan_hooks.c:244 __alloc_pages_nodemask+0x142d/0x5fa0 mm/page_alloc.c:4768 __alloc_pages include/linux/gfp.h:475 [inline] __alloc_pages_node include/linux/gfp.h:488 [inline] alloc_pages_node include/linux/gfp.h:502 [inline] __page_frag_cache_refill mm/page_alloc.c:4843 [inline] page_frag_alloc+0x35b/0x890 mm/page_alloc.c:4873 __napi_alloc_skb+0x195/0x980 net/core/skbuff.c:519 napi_alloc_skb include/linux/skbuff.h:2808 [inline] page_to_skb+0x134/0x1150 drivers/net/virtio_net.c:384 receive_mergeable drivers/net/virtio_net.c:924 [inline] receive_buf+0xe7b/0x8810 drivers/net/virtio_net.c:1033 virtnet_receive drivers/net/virtio_net.c:1323 [inline] virtnet_poll+0x666/0x19d0 drivers/net/virtio_net.c:1428 napi_poll net/core/dev.c:6347 [inline] net_rx_action+0x74b/0x1950 net/core/dev.c:6413 __do_softirq+0x4a1/0x83a kernel/softirq.c:293 do_softirq_own_stack+0x49/0x80 arch/x86/entry/entry_64.S:1091 do_softirq kernel/softirq.c:338 [inline] __local_bh_enable_ip+0x184/0x1d0 kernel/softirq.c:190 local_bh_enable+0x36/0x40 include/linux/bottom_half.h:32 rcu_read_unlock_bh include/linux/rcupdate.h:681 [inline] ip_finish_output2+0x20dc/0x25d0 net/ipv4/ip_output.c:229 __ip_finish_output+0xaf8/0xda0 net/ipv4/ip_output.c:308 ip_finish_output+0x2db/0x420 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:294 [inline] ip_output+0x541/0x610 net/ipv4/ip_output.c:432 dst_output include/net/dst.h:436 [inline] ip_local_out net/ipv4/ip_output.c:125 [inline] __ip_queue_xmit+0x1caf/0x21f0 net/ipv4/ip_output.c:532 ip_queue_xmit+0xcc/0xf0 include/net/ip.h:236 __tcp_transmit_skb+0x409e/0x5c60 net/ipv4/tcp_output.c:1158 tcp_transmit_skb net/ipv4/tcp_output.c:1174 [inline] tcp_write_xmit+0x38d9/0xa870 net/ipv4/tcp_output.c:2425 __tcp_push_pending_frames+0x124/0x4e0 net/ipv4/tcp_output.c:2601 tcp_push+0x705/0x8b0 net/ipv4/tcp.c:724 tcp_sendmsg_locked+0x5af9/0x6880 net/ipv4/tcp.c:1382 tcp_sendmsg+0xb2/0x100 net/ipv4/tcp.c:1420 inet_sendmsg+0x178/0x2e0 net/ipv4/af_inet.c:807 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg net/socket.c:657 [inline] sock_write_iter+0x599/0x650 net/socket.c:989 call_write_iter include/linux/fs.h:1870 [inline] new_sync_write fs/read_write.c:483 [inline] __vfs_write+0xa2c/0xcb0 fs/read_write.c:496 vfs_write+0x481/0x920 fs/read_write.c:558 ksys_write+0x265/0x430 fs/read_write.c:611 __do_sys_write fs/read_write.c:623 [inline] __se_sys_write+0x92/0xb0 fs/read_write.c:620 __x64_sys_write+0x4a/0x70 fs/read_write.c:620 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x63/0xe7 ==================================================================