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: 0 Comm: swapper/1 Tainted: G W 5.17.0-syzkaller-13547-g11f8e7c122ce #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip6_pol_route+0x12b/0x1190 net/ipv6/route.c:2213 Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 a9 0e 00 00 4c 8b bd f8 09 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e a0 0a 00 00 45 8b 3f 31 ff 44 RSP: 0018:ffffc900001e0408 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffffc900001e0988 RCX: ffffffff87fdf2c1 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88801f5089f8 RBP: ffff88801f508000 R08: 0000000000000000 R09: 0000000000000085 R10: ffffffff87fde7bd R11: 0000000000000000 R12: 0000000000000080 R13: 000000000000001e R14: 0000000000000001 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3b713a0000 CR3: 0000000059aa0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pol_lookup_func include/net/ip6_fib.h:582 [inline] fib6_rule_lookup+0x111/0x6f0 net/ipv6/fib6_rules.c:116 ip6_route_output_flags_noref+0x2e2/0x380 net/ipv6/route.c:2625 ip6_route_output_flags+0x72/0x320 net/ipv6/route.c:2638 ip6_dst_lookup_tail+0xa0b/0x1610 net/ipv6/ip6_output.c:1097 ip6_dst_lookup_flow+0x8c/0x1d0 net/ipv6/ip6_output.c:1200 inet6_csk_route_socket+0x8d1/0xf90 net/ipv6/inet6_connection_sock.c:106 inet6_csk_xmit+0x128/0x6c0 net/ipv6/inet6_connection_sock.c:121 __tcp_transmit_skb+0x190e/0x38b0 net/ipv4/tcp_output.c:1402 tcp_transmit_skb net/ipv4/tcp_output.c:1420 [inline] tcp_xmit_probe_skb+0x28c/0x320 net/ipv4/tcp_output.c:4009 tcp_write_wakeup+0x1bd/0x610 net/ipv4/tcp_output.c:4062 tcp_send_probe0+0x44/0x560 net/ipv4/tcp_output.c:4077 tcp_probe_timer net/ipv4/tcp_timer.c:398 [inline] tcp_write_timer_handler+0x9ed/0xbc0 net/ipv4/tcp_timer.c:626 tcp_write_timer+0xa2/0x2b0 net/ipv4/tcp_timer.c:642 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers.part.0+0x67c/0xa30 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:116 [inline] RIP: 0010:acpi_idle_do_entry+0x1c6/0x250 drivers/acpi/processor_idle.c:556 Code: 89 de e8 fd f4 17 f8 84 db 75 ac e8 14 f1 17 f8 e8 4f 38 1e f8 eb 0c e8 08 f1 17 f8 0f 00 2d 41 74 d1 00 e8 fc f0 17 f8 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 77 f3 17 f8 48 85 db RSP: 0018:ffffc90000177d18 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888010e69d00 RSI: ffffffff8960ac24 RDI: ffffffff8960ac11 RBP: ffff888140a04864 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817ee498 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888140a04800 R14: ffff888140a04864 R15: ffff888019323004 acpi_idle_enter+0x361/0x500 drivers/acpi/processor_idle.c:692 cpuidle_enter_state+0x1b1/0xc80 drivers/cpuidle/cpuidle.c:237 cpuidle_enter+0x4a/0xa0 drivers/cpuidle/cpuidle.c:351 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3e8/0x590 kernel/sched/idle.c:303 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:400 start_secondary+0x265/0x340 arch/x86/kernel/smpboot.c:266 secondary_startup_64_no_verify+0xc3/0xcb Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ip6_pol_route+0x12b/0x1190 net/ipv6/route.c:2213 Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 a9 0e 00 00 4c 8b bd f8 09 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e a0 0a 00 00 45 8b 3f 31 ff 44 RSP: 0018:ffffc900001e0408 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffffc900001e0988 RCX: ffffffff87fdf2c1 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88801f5089f8 ---------------- Code disassembly (best guess): 0: df 48 89 fisttps -0x77(%rax) 3: fa cli 4: 48 c1 ea 03 shr $0x3,%rdx 8: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) c: 0f 85 a9 0e 00 00 jne 0xebb 12: 4c 8b bd f8 09 00 00 mov 0x9f8(%rbp),%r15 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 4c 89 fa mov %r15,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 74 08 je 0x3a 32: 3c 03 cmp $0x3,%al 34: 0f 8e a0 0a 00 00 jle 0xada 3a: 45 8b 3f mov (%r15),%r15d 3d: 31 ff xor %edi,%edi 3f: 44 rex.R