================================================================== BUG: KMSAN: uninit-value in do_slab_free mm/slub.c:3016 [inline] BUG: KMSAN: uninit-value in slab_free mm/slub.c:3039 [inline] BUG: KMSAN: uninit-value in kmem_cache_free+0x3df/0x2b70 mm/slub.c:3054 CPU: 1 PID: 16 Comm: ksoftirqd/1 Not tainted 5.3.0-rc3+ #17 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 do_slab_free mm/slub.c:3016 [inline] slab_free mm/slub.c:3039 [inline] kmem_cache_free+0x3df/0x2b70 mm/slub.c:3054 kfree_skbmem net/core/skbuff.c:644 [inline] __kfree_skb+0x1dd/0x210 net/core/skbuff.c:680 consume_skb+0x2b0/0x2e0 net/core/skbuff.c:838 packet_rcv+0x242/0x2190 net/packet/af_packet.c:2146 dev_queue_xmit_nit+0x1125/0x1200 net/core/dev.c:2077 xmit_one net/core/dev.c:3276 [inline] dev_hard_start_xmit+0x21e/0xab0 net/core/dev.c:3296 __dev_queue_xmit+0x394d/0x4270 net/core/dev.c:3869 dev_queue_xmit+0x4b/0x60 net/core/dev.c:3902 neigh_hh_output include/net/neighbour.h:500 [inline] neigh_output include/net/neighbour.h:509 [inline] ip6_finish_output2+0x2089/0x2670 net/ipv6/ip6_output.c:116 __ip6_finish_output+0x83d/0x8f0 net/ipv6/ip6_output.c:142 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] NF_HOOK include/linux/netfilter.h:305 [inline] ndisc_send_skb+0x1083/0x15e0 net/ipv6/ndisc.c:504 ndisc_send_rs+0xb5d/0xb90 net/ipv6/ndisc.c:698 addrconf_rs_timer+0x847/0xc20 net/ipv6/addrconf.c:3878 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 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:187 [inline] kmsan_internal_chain_origin+0xcc/0x150 mm/kmsan/kmsan.c:345 __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 dev_queue_xmit_nit+0x539/0x1200 net/core/dev.c:2045 xmit_one net/core/dev.c:3276 [inline] dev_hard_start_xmit+0x21e/0xab0 net/core/dev.c:3296 __dev_queue_xmit+0x394d/0x4270 net/core/dev.c:3869 dev_queue_xmit+0x4b/0x60 net/core/dev.c:3902 neigh_hh_output include/net/neighbour.h:500 [inline] neigh_output include/net/neighbour.h:509 [inline] ip6_finish_output2+0x2089/0x2670 net/ipv6/ip6_output.c:116 __ip6_finish_output+0x83d/0x8f0 net/ipv6/ip6_output.c:142 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] NF_HOOK include/linux/netfilter.h:305 [inline] ndisc_send_skb+0x1083/0x15e0 net/ipv6/ndisc.c:504 ndisc_send_rs+0xb5d/0xb90 net/ipv6/ndisc.c:698 addrconf_rs_timer+0x847/0xc20 net/ipv6/addrconf.c:3878 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 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 created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:187 [inline] kmsan_internal_poison_shadow+0x53/0xa0 mm/kmsan/kmsan.c:146 kmsan_slab_free+0x8d/0x100 mm/kmsan/kmsan_hooks.c:195 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:6436 __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 ==================================================================