================================================================== BUG: KMSAN: uninit-value in batadv_interface_tx+0x772/0x1e40 net/batman-adv/soft-interface.c:226 CPU: 0 PID: 14941 Comm: syz-executor.4 Not tainted 5.0.0-rc1+ #9 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x173/0x1d0 lib/dump_stack.c:113 kmsan_report+0x12e/0x2a0 mm/kmsan/kmsan.c:600 __msan_warning+0x82/0xf0 mm/kmsan/kmsan_instr.c:313 batadv_interface_tx+0x772/0x1e40 net/batman-adv/soft-interface.c:226 __netdev_start_xmit include/linux/netdevice.h:4382 [inline] netdev_start_xmit include/linux/netdevice.h:4391 [inline] dev_direct_xmit+0x8a3/0xbb0 net/core/dev.c:3930 packet_direct_xmit+0x256/0x3e0 net/packet/af_packet.c:246 packet_snd net/packet/af_packet.c:2932 [inline] packet_sendmsg+0x79bb/0x9760 net/packet/af_packet.c:2957 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg net/socket.c:631 [inline] sock_write_iter+0x3f4/0x4d0 net/socket.c:900 call_write_iter include/linux/fs.h:1862 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x98a/0xc20 fs/read_write.c:487 vfs_write+0x481/0x920 fs/read_write.c:549 ksys_write fs/read_write.c:598 [inline] __do_sys_write fs/read_write.c:610 [inline] __se_sys_write+0x17a/0x370 fs/read_write.c:607 __x64_sys_write+0x4a/0x70 fs/read_write.c:607 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x457e29 Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fdd32f4fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457e29 RDX: 000000000000000e RSI: 0000000020002f40 RDI: 0000000000000004 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdd32f506d4 R13: 00000000004c7228 R14: 00000000004dcda0 R15: 00000000ffffffff Uninit was created at: kmsan_save_stack_with_flags+0x7a/0x130 mm/kmsan/kmsan.c:205 kmsan_internal_alloc_meta_for_pages+0x113/0x580 mm/kmsan/kmsan_hooks.c:98 kmsan_alloc_page+0x7e/0x100 mm/kmsan/kmsan_hooks.c:396 __alloc_pages_nodemask+0x137b/0x5e30 mm/page_alloc.c:4572 alloc_pages_current+0x69d/0x9b0 mm/mempolicy.c:2106 alloc_pages include/linux/gfp.h:511 [inline] alloc_slab_page mm/slub.c:1492 [inline] allocate_slab mm/slub.c:1637 [inline] new_slab+0x3c6/0x20b0 mm/slub.c:1711 new_slab_objects mm/slub.c:2465 [inline] ___slab_alloc+0x1577/0x2060 mm/slub.c:2617 __slab_alloc mm/slub.c:2657 [inline] slab_alloc_node mm/slub.c:2720 [inline] slab_alloc mm/slub.c:2762 [inline] kmem_cache_alloc+0xae8/0xb60 mm/slub.c:2767 sk_prot_alloc+0xf1/0x500 net/core/sock.c:1471 sk_alloc+0xde/0xb90 net/core/sock.c:1531 inet_create+0x76f/0x1320 net/ipv4/af_inet.c:321 __sock_create+0x65f/0xf30 net/socket.c:1277 sock_create net/socket.c:1317 [inline] __sys_socket+0x174/0x640 net/socket.c:1347 __do_sys_socket net/socket.c:1356 [inline] __se_sys_socket+0x8d/0xb0 net/socket.c:1354 __x64_sys_socket+0x4a/0x70 net/socket.c:1354 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 ==================================================================