================================================================== BUG: KMSAN: uninit-value in slab_alloc_node mm/slub.c:2704 [inline] BUG: KMSAN: uninit-value in __kmalloc_node_track_caller+0x667/0x1160 mm/slub.c:4352 CPU: 0 PID: 7331 Comm: syz-executor4 Not tainted 4.19.0-rc1+ #41 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+0x14b/0x190 lib/dump_stack.c:113 kmsan_report+0x183/0x2b0 mm/kmsan/kmsan.c:956 __msan_warning+0x70/0xc0 mm/kmsan/kmsan_instr.c:645 slab_alloc_node mm/slub.c:2704 [inline] __kmalloc_node_track_caller+0x667/0x1160 mm/slub.c:4352 __kmalloc_reserve net/core/skbuff.c:138 [inline] __alloc_skb+0x2f5/0x9e0 net/core/skbuff.c:206 alloc_skb_fclone include/linux/skbuff.h:1038 [inline] sk_stream_alloc_skb+0x172/0xc90 net/ipv4/tcp.c:874 tcp_fragment+0x43b/0x1f20 net/ipv4/tcp_output.c:1306 tso_fragment net/ipv4/tcp_output.c:1858 [inline] tcp_write_xmit+0x2eb8/0xa5a0 net/ipv4/tcp_output.c:2354 __tcp_push_pending_frames+0x124/0x400 net/ipv4/tcp_output.c:2534 tcp_push_pending_frames include/net/tcp.h:1740 [inline] tcp_data_snd_check+0x180/0xe40 net/ipv4/tcp_input.c:5160 tcp_rcv_established+0x1e44/0x2860 net/ipv4/tcp_input.c:5559 tcp_v4_do_rcv+0x689/0xd50 net/ipv4/tcp_ipv4.c:1532 sk_backlog_rcv include/net/sock.h:931 [inline] __release_sock+0x2ae/0x660 net/core/sock.c:2336 __sk_flush_backlog+0x52/0x70 net/core/sock.c:2356 sk_flush_backlog include/net/sock.h:1018 [inline] tcp_sendmsg_locked+0xf98/0x68f0 net/ipv4/tcp.c:1280 tcp_sendmsg+0xb2/0x100 net/ipv4/tcp.c:1443 inet_sendmsg+0x49a/0x740 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:621 [inline] sock_sendmsg net/socket.c:631 [inline] __sys_sendto+0x868/0xa30 net/socket.c:1786 __do_sys_sendto net/socket.c:1798 [inline] __se_sys_sendto+0x107/0x130 net/socket.c:1794 __x64_sys_sendto+0x6e/0x90 net/socket.c:1794 do_syscall_64+0xb8/0x100 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x457099 Code: fd b4 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 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd8924e3c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fd8924e46d4 RCX: 0000000000457099 RDX: fffffffffffffe6e RSI: 0000000020a88f88 RDI: 0000000000000003 RBP: 00000000009300a0 R08: 0000000020e68000 R09: 0000000000000010 R10: 0000000020000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d4cb0 R14: 00000000004c91a3 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:256 [inline] kmsan_internal_poison_shadow+0xb8/0x1b0 mm/kmsan/kmsan.c:181 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:2719 [inline] __kmalloc_node_track_caller+0x9e7/0x1160 mm/slub.c:4352 __kmalloc_reserve net/core/skbuff.c:138 [inline] __alloc_skb+0x2f5/0x9e0 net/core/skbuff.c:206 alloc_skb include/linux/skbuff.h:996 [inline] __tcp_send_ack+0x10d/0x880 net/ipv4/tcp_output.c:3584 tcp_send_ack+0x68/0x90 net/ipv4/tcp_output.c:3611 tcp_compressed_ack_kick+0x15a/0x2e0 net/ipv4/tcp_timer.c:744 __run_hrtimer kernel/time/hrtimer.c:1398 [inline] __hrtimer_run_queues+0xbfc/0x15b0 kernel/time/hrtimer.c:1460 hrtimer_run_softirq+0x1b3/0x2b0 kernel/time/hrtimer.c:1474 __do_softirq+0x562/0x948 kernel/softirq.c:292 ==================================================================