general protection fault, probably for non-canonical address 0xdffffc000000001a: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000000d0-0x00000000000000d7]
CPU: 0 PID: 28239 Comm: syz-executor.2 Not tainted 5.10.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__fib6_drop_pcpu_from.part.0+0xfc/0x280 net/ipv6/ip6_fib.c:976
Code: 48 c1 e8 03 80 3c 18 00 0f 85 36 01 00 00 4d 8b 3f 4d 85 ff 0f 84 5a ff ff ff e8 ef 60 c6 f9 49 8d 7f 70 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 5d 01 00 00 49 8b 47 70 48 3b 44 24 08 0f 85 31
RSP: 0018:ffffc9000179f2b0 EFLAGS: 00010202
RAX: 000000000000001a RBX: dffffc0000000000 RCX: ffffffff87a9b86d
RDX: ffff88805a533480 RSI: ffffffff87a9b8e1 RDI: 00000000000000d1
RBP: 0000000000000000 R08: 0000000000000000 R09: ffff88802745342f
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000007
R13: ffff888027453ea0 R14: fffffbfff19d934c R15: 0000000000000061
FS: 0000000001c94940(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000118c000 CR3: 000000002da95000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
__fib6_drop_pcpu_from net/ipv6/ip6_fib.c:958 [inline]
fib6_drop_pcpu_from net/ipv6/ip6_fib.c:1019 [inline]
fib6_purge_rt+0x69b/0x800 net/ipv6/ip6_fib.c:1028
fib6_del_route net/ipv6/ip6_fib.c:1982 [inline]
fib6_del+0xa9a/0x15b0 net/ipv6/ip6_fib.c:2027
fib6_clean_node+0x398/0x5c0 net/ipv6/ip6_fib.c:2189
fib6_walk_continue+0x4aa/0x8e0 net/ipv6/ip6_fib.c:2111
fib6_walk+0x182/0x370 net/ipv6/ip6_fib.c:2159
fib6_clean_tree+0xdb/0x120 net/ipv6/ip6_fib.c:2239
__fib6_clean_all+0x120/0x290 net/ipv6/ip6_fib.c:2255
rt6_sync_down_dev net/ipv6/route.c:4780 [inline]
rt6_disable_ip+0x77f/0x890 net/ipv6/route.c:4785
addrconf_ifdown.isra.0+0xf6/0x1590 net/ipv6/addrconf.c:3703
addrconf_notify+0x55c/0x23f0 net/ipv6/addrconf.c:3628
notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2035
call_netdevice_notifiers_extack net/core/dev.c:2047 [inline]
call_netdevice_notifiers net/core/dev.c:2061 [inline]
dev_close_many+0x30b/0x650 net/core/dev.c:1636
rollback_registered_many+0x3ee/0x14c0 net/core/dev.c:9399
rollback_registered net/core/dev.c:9467 [inline]
unregister_netdevice_queue+0x2dd/0x570 net/core/dev.c:10622
unregister_netdevice include/linux/netdevice.h:2850 [inline]
__tun_detach+0x105a/0x13d0 drivers/net/tun.c:662
tun_detach drivers/net/tun.c:679 [inline]
tun_chr_close+0xd9/0x180 drivers/net/tun.c:3337
__fput+0x285/0x920 fs/file_table.c:281
task_work_run+0xdd/0x190 kernel/task_work.c:151
tracehook_notify_resume include/linux/tracehook.h:188 [inline]
exit_to_user_mode_loop kernel/entry/common.c:164 [inline]
exit_to_user_mode_prepare+0x17e/0x1a0 kernel/entry/common.c:191
syscall_exit_to_user_mode+0x38/0x260 kernel/entry/common.c:266
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x417811
Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 a4 1a 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007fffe0d84d30 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000417811
RDX: 0000000000000000 RSI: 0000000000000aa3 RDI: 0000000000000007
RBP: 0000000000000001 R08: 000000005ac34aa3 R09: 000000005ac34aa7
R10: 00007fffe0d84e10 R11: 0000000000000293 R12: 000000000118c9a0
R13: 000000000118c9a0 R14: 00000000000003e8 R15: 000000000118bfd4
Modules linked in:
---[ end trace bbe24636b8c0f98e ]---
RIP: 0010:__fib6_drop_pcpu_from.part.0+0xfc/0x280 net/ipv6/ip6_fib.c:976
Code: 48 c1 e8 03 80 3c 18 00 0f 85 36 01 00 00 4d 8b 3f 4d 85 ff 0f 84 5a ff ff ff e8 ef 60 c6 f9 49 8d 7f 70 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 5d 01 00 00 49 8b 47 70 48 3b 44 24 08 0f 85 31
RSP: 0018:ffffc9000179f2b0 EFLAGS: 00010202
RAX: 000000000000001a RBX: dffffc0000000000 RCX: ffffffff87a9b86d
RDX: ffff88805a533480 RSI: ffffffff87a9b8e1 RDI: 00000000000000d1
RBP: 0000000000000000 R08: 0000000000000000 R09: ffff88802745342f
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000007
R13: ffff888027453ea0 R14: fffffbfff19d934c R15: 0000000000000061
FS: 0000000001c94940(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000118c000 CR3: 000000002da95000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600