===================================================== BUG: KMSAN: uninit-value in validate_beacon_head+0x502/0x5f0 net/wireless/nl80211.c:245 CPU: 1 PID: 9342 Comm: syz-executor.1 Not tainted 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 validate_beacon_head+0x502/0x5f0 net/wireless/nl80211.c:245 validate_nla lib/nlattr.c:544 [inline] __nla_validate_parse+0x20fe/0x4ab0 lib/nlattr.c:588 __nla_parse+0x141/0x150 lib/nlattr.c:685 __nlmsg_parse include/net/netlink.h:733 [inline] genl_family_rcv_msg_attrs_parse+0x429/0x5b0 net/netlink/genetlink.c:548 genl_family_rcv_msg_doit net/netlink/genetlink.c:717 [inline] genl_family_rcv_msg net/netlink/genetlink.c:783 [inline] genl_rcv_msg+0xbd6/0x1610 net/netlink/genetlink.c:800 netlink_rcv_skb+0x6fa/0x810 net/netlink/af_netlink.c:2502 genl_rcv+0x63/0x80 net/netlink/genetlink.c:811 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline] netlink_unicast+0x11d6/0x14a0 net/netlink/af_netlink.c:1338 netlink_sendmsg+0x1740/0x1840 net/netlink/af_netlink.c:1927 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] ____sys_sendmsg+0xcfc/0x12f0 net/socket.c:2350 ___sys_sendmsg net/socket.c:2404 [inline] __sys_sendmsg+0x714/0x830 net/socket.c:2433 __do_sys_sendmsg net/socket.c:2442 [inline] __se_sys_sendmsg+0x97/0xb0 net/socket.c:2440 __x64_sys_sendmsg+0x4a/0x70 net/socket.c:2440 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffb900ef188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000020000200 RDI: 0000000000000003 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 0000000000a9fb1f R14: 00007ffb900ef300 R15: 0000000000022000 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:121 [inline] kmsan_internal_poison_shadow+0x5c/0xf0 mm/kmsan/kmsan.c:104 kmsan_slab_alloc+0x8e/0xe0 mm/kmsan/kmsan_hooks.c:76 slab_alloc_node mm/slub.c:2922 [inline] __kmalloc_node_track_caller+0xa4f/0x1470 mm/slub.c:4609 kmalloc_reserve net/core/skbuff.c:353 [inline] __alloc_skb+0x4dd/0xe90 net/core/skbuff.c:424 alloc_skb include/linux/skbuff.h:1103 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1184 [inline] netlink_sendmsg+0xdbc/0x1840 net/netlink/af_netlink.c:1902 sock_sendmsg_nosec net/socket.c:654 [inline] sock_sendmsg net/socket.c:674 [inline] ____sys_sendmsg+0xcfc/0x12f0 net/socket.c:2350 ___sys_sendmsg net/socket.c:2404 [inline] __sys_sendmsg+0x714/0x830 net/socket.c:2433 __do_sys_sendmsg net/socket.c:2442 [inline] __se_sys_sendmsg+0x97/0xb0 net/socket.c:2440 __x64_sys_sendmsg+0x4a/0x70 net/socket.c:2440 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xae =====================================================