------------[ cut here ]------------ kernel BUG at net/ipv6/route.c:1296! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 318 Comm: syz-executor.2 Not tainted 5.1.0+ #9 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+0x81b/0xfa0 net/ipv6/route.c:1939 Code: 48 03 1c c5 60 70 6f 88 be 08 00 00 00 48 89 df e8 0a 87 87 fb 31 c0 f0 4c 0f b1 2b 48 85 c0 0f 84 30 fb ff ff e8 f5 38 4f fb <0f> 0b e8 ee 38 4f fb e8 99 43 3d fb 31 ff 41 89 c7 89 c6 e8 1d 3a RSP: 0018:ffff8880ae808a80 EFLAGS: 00010206 RAX: ffff8880648e6540 RBX: ffffe8ffffc6f8c0 RCX: ffffffff8621a0d6 RDX: 0000000000000100 RSI: ffffffff8621a0eb RDI: ffffe8ffffc6f8c0 RBP: ffff8880ae808ba8 R08: 1ffffd1ffff8df18 R09: fffff91ffff8df19 R10: fffff91ffff8df18 R11: ffffe8ffffc6f8c7 R12: 0000000000000001 R13: ffff88808d132d00 R14: ffff8880ae808ad0 R15: ffff88808d132d40 FS: 00007fe35e8d7700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 000000008e7a5000 CR4: 00000000001406f0 Call Trace: ip6_pol_route_output+0x54/0x70 net/ipv6/route.c:2112 fib6_rule_lookup+0x136/0x5a0 net/ipv6/fib6_rules.c:116 ip6_route_output_flags+0x2c4/0x350 net/ipv6/route.c:2141 ip6_route_output include/net/ip6_route.h:89 [inline] ip6_dst_lookup_tail+0xd10/0x1b30 net/ipv6/ip6_output.c:966 ip6_dst_lookup_flow+0xa8/0x220 net/ipv6/ip6_output.c:1094 sctp_v6_get_dst+0x785/0x1d80 net/sctp/ipv6.c:293 sctp_transport_route+0x132/0x370 net/sctp/transport.c:312 sctp_assoc_add_peer+0x53e/0xfc0 net/sctp/associola.c:678 sctp_process_param net/sctp/sm_make_chunk.c:2546 [inline] sctp_process_init+0x249f/0x2b20 net/sctp/sm_make_chunk.c:2359 sctp_sf_do_5_1D_ce+0x458/0x1390 net/sctp/sm_statefuns.c:782 sctp_do_sm+0x12c/0x5500 net/sctp/sm_sideeffect.c:1162 sctp_endpoint_bh_rcv+0x451/0x950 net/sctp/endpointola.c:458 sctp_inq_push+0x1ea/0x290 net/sctp/inqueue.c:95 sctp_rcv+0x2853/0x3600 net/sctp/input.c:271 ip_protocol_deliver_rcu+0x74c/0x940 net/ipv4/ip_input.c:211 ip_local_deliver_finish+0x23b/0x390 net/ipv4/ip_input.c:238 NF_HOOK include/linux/netfilter.h:305 [inline] NF_HOOK include/linux/netfilter.h:299 [inline] ip_local_deliver+0x1e9/0x520 net/ipv4/ip_input.c:259 dst_input include/net/dst.h:439 [inline] ip_rcv_finish+0x1e1/0x300 net/ipv4/ip_input.c:420 NF_HOOK include/linux/netfilter.h:305 [inline] NF_HOOK include/linux/netfilter.h:299 [inline] ip_rcv+0xe8/0x3f0 net/ipv4/ip_input.c:530 __netif_receive_skb_one_core+0x18d/0x1f0 net/core/dev.c:4990 __netif_receive_skb+0x2c/0x1d0 net/core/dev.c:5104 process_backlog+0x206/0x750 net/core/dev.c:5944 napi_poll net/core/dev.c:6367 [inline] net_rx_action+0x4fa/0x1070 net/core/dev.c:6433 __do_softirq+0x266/0x95a kernel/softirq.c:293 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1026 do_softirq.part.0+0x11a/0x170 kernel/softirq.c:338 do_softirq kernel/softirq.c:330 [inline] __local_bh_enable_ip+0x211/0x270 kernel/softirq.c:190 local_bh_enable include/linux/bottom_half.h:32 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:684 [inline] ip_finish_output2+0x952/0x24e0 net/ipv4/ip_output.c:228 ip_finish_output+0x734/0xd50 net/ipv4/ip_output.c:314 NF_HOOK_COND include/linux/netfilter.h:294 [inline] ip_output+0x21f/0x670 net/ipv4/ip_output.c:402 dst_output include/net/dst.h:433 [inline] ip_local_out+0xc4/0x1b0 net/ipv4/ip_output.c:124 __ip_queue_xmit+0x86f/0x1bf0 net/ipv4/ip_output.c:502 sctp_v4_xmit+0x1a8/0x200 net/sctp/protocol.c:991 sctp_packet_transmit+0x1bc4/0x36f0 net/sctp/output.c:641 sctp_outq_flush_transports net/sctp/outqueue.c:1161 [inline] sctp_outq_flush+0x2b8/0x2780 net/sctp/outqueue.c:1209 sctp_outq_uncork+0x6c/0x80 net/sctp/outqueue.c:772 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1791 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1194 [inline] sctp_do_sm+0x265c/0x5500 net/sctp/sm_sideeffect.c:1165 sctp_assoc_bh_rcv+0x343/0x660 net/sctp/associola.c:1074 sctp_inq_push+0x1ea/0x290 net/sctp/inqueue.c:95 sctp_backlog_rcv+0x196/0xbe0 net/sctp/input.c:354 sk_backlog_rcv include/net/sock.h:950 [inline] __release_sock+0x12e/0x3a0 net/core/sock.c:2418 release_sock+0x59/0x1c0 net/core/sock.c:2934 sctp_wait_for_connect+0x316/0x540 net/sctp/socket.c:9054 __sctp_connect+0xac2/0xce0 net/sctp/socket.c:1241 __sctp_setsockopt_connectx+0x133/0x1a0 net/sctp/socket.c:1349 sctp_getsockopt_connectx3 net/sctp/socket.c:1434 [inline] sctp_getsockopt net/sctp/socket.c:7870 [inline] sctp_getsockopt+0x435a/0x6778 net/sctp/socket.c:7801 sock_common_getsockopt+0x9a/0xe0 net/core/sock.c:3089 __sys_getsockopt+0x168/0x250 net/socket.c:2115 __do_sys_getsockopt net/socket.c:2126 [inline] __se_sys_getsockopt net/socket.c:2123 [inline] __x64_sys_getsockopt+0xbe/0x150 net/socket.c:2123 do_syscall_64+0x103/0x670 arch/x86/entry/common.c:298 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458da9 Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fe35e8d6c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000458da9 RDX: 000000000000006f RSI: 0000000000000084 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000020000200 R09: 0000000000000000 R10: 00000000200000c0 R11: 0000000000000246 R12: 00007fe35e8d76d4 R13: 00000000004cb038 R14: 00000000004d1d78 R15: 00000000ffffffff Modules linked in: ---[ end trace 16008ed995e96234 ]--- RIP: 0010:rt6_make_pcpu_route net/ipv6/route.c:1296 [inline] RIP: 0010:ip6_pol_route+0x81b/0xfa0 net/ipv6/route.c:1939 Code: 48 03 1c c5 60 70 6f 88 be 08 00 00 00 48 89 df e8 0a 87 87 fb 31 c0 f0 4c 0f b1 2b 48 85 c0 0f 84 30 fb ff ff e8 f5 38 4f fb <0f> 0b e8 ee 38 4f fb e8 99 43 3d fb 31 ff 41 89 c7 89 c6 e8 1d 3a RSP: 0018:ffff8880ae808a80 EFLAGS: 00010206 RAX: ffff8880648e6540 RBX: ffffe8ffffc6f8c0 RCX: ffffffff8621a0d6 RDX: 0000000000000100 RSI: ffffffff8621a0eb RDI: ffffe8ffffc6f8c0 RBP: ffff8880ae808ba8 R08: 1ffffd1ffff8df18 R09: fffff91ffff8df19 R10: fffff91ffff8df18 R11: ffffe8ffffc6f8c7 R12: 0000000000000001 R13: ffff88808d132d00 R14: ffff8880ae808ad0 R15: ffff88808d132d40 FS: 00007fe35e8d7700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 000000008e7a5000 CR4: 00000000001406f0