===================================================== BUG: KMSAN: use-after-free in ip6_ignore_linkdown include/net/addrconf.h:402 [inline] BUG: KMSAN: use-after-free in find_match+0x317/0x1480 net/ipv6/route.c:749 CPU: 0 PID: 9 Comm: ksoftirqd/0 Not tainted 5.6.0-rc2-syzkaller #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+0x1c9/0x220 lib/dump_stack.c:118 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:118 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215 ip6_ignore_linkdown include/net/addrconf.h:402 [inline] find_match+0x317/0x1480 net/ipv6/route.c:749 __find_rr_leaf+0x3f9/0x1160 net/ipv6/route.c:837 find_rr_leaf net/ipv6/route.c:858 [inline] rt6_select net/ipv6/route.c:902 [inline] fib6_table_lookup+0x586/0x1420 net/ipv6/route.c:2170 ip6_pol_route+0x203/0x2960 net/ipv6/route.c:2206 ip6_pol_route_input+0x123/0x140 net/ipv6/route.c:2264 fib6_rule_lookup+0x38f/0xa10 net/ipv6/fib6_rules.c:114 ip6_route_input_lookup net/ipv6/route.c:2276 [inline] ip6_route_input+0xb9d/0xcf0 net/ipv6/route.c:2445 ip6_rcv_finish_core+0x1f9/0x470 net/ipv6/ip6_input.c:63 ip6_rcv_finish+0x2e8/0x3b0 net/ipv6/ip6_input.c:74 ip_sabotage_in+0x2f6/0x350 net/bridge/br_netfilter_hooks.c:870 nf_hook_entry_hookfn include/linux/netfilter.h:135 [inline] nf_hook_slow+0x16e/0x400 net/netfilter/core.c:512 nf_hook include/linux/netfilter.h:262 [inline] NF_HOOK include/linux/netfilter.h:305 [inline] ipv6_rcv+0x273/0x710 net/ipv6/ip6_input.c:306 __netif_receive_skb_one_core net/core/dev.c:5198 [inline] __netif_receive_skb net/core/dev.c:5312 [inline] netif_receive_skb_internal net/core/dev.c:5402 [inline] netif_receive_skb+0x66b/0xf20 net/core/dev.c:5461 br_netif_receive_skb net/bridge/br_input.c:29 [inline] NF_HOOK include/linux/netfilter.h:307 [inline] br_pass_frame_up+0x964/0x9c0 net/bridge/br_input.c:64 br_handle_frame_finish+0x1a37/0x1bb0 net/bridge/br_input.c:171 br_nf_hook_thresh+0x4f7/0x680 net/bridge/br_netfilter_hooks.c:1021 br_nf_pre_routing_finish_ipv6+0xe72/0x1000 net/bridge/br_netfilter_ipv6.c:187 NF_HOOK include/linux/netfilter.h:307 [inline] br_nf_pre_routing_ipv6+0x6ad/0x7f0 net/bridge/br_netfilter_ipv6.c:236 br_nf_pre_routing+0xd0e/0x1fd0 net/bridge/br_netfilter_hooks.c:505 nf_hook_entry_hookfn include/linux/netfilter.h:135 [inline] nf_hook_bridge_pre net/bridge/br_input.c:227 [inline] br_handle_frame+0xcd2/0x2050 net/bridge/br_input.c:352 __netif_receive_skb_core+0x21de/0x5840 net/core/dev.c:5099 __netif_receive_skb_one_core net/core/dev.c:5196 [inline] __netif_receive_skb net/core/dev.c:5312 [inline] process_backlog+0x936/0x1410 net/core/dev.c:6144 napi_poll net/core/dev.c:6582 [inline] net_rx_action+0x786/0x1aa0 net/core/dev.c:6650 __do_softirq+0x311/0x83d kernel/softirq.c:293 run_ksoftirqd+0x25/0x40 kernel/softirq.c:607 smpboot_thread_fn+0x493/0x980 kernel/smpboot.c:165 kthread+0x4b5/0x4f0 kernel/kthread.c:256 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:353 Uninit was created at: kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline] kmsan_internal_poison_shadow+0x66/0xd0 mm/kmsan/kmsan.c:127 kmsan_slab_free+0x6e/0xb0 mm/kmsan/kmsan_hooks.c:107 slab_free_freelist_hook mm/slub.c:1477 [inline] slab_free mm/slub.c:3040 [inline] kfree+0x565/0x30a0 mm/slub.c:3993 tomoyo_find_next_domain+0x2f06/0x33a0 security/tomoyo/domain.c:883 tomoyo_bprm_check_security+0x1a9/0x290 security/tomoyo/tomoyo.c:107 security_bprm_check+0xb7/0x1e0 security/security.c:816 search_binary_handler+0xb7/0xa20 fs/exec.c:1649 exec_binprm fs/exec.c:1705 [inline] __do_execve_file+0x21c3/0x2e70 fs/exec.c:1825 do_execveat_common fs/exec.c:1871 [inline] do_execve fs/exec.c:1888 [inline] __do_sys_execve fs/exec.c:1964 [inline] __se_sys_execve+0xec/0x110 fs/exec.c:1959 __x64_sys_execve+0x4a/0x70 fs/exec.c:1959 do_syscall_64+0xb8/0x160 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x44/0xa9 =====================================================