================================================================== BUG: KMSAN: uninit-value in slab_alloc_node mm/slub.c:2749 [inline] BUG: KMSAN: uninit-value in kmem_cache_alloc_node+0x5d0/0xe70 mm/slub.c:2828 CPU: 0 PID: 3248 Comm: syz-executor.0 Not tainted 5.3.0-rc7+ #0 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+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 slab_alloc_node mm/slub.c:2749 [inline] kmem_cache_alloc_node+0x5d0/0xe70 mm/slub.c:2828 __alloc_skb+0x215/0xa10 net/core/skbuff.c:197 alloc_skb include/linux/skbuff.h:1056 [inline] ip6_frag_next+0x202/0x10a0 net/ipv6/ip6_output.c:703 ip6_fragment+0x2ff3/0x37d0 net/ipv6/ip6_output.c:907 __ip6_finish_output+0x753/0x8f0 net/ipv6/ip6_output.c:140 ip6_finish_output+0x2db/0x420 net/ipv6/ip6_output.c:152 NF_HOOK_COND include/linux/netfilter.h:294 [inline] ip6_output+0x5d3/0x720 net/ipv6/ip6_output.c:175 dst_output include/net/dst.h:436 [inline] ip6_local_out+0x164/0x1d0 net/ipv6/output_core.c:179 ip6_send_skb+0xfa/0x390 net/ipv6/ip6_output.c:1791 udp_v6_send_skb+0x1763/0x1d50 net/ipv6/udp.c:1167 udpv6_sendmsg+0x4315/0x4660 net/ipv6/udp.c:1464 inet6_sendmsg+0x276/0x2e0 net/ipv6/af_inet6.c:576 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg net/socket.c:657 [inline] kernel_sendmsg+0x24a/0x440 net/socket.c:677 sock_no_sendpage+0x205/0x2b0 net/core/sock.c:2730 kernel_sendpage net/socket.c:3682 [inline] sock_sendpage+0x1f1/0x2e0 net/socket.c:935 pipe_to_sendpage+0x342/0x470 fs/splice.c:449 splice_from_pipe_feed fs/splice.c:500 [inline] __splice_from_pipe+0x484/0xe80 fs/splice.c:624 splice_from_pipe fs/splice.c:659 [inline] generic_splice_sendpage+0x1d5/0x2d0 fs/splice.c:829 do_splice_from fs/splice.c:848 [inline] direct_splice_actor+0x19e/0x200 fs/splice.c:1020 splice_direct_to_actor+0x852/0x1130 fs/splice.c:975 do_splice_direct+0x342/0x580 fs/splice.c:1063 do_sendfile+0x1010/0x1d20 fs/read_write.c:1464 __do_sys_sendfile64 fs/read_write.c:1525 [inline] __se_sys_sendfile64+0x2bb/0x360 fs/read_write.c:1511 __x64_sys_sendfile64+0x56/0x70 fs/read_write.c:1511 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x4598e9 Code: fd b7 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 b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6c97775c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00000000004598e9 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000a808 R11: 0000000000000246 R12: 00007f6c977766d4 R13: 00000000004c709e R14: 00000000004dc750 R15: 00000000ffffffff Uninit was stored to memory at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:174 [inline] kmsan_internal_chain_origin+0xcc/0x150 mm/kmsan/kmsan.c:332 __msan_chain_origin+0x6b/0xe0 mm/kmsan/kmsan_instr.c:190 ___slab_alloc+0x1dbc/0x1fb0 mm/slub.c:2634 __slab_alloc mm/slub.c:2687 [inline] slab_alloc_node mm/slub.c:2750 [inline] slab_alloc mm/slub.c:2799 [inline] kmem_cache_alloc+0xade/0xd10 mm/slub.c:2804 skb_clone+0x326/0x5d0 net/core/skbuff.c:1448 ip6_finish_output2+0x548/0x2670 net/ipv6/ip6_output.c:74 ip6_fragment+0x3097/0x37d0 net/ipv6/ip6_output.c:916 __ip6_finish_output+0x753/0x8f0 net/ipv6/ip6_output.c:140 ip6_finish_output+0x2db/0x420 net/ipv6/ip6_output.c:152 NF_HOOK_COND include/linux/netfilter.h:294 [inline] ip6_output+0x5d3/0x720 net/ipv6/ip6_output.c:175 dst_output include/net/dst.h:436 [inline] ip6_local_out+0x164/0x1d0 net/ipv6/output_core.c:179 ip6_send_skb+0xfa/0x390 net/ipv6/ip6_output.c:1791 udp_v6_send_skb+0x1763/0x1d50 net/ipv6/udp.c:1167 udpv6_sendmsg+0x4315/0x4660 net/ipv6/udp.c:1464 inet6_sendmsg+0x276/0x2e0 net/ipv6/af_inet6.c:576 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg net/socket.c:657 [inline] kernel_sendmsg+0x24a/0x440 net/socket.c:677 sock_no_sendpage+0x205/0x2b0 net/core/sock.c:2730 kernel_sendpage net/socket.c:3682 [inline] sock_sendpage+0x1f1/0x2e0 net/socket.c:935 pipe_to_sendpage+0x342/0x470 fs/splice.c:449 splice_from_pipe_feed fs/splice.c:500 [inline] __splice_from_pipe+0x484/0xe80 fs/splice.c:624 splice_from_pipe fs/splice.c:659 [inline] generic_splice_sendpage+0x1d5/0x2d0 fs/splice.c:829 do_splice_from fs/splice.c:848 [inline] direct_splice_actor+0x19e/0x200 fs/splice.c:1020 splice_direct_to_actor+0x852/0x1130 fs/splice.c:975 do_splice_direct+0x342/0x580 fs/splice.c:1063 do_sendfile+0x1010/0x1d20 fs/read_write.c:1464 __do_sys_sendfile64 fs/read_write.c:1525 [inline] __se_sys_sendfile64+0x2bb/0x360 fs/read_write.c:1511 __x64_sys_sendfile64+0x56/0x70 fs/read_write.c:1511 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x63/0xe7 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:174 [inline] kmsan_internal_poison_shadow+0x58/0xb0 mm/kmsan/kmsan.c:134 kmsan_slab_free+0x8d/0x100 mm/kmsan/kmsan_hooks.c:123 slab_free_freelist_hook mm/slub.c:1472 [inline] slab_free mm/slub.c:3038 [inline] kmem_cache_free_bulk+0x3ad9/0x3f50 mm/slub.c:3163 __kfree_skb_flush+0xb0/0x100 net/core/skbuff.c:862 net_rx_action+0x1908/0x1950 net/core/dev.c:6441 __do_softirq+0x4a1/0x83a kernel/softirq.c:293 run_ksoftirqd+0x25/0x40 kernel/softirq.c:607 smpboot_thread_fn+0x4a3/0x990 kernel/smpboot.c:165 kthread+0x4b5/0x4f0 kernel/kthread.c:256 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355 ==================================================================