general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 25 Comm: kworker/u4:1 Tainted: G W 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:ip6gre_destroy_tunnels net/ipv6/ip6_gre.c:1555 [inline] RIP: 0010:ip6gre_exit_batch_net+0x270/0x750 net/ipv6/ip6_gre.c:1627 Code: fc 48 8d 58 c0 75 41 e9 8c 00 00 00 e8 19 ce 8f f9 49 81 ff 60 d3 ec 8d 74 6a e8 0b ce 8f f9 4c 8d 7b 40 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 88 04 00 00 48 8b 43 40 48 89 dd 48 83 e8 40 RSP: 0018:ffffc90000dffb78 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffffffffffffc0 RCX: 0000000000000000 RDX: ffff88801246d4c0 RSI: ffffffff87e5b675 RDI: ffff888000100ad8 RBP: ffff888000100000 R08: 0000000000000000 R09: ffffffff8deb0797 R10: 0000000000000000 R11: 0000000000086087 R12: ffff888077c40150 R13: dffffc0000000000 R14: ffff88807857e000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000734d6000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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/0x1630 kernel/workqueue.c:2276 worker_thread+0x658/0x11f0 kernel/workqueue.c:2422 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace 9c0f445e16195c84 ]--- RIP: 0010:ip6gre_destroy_tunnels net/ipv6/ip6_gre.c:1555 [inline] RIP: 0010:ip6gre_exit_batch_net+0x270/0x750 net/ipv6/ip6_gre.c:1627 Code: fc 48 8d 58 c0 75 41 e9 8c 00 00 00 e8 19 ce 8f f9 49 81 ff 60 d3 ec 8d 74 6a e8 0b ce 8f f9 4c 8d 7b 40 4c 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 88 04 00 00 48 8b 43 40 48 89 dd 48 83 e8 40 RSP: 0018:ffffc90000dffb78 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffffffffffffc0 RCX: 0000000000000000 RDX: ffff88801246d4c0 RSI: ffffffff87e5b675 RDI: ffff888000100ad8 RBP: ffff888000100000 R08: 0000000000000000 R09: ffffffff8deb0797 R10: 0000000000000000 R11: 0000000000086087 R12: ffff888077c40150 R13: dffffc0000000000 R14: ffff88807857e000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd138d97718 CR3: 0000000034369000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400