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: 1 PID: 30146 Comm: kworker/u4:0 Not tainted 5.2.0-rc3+ #13 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:dst_dev_put+0x24/0x280 net/core/dst.c:156 Code: 90 90 90 90 90 90 55 48 89 e5 41 56 41 55 41 54 53 48 89 fb e8 bd c8 eb fb 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 e1 01 00 00 48 8d 7b 3a 4c 8b 23 48 b8 00 00 00 RSP: 0018:ffff8880ae909d48 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 000000000000054e RCX: 1ffffffff13017c6 RDX: 00000000000000a9 RSI: ffffffff8584ddf3 RDI: 000000000000054e RBP: ffff8880ae909d68 R08: ffff88808f0be200 R09: ffff88808f0beb40 R10: ffff88808f0beb20 R11: ffff88808f0be200 R12: 0000000000000001 R13: 0000000000000007 R14: 000000000000054e R15: 0000607f514798a0 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d7f77a000 CR3: 0000000093af3000 CR4: 00000000001406e0 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:198 rt_fibinfo_free_cpus net/ipv4/fib_semantics.c:190 [inline] fib_nh_common_release+0x107/0x280 net/ipv4/fib_semantics.c:211 fib_nh_release net/ipv4/fib_semantics.c:223 [inline] free_fib_info_rcu+0x117/0x210 net/ipv4/fib_semantics.c:232 __rcu_reclaim kernel/rcu/rcu.h:222 [inline] rcu_do_batch kernel/rcu/tree.c:2092 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2310 [inline] rcu_core+0xba5/0x1500 kernel/rcu/tree.c:2291 __do_softirq+0x25c/0x94c kernel/softirq.c:293 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1040 do_softirq.part.0+0x11a/0x170 kernel/softirq.c:338 do_softirq kernel/softirq.c:330 [inline] __local_bh_enable_ip+0x211/0x270 kernel/softirq.c:190 local_bh_enable include/linux/bottom_half.h:32 [inline] get_next_corpse net/netfilter/nf_conntrack_core.c:2018 [inline] nf_ct_iterate_cleanup+0x217/0x4e0 net/netfilter/nf_conntrack_core.c:2041 nf_ct_iterate_cleanup_net net/netfilter/nf_conntrack_core.c:2126 [inline] nf_ct_iterate_cleanup_net+0x133/0x190 net/netfilter/nf_conntrack_core.c:2111 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:8155 unregister_netdevice_many.part.0+0x1b/0x1f0 net/core/dev.c:9286 unregister_netdevice_many net/core/dev.c:9285 [inline] default_device_exit_batch+0x34e/0x410 net/core/dev.c:9755 ops_exit_list.isra.0+0xfc/0x150 net/core/net_namespace.c:157 cleanup_net+0x3fb/0x960 net/core/net_namespace.c:553 process_one_work+0x989/0x1790 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x354/0x420 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace 999912f785de8082 ]--- RIP: 0010:dst_dev_put+0x24/0x280 net/core/dst.c:156 Code: 90 90 90 90 90 90 55 48 89 e5 41 56 41 55 41 54 53 48 89 fb e8 bd c8 eb fb 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 e1 01 00 00 48 8d 7b 3a 4c 8b 23 48 b8 00 00 00 RSP: 0018:ffff8880ae909d48 EFLAGS: 00010207 RAX: dffffc0000000000 RBX: 000000000000054e RCX: 1ffffffff13017c6 RDX: 00000000000000a9 RSI: ffffffff8584ddf3 RDI: 000000000000054e RBP: ffff8880ae909d68 R08: ffff88808f0be200 R09: ffff88808f0beb40 R10: ffff88808f0beb20 R11: ffff88808f0be200 R12: 0000000000000001 R13: 0000000000000007 R14: 000000000000054e R15: 0000607f514798a0 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5d7f77a000 CR3: 0000000093af3000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400