general protection fault, probably for non-canonical address 0xdffffc000000000f: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000078-0x000000000000007f]
CPU: 0 PID: 31401 Comm: syz-executor.0 Not tainted 5.8.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__fib6_drop_pcpu_from.part.0+0xf2/0x250 net/ipv6/ip6_fib.c:975
Code: 48 c1 e8 03 80 3c 18 00 0f 85 36 01 00 00 4d 8b 3f 4d 85 ff 0f 84 64 ff ff ff e8 b9 cb 90 fa 49 8d 7f 70 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 3f 01 00 00 49 8b 47 70 48 3b 44 24 08 0f 85 3b
RSP: 0018:ffffc900017972b8 EFLAGS: 00010206
RAX: 000000000000000f RBX: dffffc0000000000 RCX: ffffffff86e2844d
RDX: ffff888060f7a000 RSI: ffffffff86e284b7 RDI: 0000000000000078
RBP: 0000000000000000 R08: 0000000000000000 R09: ffff888070806c2f
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000007
R13: ffff88806bf980a0 R14: fffffbfff155c4c4 R15: 0000000000000008
FS: 0000000001b81940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000560ca4cfe6ef CR3: 00000000768ab000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
__fib6_drop_pcpu_from net/ipv6/ip6_fib.c:957 [inline]
fib6_drop_pcpu_from net/ipv6/ip6_fib.c:1018 [inline]
fib6_purge_rt+0x69b/0x800 net/ipv6/ip6_fib.c:1027
fib6_del_route net/ipv6/ip6_fib.c:1977 [inline]
fib6_del+0xabd/0x1630 net/ipv6/ip6_fib.c:2017
fib6_clean_node+0x39b/0x570 net/ipv6/ip6_fib.c:2179
fib6_walk_continue+0x4aa/0x8e0 net/ipv6/ip6_fib.c:2101
fib6_walk+0x182/0x370 net/ipv6/ip6_fib.c:2149
fib6_clean_tree+0xdb/0x120 net/ipv6/ip6_fib.c:2229
__fib6_clean_all+0x120/0x290 net/ipv6/ip6_fib.c:2245
rt6_sync_down_dev net/ipv6/route.c:4775 [inline]
rt6_disable_ip+0x775/0x870 net/ipv6/route.c:4780
addrconf_ifdown.isra.0+0xf6/0x1570 net/ipv6/addrconf.c:3677
addrconf_notify+0x55c/0x2310 net/ipv6/addrconf.c:3602
notifier_call_chain+0xb5/0x200 kernel/notifier.c:83
call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2027
call_netdevice_notifiers_extack net/core/dev.c:2039 [inline]
call_netdevice_notifiers net/core/dev.c:2053 [inline]
dev_close_many+0x30b/0x650 net/core/dev.c:1628
rollback_registered_many+0x3af/0xf60 net/core/dev.c:8945
rollback_registered net/core/dev.c:9013 [inline]
unregister_netdevice_queue+0x2dd/0x570 net/core/dev.c:10094
unregister_netdevice include/linux/netdevice.h:2754 [inline]
__tun_detach+0xff6/0x1310 drivers/net/tun.c:690
tun_detach drivers/net/tun.c:707 [inline]
tun_chr_close+0xd9/0x180 drivers/net/tun.c:3421
__fput+0x33c/0x880 fs/file_table.c:281
task_work_run+0xdd/0x190 kernel/task_work.c:123
tracehook_notify_resume include/linux/tracehook.h:188 [inline]
exit_to_usermode_loop arch/x86/entry/common.c:216 [inline]
__prepare_exit_to_usermode+0x1e9/0x1f0 arch/x86/entry/common.c:246
do_syscall_64+0x6c/0xe0 arch/x86/entry/common.c:368
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x416711
Code: Bad RIP value.
RSP: 002b:00007fff4fdcf2d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000416711
RDX: 0000000000000000 RSI: ffffffff87e7186b RDI: 0000000000000005
RBP: 0000000000000001 R08: ffffffff8133f3a4 R09: 00000000eb768665
R10: 00007fff4fdcf3c0 R11: 0000000000000293 R12: 000000000078c900
R13: 000000000078c900 R14: ffffffffffffffff R15: 000000000078bfac
Modules linked in:
---[ end trace e4a021259950cb1b ]---
RIP: 0010:__fib6_drop_pcpu_from.part.0+0xf2/0x250 net/ipv6/ip6_fib.c:975
Code: 48 c1 e8 03 80 3c 18 00 0f 85 36 01 00 00 4d 8b 3f 4d 85 ff 0f 84 64 ff ff ff e8 b9 cb 90 fa 49 8d 7f 70 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 3f 01 00 00 49 8b 47 70 48 3b 44 24 08 0f 85 3b
RSP: 0018:ffffc900017972b8 EFLAGS: 00010206
RAX: 000000000000000f RBX: dffffc0000000000 RCX: ffffffff86e2844d
RDX: ffff888060f7a000 RSI: ffffffff86e284b7 RDI: 0000000000000078
RBP: 0000000000000000 R08: 0000000000000000 R09: ffff888070806c2f
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000007
R13: ffff88806bf980a0 R14: fffffbfff155c4c4 R15: 0000000000000008
FS: 0000000001b81940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000560ca4cfe6ef CR3: 00000000768ab000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600