kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10145 Comm: kworker/u4:6 Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:dst_dev_put+0x22/0x230 net/core/dst.c:156 Code: ff ff 90 90 90 90 90 90 55 48 89 e5 41 55 41 54 53 48 89 fb e8 5f 32 c7 fb 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 94 01 00 00 48 8d 7b 3a 4c 8b 2b 48 b8 00 00 00 RSP: 0018:ffff8880ae809cc0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 1ffffffff138d4ae RDX: 0000000000000000 RSI: ffffffff85abe2b1 RDI: 0000000000000001 RBP: ffff8880ae809cd8 R08: ffff8880922b6400 R09: fffffbfff14efd38 R10: fffffbfff14efd37 R11: ffffffff8a77e9bf R12: 0000000000000000 R13: 0000000000000007 R14: 0000000000000001 R15: 0000607f514749b0 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c4267fb000 CR3: 00000000a0788000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rt_fibinfo_free_cpus.part.0+0xdb/0x130 net/ipv4/fib_semantics.c:202 rt_fibinfo_free_cpus net/ipv4/fib_semantics.c:194 [inline] fib_nh_common_release+0x107/0x280 net/ipv4/fib_semantics.c:215 fib6_nh_release+0x299/0x3a0 net/ipv6/route.c:3529 fib6_info_destroy_rcu+0x11e/0x160 net/ipv6/ip6_fib.c:174 __rcu_reclaim kernel/rcu/rcu.h:222 [inline] rcu_do_batch kernel/rcu/tree.c:2157 [inline] rcu_core+0x581/0x1560 kernel/rcu/tree.c:2377 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2386 __do_softirq+0x262/0x98c kernel/softirq.c:292 invoke_softirq kernel/softirq.c:373 [inline] irq_exit+0x19b/0x1e0 kernel/softirq.c:413 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x1a3/0x610 arch/x86/kernel/apic/apic.c:1137 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830 RIP: 0010:should_resched arch/x86/include/asm/preempt.h:102 [inline] RIP: 0010:__local_bh_enable_ip+0x18e/0x270 kernel/softirq.c:196 Code: 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 df 00 00 00 48 83 3d bf 2b ad 07 00 0f 84 8f 00 00 00 fb 66 0f 1f 44 00 00 <65> 8b 05 43 0b bc 7e 85 c0 74 7f 5b 41 5c 41 5d 5d c3 80 3d e6 9d RSP: 0018:ffff88806ac1f6b0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff11e63ce RBX: 0000000000000200 RCX: 0000000000000006 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffff8880922b6c94 RBP: ffff88806ac1f6c8 R08: 1ffffffff14efd37 R09: fffffbfff14efd38 R10: fffffbfff14efd37 R11: ffffffff8a77e9bf R12: ffffffff85e0a021 R13: ffff8880922b6400 R14: 0000000000000001 R15: dffffc0000000000 local_bh_enable include/linux/bottom_half.h:32 [inline] get_next_corpse net/netfilter/nf_conntrack_core.c:2013 [inline] nf_ct_iterate_cleanup+0x217/0x4e0 net/netfilter/nf_conntrack_core.c:2036 nf_ct_iterate_cleanup_net net/netfilter/nf_conntrack_core.c:2121 [inline] nf_ct_iterate_cleanup_net+0x133/0x190 net/netfilter/nf_conntrack_core.c:2106 masq_device_event+0xb5/0xe0 net/netfilter/nf_nat_masquerade.c:88 notifier_call_chain+0xc2/0x230 kernel/notifier.c:95 __raw_notifier_call_chain kernel/notifier.c:396 [inline] raw_notifier_call_chain+0x2e/0x40 kernel/notifier.c:403 call_netdevice_notifiers_info+0x3f/0x90 net/core/dev.c:1749 call_netdevice_notifiers_extack net/core/dev.c:1761 [inline] call_netdevice_notifiers net/core/dev.c:1775 [inline] dev_close_many+0x33f/0x6f0 net/core/dev.c:1518 rollback_registered_many+0x43b/0xfc0 net/core/dev.c:8231 unregister_netdevice_many.part.0+0x1b/0x1f0 net/core/dev.c:9364 unregister_netdevice_many net/core/dev.c:9363 [inline] default_device_exit_batch+0x34e/0x410 net/core/dev.c:9835 ops_exit_list.isra.0+0xfc/0x150 net/core/net_namespace.c:175 cleanup_net+0x4e2/0xa60 net/core/net_namespace.c:594 process_one_work+0x9af/0x1740 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace 379058b6897fd330 ]--- RIP: 0010:dst_dev_put+0x22/0x230 net/core/dst.c:156 Code: ff ff 90 90 90 90 90 90 55 48 89 e5 41 55 41 54 53 48 89 fb e8 5f 32 c7 fb 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 94 01 00 00 48 8d 7b 3a 4c 8b 2b 48 b8 00 00 00 RSP: 0018:ffff8880ae809cc0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 1ffffffff138d4ae RDX: 0000000000000000 RSI: ffffffff85abe2b1 RDI: 0000000000000001 RBP: ffff8880ae809cd8 R08: ffff8880922b6400 R09: fffffbfff14efd38 R10: fffffbfff14efd37 R11: ffffffff8a77e9bf R12: 0000000000000000 R13: 0000000000000007 R14: 0000000000000001 R15: 0000607f514749b0 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c4267fb000 CR3: 00000000a0788000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400