------------[ cut here ]------------ kernel BUG at net/ipv6/route.c:1262! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8545 Comm: syz-executor3 Not tainted 5.0.0-rc3+ #17 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rt6_make_pcpu_route net/ipv6/route.c:1262 [inline] RIP: 0010:ip6_pol_route+0x82f/0x1490 net/ipv6/route.c:1895 Code: 48 03 1c c5 60 60 56 89 be 08 00 00 00 48 89 df e8 56 3e f5 fa 31 c0 f0 4c 0f b1 3b 48 85 c0 0f 84 b3 fb ff ff e8 d1 72 b1 fa <0f> 0b e8 ca 72 b1 fa e8 85 05 9c fa 31 ff 89 c6 88 85 c8 fe ff ff RSP: 0018:ffff8880647c6a50 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffffe8ffffd6f210 RCX: ffffc9000c6e6000 RDX: 0000000000001968 RSI: ffffffff86d08c1f RDI: ffffe8ffffd6f210 RBP: ffff8880647c6b98 R08: 1ffffd1ffffade42 R09: fffff91ffffade43 R10: fffff91ffffade42 R11: ffffe8ffffd6f217 R12: ffff88808e1e3dc0 R13: 0000000000000001 R14: ffff8880647c6b70 R15: ffff88808bc65680 FS: 00007f5491781700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efd24600008 CR3: 00000000a87cb000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip6_pol_route_output+0x54/0x70 net/ipv6/route.c:2068 fib6_rule_lookup+0x277/0x870 net/ipv6/fib6_rules.c:122 ip6_route_output_flags+0x2c4/0x350 net/ipv6/route.c:2097 ip6_route_output include/net/ip6_route.h:88 [inline] icmpv6_xrlim_allow net/ipv6/icmp.c:213 [inline] icmp6_send+0x13eb/0x2d20 net/ipv6/icmp.c:541 icmpv6_send+0x17e/0x310 net/ipv6/ip6_icmp.c:43 ip6_protocol_deliver_rcu+0x13e7/0x1940 net/ipv6/ip6_input.c:415 ip6_input_finish+0x84/0x170 net/ipv6/ip6_input.c:434 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip6_input+0xf9/0x600 net/ipv6/ip6_input.c:443 dst_input include/net/dst.h:450 [inline] ip6_rcv_finish+0x177/0x330 net/ipv6/ip6_input.c:76 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ipv6_rcv+0x113/0x650 net/ipv6/ip6_input.c:272 __netif_receive_skb_one_core+0x160/0x210 net/core/dev.c:4973 __netif_receive_skb+0x2c/0x1c0 net/core/dev.c:5083 netif_receive_skb_internal+0x11e/0x690 net/core/dev.c:5186 napi_frags_finish net/core/dev.c:5753 [inline] napi_gro_frags+0xd07/0xfe0 net/core/dev.c:5827 tun_get_user+0x2ec2/0x4150 drivers/net/tun.c:1975 protocol 88fb is buggy, dev hsr_slave_0 protocol 88fb is buggy, dev hsr_slave_1 protocol 88fb is buggy, dev hsr_slave_0 protocol 88fb is buggy, dev hsr_slave_1 tun_chr_write_iter+0xbd/0x160 drivers/net/tun.c:2020 call_write_iter include/linux/fs.h:1862 [inline] do_iter_readv_writev+0x902/0xbc0 fs/read_write.c:680 do_iter_write fs/read_write.c:956 [inline] do_iter_write+0x184/0x610 fs/read_write.c:937 vfs_writev+0x1ee/0x370 fs/read_write.c:1001 do_writev+0x11a/0x300 fs/read_write.c:1036 __do_sys_writev fs/read_write.c:1109 [inline] __se_sys_writev fs/read_write.c:1106 [inline] __x64_sys_writev+0x75/0xb0 fs/read_write.c:1106 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457f51 Code: 75 14 b8 14 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 a4 b8 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:00007f5491780ba0 EFLAGS: 00000293 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 0000000000000041 RCX: 0000000000457f51 RDX: 0000000000000001 RSI: 00007f5491780bf0 RDI: 00000000000000f0 RBP: 0000000020000180 R08: 00000000000000f0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f54917816d4 R13: 00000000004c6606 R14: 00000000004db860 R15: 00000000ffffffff Modules linked in: ---[ end trace e4d20eb524157f8e ]--- RIP: 0010:rt6_make_pcpu_route net/ipv6/route.c:1262 [inline] RIP: 0010:ip6_pol_route+0x82f/0x1490 net/ipv6/route.c:1895 Code: 48 03 1c c5 60 60 56 89 be 08 00 00 00 48 89 df e8 56 3e f5 fa 31 c0 f0 4c 0f b1 3b 48 85 c0 0f 84 b3 fb ff ff e8 d1 72 b1 fa <0f> 0b e8 ca 72 b1 fa e8 85 05 9c fa 31 ff 89 c6 88 85 c8 fe ff ff RSP: 0018:ffff8880647c6a50 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffffe8ffffd6f210 RCX: ffffc9000c6e6000 RDX: 0000000000001968 RSI: ffffffff86d08c1f RDI: ffffe8ffffd6f210 RBP: ffff8880647c6b98 R08: 1ffffd1ffffade42 R09: fffff91ffffade43 R10: fffff91ffffade42 R11: ffffe8ffffd6f217 R12: ffff88808e1e3dc0 R13: 0000000000000001 R14: ffff8880647c6b70 R15: ffff88808bc65680 FS: 00007f5491781700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efd24600008 CR3: 00000000a87cb000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400