------------[ cut here ]------------ kernel BUG at net/ipv6/route.c:1296! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 13300 Comm: syz-executor.4 Not tainted 5.2.0-rc2+ #38 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rt6_make_pcpu_route net/ipv6/route.c:1296 [inline] RIP: 0010:ip6_pol_route+0xe82/0x10f0 net/ipv6/route.c:1959 Code: 89 ee 44 89 ab 50 ff ff ff e8 3a f8 4f fb 45 85 ed 0f 85 39 ff ff ff e8 ac f6 4f fb e8 a7 f6 4f fb 0f 0b eb a2 e8 9e f6 4f fb <0f> 0b e8 97 f6 4f fb 49 8d bc 24 30 0d 00 00 48 b8 00 00 00 00 00 RSP: 0018:ffff88806ed6f120 EFLAGS: 00010216 RAX: 0000000000040000 RBX: ffff88806ed6f220 RCX: ffffc9000ee9c000 RDX: 0000000000000f96 RSI: ffffffff8620add2 RDI: ffffe8ffffd66540 RBP: ffff88806ed6f248 R08: 1ffffd1ffffacca8 R09: fffff91ffffacca9 R10: fffff91ffffacca8 R11: ffffe8ffffd66547 R12: ffffe8ffffd66540 R13: ffff8880978fa200 R14: ffff88806ed6f170 R15: ffff8880978fa240 FS: 00007f61ab1f3700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e7140 CR3: 000000009be0c000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip6_pol_route_input+0x65/0x80 net/ipv6/route.c:1975 fib6_rule_lookup+0x133/0x5a0 net/ipv6/fib6_rules.c:116 ip6_route_input_lookup+0xb7/0xd0 net/ipv6/route.c:1987 ip6_route_input+0x5e2/0x9e0 net/ipv6/route.c:2122 ip6_rcv_finish_core.isra.0+0x174/0x590 net/ipv6/ip6_input.c:67 ip6_rcv_finish+0x17a/0x310 net/ipv6/ip6_input.c:78 NF_HOOK include/linux/netfilter.h:305 [inline] NF_HOOK include/linux/netfilter.h:299 [inline] ipv6_rcv+0x10e/0x420 net/ipv6/ip6_input.c:276 __netif_receive_skb_one_core+0x113/0x1a0 net/core/dev.c:4985 __netif_receive_skb+0x2c/0x1d0 net/core/dev.c:5099 netif_receive_skb_internal+0x108/0x390 net/core/dev.c:5189 napi_frags_finish net/core/dev.c:5740 [inline] napi_gro_frags+0xad9/0xd10 net/core/dev.c:5814 tun_get_user+0x2f3c/0x3ff0 drivers/net/tun.c:1991 tun_chr_write_iter+0xbd/0x156 drivers/net/tun.c:2037 call_write_iter include/linux/fs.h:1872 [inline] do_iter_readv_writev+0x5f8/0x8f0 fs/read_write.c:693 do_iter_write fs/read_write.c:970 [inline] do_iter_write+0x184/0x610 fs/read_write.c:951 vfs_writev+0x1b3/0x2f0 fs/read_write.c:1015 do_writev+0x15b/0x330 fs/read_write.c:1058 __do_sys_writev fs/read_write.c:1131 [inline] __se_sys_writev fs/read_write.c:1128 [inline] __x64_sys_writev+0x75/0xb0 fs/read_write.c:1128 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459131 Code: 75 14 b8 14 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 34 b9 fb ff c3 48 83 ec 08 e8 fa 2c 00 00 48 89 04 24 b8 14 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 43 2d 00 00 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f61ab1f2ba0 EFLAGS: 00000293 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00000000200000a2 RCX: 0000000000459131 RDX: 0000000000000002 RSI: 00007f61ab1f2c00 RDI: 00000000000000f0 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 00007f61ab1f39d0 R11: 0000000000000293 R12: 00007f61ab1f36d4 R13: 00000000004c7d21 R14: 00000000004de160 R15: 00000000ffffffff Modules linked in: ---[ end trace 03f25a4f0515340c ]--- RIP: 0010:rt6_make_pcpu_route net/ipv6/route.c:1296 [inline] RIP: 0010:ip6_pol_route+0xe82/0x10f0 net/ipv6/route.c:1959 Code: 89 ee 44 89 ab 50 ff ff ff e8 3a f8 4f fb 45 85 ed 0f 85 39 ff ff ff e8 ac f6 4f fb e8 a7 f6 4f fb 0f 0b eb a2 e8 9e f6 4f fb <0f> 0b e8 97 f6 4f fb 49 8d bc 24 30 0d 00 00 48 b8 00 00 00 00 00 RSP: 0018:ffff88806ed6f120 EFLAGS: 00010216 RAX: 0000000000040000 RBX: ffff88806ed6f220 RCX: ffffc9000ee9c000 RDX: 0000000000000f96 RSI: ffffffff8620add2 RDI: ffffe8ffffd66540 RBP: ffff88806ed6f248 R08: 1ffffd1ffffacca8 R09: fffff91ffffacca9 R10: fffff91ffffacca8 R11: ffffe8ffffd66547 R12: ffffe8ffffd66540 R13: ffff8880978fa200 R14: ffff88806ed6f170 R15: ffff8880978fa240 FS: 00007f61ab1f3700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e7140 CR3: 000000009be0c000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400