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: 26287 Comm: syz-executor1 Not tainted 5.0.0-rc4+ #49 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:fib6_drop_pcpu_from net/ipv6/ip6_fib.c:924 [inline] RIP: 0010:fib6_purge_rt+0x5c9/0x7f0 net/ipv6/ip6_fib.c:960 Code: 0f b6 3d 1a 3a 86 03 31 ff 44 89 fe e8 50 fd af fa 45 84 ff 0f 84 e3 00 00 00 e8 02 fc af fa 49 8d 7e 70 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 b8 01 00 00 48 8d 45 98 4d 8b 7e 70 48 89 c2 48 RSP: 0018:ffff888095fd60b8 EFLAGS: 00010207 RAX: 0000000000000012 RBX: dffffc0000000000 RCX: ffffffff86d20962 RDX: 0000000000000000 RSI: ffffffff86d2085e RDI: 0000000000000095 RBP: ffff888095fd61b8 R08: ffff8880500be500 R09: ffffed10126546fe R10: ffffed10126546fd R11: ffff8880932a37ef R12: 0000000000000000 R13: ffff8880932a37c0 R14: 0000000000000025 R15: 0000000000000001 FS: 00007f1e69ca3700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4442f64000 CR3: 000000009880b000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fib6_del_route net/ipv6/ip6_fib.c:1813 [inline] fib6_del+0xbdb/0x12e0 net/ipv6/ip6_fib.c:1844 fib6_clean_node+0x453/0x660 net/ipv6/ip6_fib.c:2006 fib6_walk_continue+0x4b3/0x8e0 net/ipv6/ip6_fib.c:1928 fib6_walk+0x9d/0x100 net/ipv6/ip6_fib.c:1976 fib6_clean_tree+0x22a/0x340 net/ipv6/ip6_fib.c:2055 __fib6_clean_all+0x216/0x430 net/ipv6/ip6_fib.c:2071 fib6_clean_all+0x2b/0x40 net/ipv6/ip6_fib.c:2082 rt6_sync_down_dev+0x17e/0x1b0 net/ipv6/route.c:4041 rt6_disable_ip+0x80/0x730 net/ipv6/route.c:4046 addrconf_ifdown+0x13e/0x15e0 net/ipv6/addrconf.c:3669 addrconf_notify+0x629/0x25c0 net/ipv6/addrconf.c:3594 notifier_call_chain+0x179/0x380 kernel/notifier.c:93 __raw_notifier_call_chain kernel/notifier.c:394 [inline] raw_notifier_call_chain+0x2e/0x40 kernel/notifier.c:401 call_netdevice_notifiers_info+0x3f/0x90 net/core/dev.c:1739 call_netdevice_notifiers_extack net/core/dev.c:1751 [inline] call_netdevice_notifiers net/core/dev.c:1765 [inline] dev_close_many+0x42e/0x890 net/core/dev.c:1508 rollback_registered_many+0x544/0x1370 net/core/dev.c:8079 rollback_registered+0x1c9/0x410 net/core/dev.c:8144 unregister_netdevice_queue net/core/dev.c:9188 [inline] unregister_netdevice_queue+0x30e/0x660 net/core/dev.c:9181 unregister_netdevice include/linux/netdevice.h:2639 [inline] __tun_detach+0x11ae/0x1600 drivers/net/tun.c:727 tun_detach drivers/net/tun.c:744 [inline] tun_chr_close+0xe0/0x180 drivers/net/tun.c:3436 __fput+0x3c5/0xb10 fs/file_table.c:278 ____fput+0x16/0x20 fs/file_table.c:309 task_work_run+0x1f4/0x2b0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xad7/0x26e0 kernel/exit.c:867 do_group_exit+0x177/0x430 kernel/exit.c:971 get_signal+0x8b4/0x19b0 kernel/signal.c:2517 do_signal+0x91/0x1ea0 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x2f7/0x3b0 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x696/0x800 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458089 Code: Bad RIP value. RSP: 002b:00007f1e69ca2cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000073bf08 RCX: 0000000000458089 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000073bf08 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000073bf0c R13: 0000000000a4fb7f R14: 00007f1e69ca39c0 R15: 0000000000000000 Modules linked in: ---[ end trace 7ab4cb4396a2700f ]--- RIP: 0010:fib6_drop_pcpu_from net/ipv6/ip6_fib.c:924 [inline] RIP: 0010:fib6_purge_rt+0x5c9/0x7f0 net/ipv6/ip6_fib.c:960 Code: 0f b6 3d 1a 3a 86 03 31 ff 44 89 fe e8 50 fd af fa 45 84 ff 0f 84 e3 00 00 00 e8 02 fc af fa 49 8d 7e 70 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 b8 01 00 00 48 8d 45 98 4d 8b 7e 70 48 89 c2 48 RSP: 0018:ffff888095fd60b8 EFLAGS: 00010207 RAX: 0000000000000012 RBX: dffffc0000000000 RCX: ffffffff86d20962 RDX: 0000000000000000 RSI: ffffffff86d2085e RDI: 0000000000000095 RBP: ffff888095fd61b8 R08: ffff8880500be500 R09: ffffed10126546fe R10: ffffed10126546fd R11: ffff8880932a37ef R12: 0000000000000000 R13: ffff8880932a37c0 R14: 0000000000000025 R15: 0000000000000001 FS: 00007f1e69ca3700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000045805f CR3: 000000009880b000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400