general protection fault, probably for non-canonical address 0xdffffc0000000016: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000b0-0x00000000000000b7] CPU: 1 PID: 13107 Comm: syz-executor.0 Not tainted 5.16.0-rc6-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:__fib6_drop_pcpu_from.part.0+0x10b/0x390 net/ipv6/ip6_fib.c:978 Code: 48 c1 ea 03 80 3c 1a 00 0f 85 19 02 00 00 4c 8b 38 4d 85 ff 0f 84 7a ff ff ff e8 80 7e 8c f9 49 8d 7f 70 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 4b 02 00 00 49 8b 47 70 48 3b 04 24 0f 85 52 ff RSP: 0018:ffffc90006f5f2e8 EFLAGS: 00010203 RAX: 0000000000000016 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: ffff888018a01d00 RSI: ffffffff87eb2440 RDI: 00000000000000b6 RBP: 0000000000000001 R08: 0000000000000001 R09: ffffffff8ff74ac7 R10: ffffffff87eb23d4 R11: 0000000000000000 R12: 0000000000000008 R13: ffff88801857dca0 R14: ffffed10030afb9e R15: 0000000000000046 FS: 0000000000000000(0000) GS:ffff88802cb00000(0063) knlGS:00000000572fc380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000033535000 CR3: 0000000049143000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __fib6_drop_pcpu_from net/ipv6/ip6_fib.c:960 [inline] fib6_drop_pcpu_from net/ipv6/ip6_fib.c:1021 [inline] fib6_purge_rt+0x6b9/0x820 net/ipv6/ip6_fib.c:1032 fib6_del_route net/ipv6/ip6_fib.c:1982 [inline] fib6_del+0xa28/0x15d0 net/ipv6/ip6_fib.c:2027 fib6_clean_node+0x393/0x5c0 net/ipv6/ip6_fib.c:2189 fib6_walk_continue+0x400/0x720 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+0x107/0x2a0 net/ipv6/ip6_fib.c:2255 rt6_sync_down_dev net/ipv6/route.c:4907 [inline] rt6_disable_ip+0x844/0x940 net/ipv6/route.c:4912 addrconf_ifdown.isra.0+0xf6/0x1630 net/ipv6/addrconf.c:3726 addrconf_notify+0xeb/0x1bb0 net/ipv6/addrconf.c:3651 notifier_call_chain+0xb5/0x200 kernel/notifier.c:83 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:2002 call_netdevice_notifiers_extack net/core/dev.c:2014 [inline] call_netdevice_notifiers net/core/dev.c:2028 [inline] dev_close_many+0x2ff/0x620 net/core/dev.c:1603 unregister_netdevice_many+0x3ff/0x1790 net/core/dev.c:11057 unregister_netdevice_queue+0x2dd/0x3c0 net/core/dev.c:11014 unregister_netdevice include/linux/netdevice.h:2989 [inline] __tun_detach+0x10ad/0x13d0 drivers/net/tun.c:670 tun_detach drivers/net/tun.c:687 [inline] tun_chr_close+0xc4/0x180 drivers/net/tun.c:3402 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 __do_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6f2a549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000ffa235e0 EFLAGS: 00000286 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 00000000f7061000 RDI: 0000000000082611 RBP: 00000000f70880a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 7c3fecd96e8124a7 ]--- RIP: 0010:__fib6_drop_pcpu_from.part.0+0x10b/0x390 net/ipv6/ip6_fib.c:978 Code: 48 c1 ea 03 80 3c 1a 00 0f 85 19 02 00 00 4c 8b 38 4d 85 ff 0f 84 7a ff ff ff e8 80 7e 8c f9 49 8d 7f 70 48 89 f8 48 c1 e8 03 <80> 3c 18 00 0f 85 4b 02 00 00 49 8b 47 70 48 3b 04 24 0f 85 52 ff RSP: 0018:ffffc90006f5f2e8 EFLAGS: 00010203 RAX: 0000000000000016 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: ffff888018a01d00 RSI: ffffffff87eb2440 RDI: 00000000000000b6 RBP: 0000000000000001 R08: 0000000000000001 R09: ffffffff8ff74ac7 R10: ffffffff87eb23d4 R11: 0000000000000000 R12: 0000000000000008 R13: ffff88801857dca0 R14: ffffed10030afb9e R15: 0000000000000046 FS: 0000000000000000(0000) GS:ffff88802cb00000(0063) knlGS:00000000572fc380 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000033535000 CR3: 0000000049143000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 1a 00 cmpb $0x0,(%rdx,%rbx,1) 8: 0f 85 19 02 00 00 jne 0x227 e: 4c 8b 38 mov (%rax),%r15 11: 4d 85 ff test %r15,%r15 14: 0f 84 7a ff ff ff je 0xffffff94 1a: e8 80 7e 8c f9 callq 0xf98c7e9f 1f: 49 8d 7f 70 lea 0x70(%r15),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2e: 0f 85 4b 02 00 00 jne 0x27f 34: 49 8b 47 70 mov 0x70(%r15),%rax 38: 48 3b 04 24 cmp (%rsp),%rax 3c: 0f .byte 0xf 3d: 85 52 ff test %edx,-0x1(%rdx)