general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 18051 Comm: kworker/u4:7 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:dst_dev_put+0x1f/0x2a0 net/core/dst.c:156 Code: 1f 84 00 00 00 00 00 0f 1f 40 00 41 55 41 54 55 53 48 89 fb e8 f2 91 66 fa 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 61 02 00 00 48 8d 7b 3a 4c 8b 23 48 b8 00 00 00 RSP: 0018:ffffc90000007da0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000100 RDX: 0000000000000000 RSI: ffffffff870e4a8e RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: ffff88806869a56b R10: ffffffff879eeb55 R11: 0000000000000000 R12: 0000000000000007 R13: fffffbfff1b92e7c R14: 0000607f460575c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000544038 CR3: 000000000bc8e000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: rt_fibinfo_free_cpus.part.0+0xda/0x140 net/ipv4/fib_semantics.c:202 rt_fibinfo_free_cpus net/ipv4/fib_semantics.c:194 [inline] fib_nh_common_release+0x10c/0x350 net/ipv4/fib_semantics.c:215 fib6_info_destroy_rcu+0x187/0x210 net/ipv6/ip6_fib.c:174 rcu_do_batch kernel/rcu/tree.c:2558 [inline] rcu_core+0x7ab/0x13b0 kernel/rcu/tree.c:2793 __do_softirq+0x29b/0x9f6 kernel/softirq.c:559 do_softirq.part.0+0xd9/0x130 kernel/softirq.c:460 do_softirq kernel/softirq.c:452 [inline] __local_bh_enable_ip+0x102/0x120 kernel/softirq.c:384 local_bh_enable include/linux/bottom_half.h:32 [inline] get_next_corpse net/netfilter/nf_conntrack_core.c:2237 [inline] nf_ct_iterate_cleanup+0x15a/0x450 net/netfilter/nf_conntrack_core.c:2260 nf_ct_iterate_cleanup_net net/netfilter/nf_conntrack_core.c:2348 [inline] nf_ct_iterate_cleanup_net+0x290/0x3f0 net/netfilter/nf_conntrack_core.c:2332 masq_device_event+0xae/0xe0 net/netfilter/nf_nat_masquerade.c:88 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2121 call_netdevice_notifiers_extack net/core/dev.c:2133 [inline] call_netdevice_notifiers net/core/dev.c:2147 [inline] dev_close_many+0x2ff/0x620 net/core/dev.c:1722 unregister_netdevice_many+0x3ff/0x1790 net/core/dev.c:11002 default_device_exit_batch+0x2fa/0x3c0 net/core/dev.c:11555 ops_exit_list+0x10d/0x160 net/core/net_namespace.c:178 cleanup_net+0x4ea/0xb10 net/core/net_namespace.c:595 process_one_work+0x98d/0x1600 kernel/workqueue.c:2276 worker_thread+0x64c/0x1120 kernel/workqueue.c:2422 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Modules linked in: ---[ end trace f39dc9f4666ad609 ]--- RIP: 0010:dst_dev_put+0x1f/0x2a0 net/core/dst.c:156 Code: 1f 84 00 00 00 00 00 0f 1f 40 00 41 55 41 54 55 53 48 89 fb e8 f2 91 66 fa 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 61 02 00 00 48 8d 7b 3a 4c 8b 23 48 b8 00 00 00 RSP: 0018:ffffc90000007da0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000100 RDX: 0000000000000000 RSI: ffffffff870e4a8e RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: ffff88806869a56b R10: ffffffff879eeb55 R11: 0000000000000000 R12: 0000000000000007 R13: fffffbfff1b92e7c R14: 0000607f460575c0 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000544038 CR3: 000000000bc8e000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600