================================================================== BUG: KMSAN: uninit-value in slab_alloc_node mm/slub.c:2703 [inline] BUG: KMSAN: uninit-value in __kmalloc_node_track_caller+0x8da/0x1380 mm/slub.c:4351 CPU: 1 PID: 21297 Comm: syz-executor0 Not tainted 4.19.0-rc4+ #58 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+0x2f6/0x430 lib/dump_stack.c:113 kmsan_report+0x183/0x2b0 mm/kmsan/kmsan.c:917 __msan_warning+0x70/0xc0 mm/kmsan/kmsan_instr.c:500 slab_alloc_node mm/slub.c:2703 [inline] __kmalloc_node_track_caller+0x8da/0x1380 mm/slub.c:4351 __kmalloc_reserve net/core/skbuff.c:138 [inline] pskb_expand_head+0x326/0x1e10 net/core/skbuff.c:1461 netlink_trim+0x418/0x490 net/netlink/af_netlink.c:1299 netlink_unicast+0x159/0x17f0 net/netlink/af_netlink.c:1333 nlmsg_unicast include/net/netlink.h:608 [inline] genlmsg_unicast include/net/genetlink.h:296 [inline] genlmsg_reply include/net/genetlink.h:306 [inline] ctrl_getfamily+0xabd/0xb70 net/netlink/genetlink.c:893 genl_family_rcv_msg net/netlink/genetlink.c:601 [inline] genl_rcv_msg+0x16d9/0x1860 net/netlink/genetlink.c:626 netlink_rcv_skb+0x36e/0x5f0 net/netlink/af_netlink.c:2454 genl_rcv+0x63/0x80 net/netlink/genetlink.c:637 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x170a/0x17f0 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x1214/0x1380 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg net/socket.c:631 [inline] ___sys_sendmsg+0xe70/0x1290 net/socket.c:2114 __sys_sendmsg net/socket.c:2152 [inline] __do_sys_sendmsg net/socket.c:2161 [inline] __se_sys_sendmsg+0x2a3/0x3d0 net/socket.c:2159 __x64_sys_sendmsg+0x4a/0x70 net/socket.c:2159 do_syscall_64+0xb8/0x100 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x411171 Code: 75 14 b8 2e 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 14 18 00 00 c3 48 83 ec 08 e8 ea fa ff ff 48 89 04 24 b8 2e 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 33 fb ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007fd9f51129c0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fd9f5112a58 RCX: 0000000000411171 RDX: 0000000000000000 RSI: 00007fd9f5112a00 RDI: 0000000000000004 RBP: 0000000000000004 R08: 000000000000000b R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007fd9f5112a40 R13: 00000000004cb438 R14: 00000000004d7c08 R15: 00000000ffffffff Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:255 [inline] kmsan_internal_poison_shadow+0xb8/0x1b0 mm/kmsan/kmsan.c:180 kmsan_kmalloc+0x98/0x100 mm/kmsan/kmsan_hooks.c:91 kmsan_slab_alloc+0x10/0x20 mm/kmsan/kmsan_hooks.c:100 slab_post_alloc_hook mm/slab.h:446 [inline] slab_alloc_node mm/slub.c:2718 [inline] __kmalloc_node_track_caller+0xb55/0x1380 mm/slub.c:4351 __kmalloc_reserve net/core/skbuff.c:138 [inline] __alloc_skb+0x40d/0xe50 net/core/skbuff.c:206 alloc_skb_fclone include/linux/skbuff.h:1038 [inline] sk_stream_alloc_skb+0x22a/0xe30 net/ipv4/tcp.c:874 tso_fragment net/ipv4/tcp_output.c:1860 [inline] tcp_write_xmit+0x27b4/0xa850 net/ipv4/tcp_output.c:2354 tcp_tsq_write+0x3ec/0x440 net/ipv4/tcp_output.c:801 tcp_tsq_handler net/ipv4/tcp_output.c:810 [inline] tcp_pace_kick+0x115/0x270 net/ipv4/tcp_output.c:974 __run_hrtimer kernel/time/hrtimer.c:1398 [inline] __hrtimer_run_queues+0xd09/0x1410 kernel/time/hrtimer.c:1460 hrtimer_run_softirq+0x1b3/0x2b0 kernel/time/hrtimer.c:1474 __do_softirq+0x614/0xa72 kernel/softirq.c:292 ==================================================================