------------[ cut here ]------------ kernel BUG at net/ipv6/route.c:1261! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4215 Comm: syz-executor.0 Not tainted 5.1.0-rc6+ #190 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rt6_make_pcpu_route net/ipv6/route.c:1261 [inline] RIP: 0010:ip6_pol_route+0x903/0x1040 net/ipv6/route.c:1904 Code: 48 03 1c c5 60 a0 6b 88 be 08 00 00 00 48 89 df e8 12 d5 92 fb 31 c0 f0 4c 0f b1 33 48 85 c0 0f 84 57 fa ff ff e8 ed e4 5a fb <0f> 0b e8 e6 e4 5a fb e8 81 28 49 fb 31 ff 89 c6 88 85 28 ff ff ff RSP: 0018:ffff888060cff198 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffffe8ffffc303f8 RCX: ffffc90005ff4000 RDX: 0000000000000684 RSI: ffffffff8615a803 RDI: ffffe8ffffc303f8 RBP: ffff888060cff288 R08: 1ffffd1ffff8607f R09: fffff91ffff86080 R10: fffff91ffff8607f R11: ffffe8ffffc303ff R12: ffff88809af2c7c0 R13: 0000000000000001 R14: ffff88808393c140 R15: ffff888060cff1f0 FS: 00007f258bbab700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c229000 CR3: 0000000094270000 CR4: 00000000001406f0 Call Trace: ip6_pol_route_input+0x65/0x80 net/ipv6/route.c:1920 fib6_rule_lookup+0x128/0x560 net/ipv6/fib6_rules.c:118 ip6_route_input_lookup+0xb7/0xd0 net/ipv6/route.c:1932 ip6_route_input+0x5e2/0x9e0 net/ipv6/route.c:2067 ip6_rcv_finish_core.isra.0+0x174/0x590 net/ipv6/ip6_input.c:63 ip6_rcv_finish+0x17d/0x320 net/ipv6/ip6_input.c:74 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ipv6_rcv+0x10e/0x420 net/ipv6/ip6_input.c:272 __netif_receive_skb_one_core+0x115/0x1a0 net/core/dev.c:4987 __netif_receive_skb+0x2c/0x1c0 net/core/dev.c:5099 netif_receive_skb_internal+0x117/0x660 net/core/dev.c:5202 napi_frags_finish net/core/dev.c:5769 [inline] napi_gro_frags+0xade/0xd10 net/core/dev.c:5843 tun_get_user+0x2f24/0x3fb0 drivers/net/tun.c:1981 tun_chr_write_iter+0xbd/0x156 drivers/net/tun.c:2027 call_write_iter include/linux/fs.h:1866 [inline] do_iter_readv_writev+0x5e1/0x8e0 fs/read_write.c:681 do_iter_write fs/read_write.c:957 [inline] do_iter_write+0x184/0x610 fs/read_write.c:938 vfs_writev+0x1b3/0x2f0 fs/read_write.c:1002 do_writev+0x15e/0x370 fs/read_write.c:1037 __do_sys_writev fs/read_write.c:1110 [inline] __se_sys_writev fs/read_write.c:1107 [inline] __x64_sys_writev+0x75/0xb0 fs/read_write.c:1107 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458c61 Code: 75 14 b8 14 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 e4 b9 fb ff c3 48 83 ec 08 e8 1a 2d 00 00 48 89 04 24 b8 14 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 63 2d 00 00 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f258bbaaba0 EFLAGS: 00000293 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 0000000000000074 RCX: 0000000000458c61 RDX: 0000000000000001 RSI: 00007f258bbaac00 RDI: 00000000000000f0 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f258bbab6d4 R13: 00000000004c76b6 R14: 00000000004dd610 R15: 00000000ffffffff Modules linked in: ---[ end trace 5ebc380ab85c5b60 ]--- RIP: 0010:rt6_make_pcpu_route net/ipv6/route.c:1261 [inline] RIP: 0010:ip6_pol_route+0x903/0x1040 net/ipv6/route.c:1904 Code: 48 03 1c c5 60 a0 6b 88 be 08 00 00 00 48 89 df e8 12 d5 92 fb 31 c0 f0 4c 0f b1 33 48 85 c0 0f 84 57 fa ff ff e8 ed e4 5a fb <0f> 0b e8 e6 e4 5a fb e8 81 28 49 fb 31 ff 89 c6 88 85 28 ff ff ff RSP: 0018:ffff888060cff198 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffffe8ffffc303f8 RCX: ffffc90005ff4000 RDX: 0000000000000684 RSI: ffffffff8615a803 RDI: ffffe8ffffc303f8 RBP: ffff888060cff288 R08: 1ffffd1ffff8607f R09: fffff91ffff86080 R10: fffff91ffff8607f R11: ffffe8ffffc303ff R12: ffff88809af2c7c0 R13: 0000000000000001 R14: ffff88808393c140 R15: ffff888060cff1f0 FS: 00007f258bbab700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c229000 CR3: 0000000094270000 CR4: 00000000001406f0