================================================================== BUG: KMSAN: uninit-value in slab_alloc_node mm/slub.c:2749 [inline] BUG: KMSAN: uninit-value in slab_alloc mm/slub.c:2799 [inline] BUG: KMSAN: uninit-value in kmem_cache_alloc+0x4ed/0xd10 mm/slub.c:2804 CPU: 0 PID: 9 Comm: ksoftirqd/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] slab_alloc mm/slub.c:2799 [inline] kmem_cache_alloc+0x4ed/0xd10 mm/slub.c:2804 skb_clone+0x326/0x5d0 net/core/skbuff.c:1448 deliver_clone net/bridge/br_forward.c:119 [inline] br_flood+0xd6d/0xfe0 net/bridge/br_forward.c:232 br_handle_frame_finish+0x1a77/0x1c20 net/bridge/br_input.c:162 br_nf_hook_thresh+0x4ba/0x630 net/bridge/br_netfilter_hooks.c:1014 br_nf_pre_routing_finish_ipv6+0xe64/0xff0 net/bridge/br_netfilter_ipv6.c:187 NF_HOOK include/linux/netfilter.h:305 [inline] br_nf_pre_routing_ipv6+0x66e/0x7b0 net/bridge/br_netfilter_ipv6.c:236 br_nf_pre_routing+0xcad/0x1e90 net/bridge/br_netfilter_hooks.c:501 nf_hook_entry_hookfn include/linux/netfilter.h:135 [inline] nf_hook_bridge_pre net/bridge/br_input.c:223 [inline] br_handle_frame+0xc7a/0x1eb0 net/bridge/br_input.c:348 __netif_receive_skb_core+0x20b9/0x51a0 net/core/dev.c:4905 __netif_receive_skb_one_core net/core/dev.c:5002 [inline] __netif_receive_skb net/core/dev.c:5118 [inline] process_backlog+0x612/0x1410 net/core/dev.c:5929 napi_poll net/core/dev.c:6352 [inline] net_rx_action+0x74b/0x1950 net/core/dev.c:6418 __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 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] kmem_cache_alloc_node+0x769/0xe70 mm/slub.c:2828 __alloc_skb+0x215/0xa10 net/core/skbuff.c:197 alloc_skb include/linux/skbuff.h:1056 [inline] ndisc_alloc_skb+0x1ba/0x5b0 net/ipv6/ndisc.c:416 ndisc_send_rs+0x488/0xb90 net/ipv6/ndisc.c:682 addrconf_rs_timer+0x847/0xc20 net/ipv6/addrconf.c:3879 call_timer_fn+0x232/0x530 kernel/time/timer.c:1322 expire_timers kernel/time/timer.c:1366 [inline] __run_timers+0xcdc/0x11a0 kernel/time/timer.c:1685 run_timer_softirq+0x2d/0x50 kernel/time/timer.c:1698 __do_softirq+0x4a1/0x83a kernel/softirq.c:293 invoke_softirq kernel/softirq.c:375 [inline] irq_exit+0x230/0x280 kernel/softirq.c:416 exiting_irq+0xe/0x10 arch/x86/include/asm/apic.h:537 smp_apic_timer_interrupt+0x48/0x70 arch/x86/kernel/apic/apic.c:1135 apic_timer_interrupt+0x2e/0x40 arch/x86/entry/entry_64.S:837 kmsan_get_shadow_origin_ptr+0x5a/0x4c0 mm/kmsan/kmsan_shadow.c:217 __msan_metadata_ptr_for_load_4+0x10/0x20 mm/kmsan/kmsan_instr.c:54 __tlb_remove_page_size+0x10c/0x560 mm/mmu_gather.c:83 __tlb_remove_page include/asm-generic/tlb.h:414 [inline] zap_pte_range mm/memory.c:1063 [inline] zap_pmd_range mm/memory.c:1162 [inline] zap_pud_range mm/memory.c:1191 [inline] zap_p4d_range mm/memory.c:1212 [inline] unmap_page_range+0x2069/0x3f60 mm/memory.c:1233 unmap_single_vma+0x43f/0x5e0 mm/memory.c:1278 unmap_vmas+0x391/0x4b0 mm/memory.c:1310 exit_mmap+0x50e/0xa00 mm/mmap.c:3145 __mmput+0x148/0x590 kernel/fork.c:1066 mmput+0x83/0x90 kernel/fork.c:1087 exit_mm+0x6b7/0x770 kernel/exit.c:548 do_exit+0xb12/0x3aa0 kernel/exit.c:868 do_group_exit+0x18a/0x320 kernel/exit.c:985 get_signal+0xbf6/0x32f0 kernel/signal.c:2734 do_signal+0x6f/0xe10 arch/x86/kernel/signal.c:815 exit_to_usermode_loop arch/x86/entry/common.c:159 [inline] prepare_exit_to_usermode+0x2c5/0x4d0 arch/x86/entry/common.c:194 syscall_return_slowpath+0x90/0x610 arch/x86/entry/common.c:274 do_syscall_64+0xe2/0xf0 arch/x86/entry/common.c:300 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 ==================================================================