kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 28765 Comm: syz-executor.4 Not tainted 5.2.0-rc3+ #24 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dev_get_by_index_rcu+0x2e/0x150 net/core/dev.c:836 Code: 41 56 41 55 41 89 f5 41 54 53 48 89 fb e8 5a 50 f0 fb 48 8d bb c8 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 0a 01 00 00 48 8b 93 c8 01 00 00 41 0f b6 c5 48 RSP: 0018:ffff8880ae909500 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff85ea87dd RDX: 0000000000000039 RSI: ffffffff858057a6 RDI: 00000000000001c8 RBP: ffff8880ae909520 R08: ffff8880a74d46c0 R09: ffffed1015d26be8 R10: ffffed1015d26be7 R11: ffff8880ae935f3b R12: ffff88806d7b3b62 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f8b64ecb700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e220000 CR3: 0000000064947000 CR4: 00000000001406e0 Call Trace: netif_index_is_l3_master include/net/l3mdev.h:134 [inline] ip_send_unicast_reply+0xcb6/0x11a0 net/ipv4/ip_output.c:1660 tcp_v4_send_reset+0xe44/0x20b0 net/ipv4/tcp_ipv4.c:773 tcp_v4_rcv+0x20ed/0x3870 net/ipv4/tcp_ipv4.c:1945 ip_protocol_deliver_rcu+0x5a/0x8e0 net/ipv4/ip_input.c:204 ip_local_deliver_finish+0x23b/0x390 net/ipv4/ip_input.c:231 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:252 dst_input include/net/dst.h:439 [inline] ip_rcv_finish+0x1d9/0x2f0 net/ipv4/ip_input.c:413 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:523 __netif_receive_skb_one_core+0x113/0x1a0 net/core/dev.c:4981 __netif_receive_skb+0x2c/0x1d0 net/core/dev.c:5095 process_backlog+0x206/0x750 net/core/dev.c:5906 napi_poll net/core/dev.c:6329 [inline] net_rx_action+0x4f5/0x1070 net/core/dev.c:6395 __do_softirq+0x25c/0x94c kernel/softirq.c:293 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1040 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:682 [inline] ip_finish_output2+0x93a/0x24c0 net/ipv4/ip_output.c:229 __ip_finish_output net/ipv4/ip_output.c:308 [inline] __ip_finish_output+0x5fc/0xbc0 net/ipv4/ip_output.c:290 ip_finish_output+0x38/0x1f0 net/ipv4/ip_output.c:318 NF_HOOK_COND include/linux/netfilter.h:294 [inline] ip_output+0x21f/0x670 net/ipv4/ip_output.c:415 dst_output include/net/dst.h:433 [inline] ip_local_out+0xbb/0x1b0 net/ipv4/ip_output.c:125 __ip_queue_xmit+0x86f/0x1bf0 net/ipv4/ip_output.c:515 ip_queue_xmit+0x5a/0x70 include/net/ip.h:236 __tcp_transmit_skb+0x1a1a/0x3730 net/ipv4/tcp_output.c:1156 tcp_transmit_skb net/ipv4/tcp_output.c:1172 [inline] tcp_connect+0x2e03/0x4260 net/ipv4/tcp_output.c:3536 tcp_v4_connect+0x1514/0x1c40 net/ipv4/tcp_ipv4.c:310 __inet_stream_connect+0x834/0xe90 net/ipv4/af_inet.c:655 inet_stream_connect+0x58/0xa0 net/ipv4/af_inet.c:719 __sys_connect+0x264/0x330 net/socket.c:1834 __do_sys_connect net/socket.c:1845 [inline] __se_sys_connect net/socket.c:1842 [inline] __x64_sys_connect+0x73/0xb0 net/socket.c:1842 do_syscall_64+0xfd/0x680 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459279 Code: fd b7 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 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f8b64ecac78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459279 RDX: 0000000000000010 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 000000000075c1a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8b64ecb6d4 R13: 00000000004bf740 R14: 00000000004d0ea0 R15: 00000000ffffffff Modules linked in: ---[ end trace b48ab2c541d17495 ]--- RIP: 0010:dev_get_by_index_rcu+0x2e/0x150 net/core/dev.c:836 Code: 41 56 41 55 41 89 f5 41 54 53 48 89 fb e8 5a 50 f0 fb 48 8d bb c8 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 0a 01 00 00 48 8b 93 c8 01 00 00 41 0f b6 c5 48 RSP: 0018:ffff8880ae909500 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff85ea87dd RDX: 0000000000000039 RSI: ffffffff858057a6 RDI: 00000000000001c8 RBP: ffff8880ae909520 R08: ffff8880a74d46c0 R09: ffffed1015d26be8 R10: ffffed1015d26be7 R11: ffff8880ae935f3b R12: ffff88806d7b3b62 R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f8b64ecb700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e220000 CR3: 0000000064947000 CR4: 00000000001406e0