syzbot


general protection fault in ip6_dst_lookup_tail (2)
Status: upstream: reported syz repro on 2019/04/29 06:51
Reported-by: syzbot+58d8f704b86e4e3fb4d3@syzkaller.appspotmail.com
First crash: 1127d, last: 1073d

Cause bisection: introduced by (bisect log) :
commit f40b6ae2b612446dc970d7b51eeec47bd1619f82
Author: David Ahern <dsahern@gmail.com>
Date: Thu May 23 03:27:55 2019 +0000

  ipv6: Move pcpu cached routes to fib6_nh

Crash: general protection fault in ip6_dst_lookup_tail (log)
Repro: syz .config

Fix bisection: failed (bisect log)

Sample crash report:
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: 0 PID: 26896 Comm: syz-executor.5 Not tainted 5.2.0-rc2+ #17
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ip6_route_get_saddr include/net/ip6_route.h:120 [inline]
RIP: 0010:ip6_dst_lookup_tail+0xf0e/0x1b30 net/ipv6/ip6_output.c:1032
Code: e6 07 e8 65 66 55 fb 48 85 db 0f 84 83 08 00 00 e8 57 66 55 fb 48 8d 7b 7c 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 07
RSP: 0018:ffff88808d5f7480 EFLAGS: 00010a07
RAX: dffffc0000000000 RBX: ff88807b5f1cc000 RCX: 0000000000000000
RDX: 1ff1100f6be3980f RSI: ffffffff861b3f69 RDI: ff88807b5f1cc07c
RBP: ffff88808d5f75d8 R08: ffff88808d6243c0 R09: ffffed1015d06be8
R10: ffffed1015d06be7 R11: ffff8880ae835f3b R12: ffff88808d5f7740
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88808d5f7768
FS:  00007f7c1d240700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004e7720 CR3: 000000009bbca000 CR4: 00000000001406f0
Call Trace:
 ip6_dst_lookup_flow+0xa8/0x220 net/ipv6/ip6_output.c:1155
 tcp_v6_connect+0xda3/0x20a0 net/ipv6/tcp_ipv6.c:282
 __inet_stream_connect+0x834/0xe90 net/ipv4/af_inet.c:659
 tcp_sendmsg_fastopen net/ipv4/tcp.c:1143 [inline]
 tcp_sendmsg_locked+0x2318/0x3920 net/ipv4/tcp.c:1185
 tcp_sendmsg+0x30/0x50 net/ipv4/tcp.c:1419
 inet_sendmsg+0x141/0x5d0 net/ipv4/af_inet.c:802
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xd7/0x130 net/socket.c:671
 ___sys_sendmsg+0x803/0x920 net/socket.c:2292
 __sys_sendmsg+0x105/0x1d0 net/socket.c:2330
 __do_sys_sendmsg net/socket.c:2339 [inline]
 __se_sys_sendmsg net/socket.c:2337 [inline]
 __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2337
 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:00007f7c1d23fc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459279
RDX: 0000000020008844 RSI: 0000000020000240 RDI: 0000000000000004
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7c1d2406d4
R13: 00000000004c6f0e R14: 00000000004dc030 R15: 00000000ffffffff
Modules linked in:
---[ end trace a201d85a6d10af02 ]---
RIP: 0010:ip6_route_get_saddr include/net/ip6_route.h:120 [inline]
RIP: 0010:ip6_dst_lookup_tail+0xf0e/0x1b30 net/ipv6/ip6_output.c:1032
Code: e6 07 e8 65 66 55 fb 48 85 db 0f 84 83 08 00 00 e8 57 66 55 fb 48 8d 7b 7c 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 07
RSP: 0018:ffff88808d5f7480 EFLAGS: 00010a07
RAX: dffffc0000000000 RBX: ff88807b5f1cc000 RCX: 0000000000000000
RDX: 1ff1100f6be3980f RSI: ffffffff861b3f69 RDI: ff88807b5f1cc07c
RBP: ffff88808d5f75d8 R08: ffff88808d6243c0 R09: ffffed1015d06be8
R10: ffffed1015d06be7 R11: ffff8880ae835f3b R12: ffff88808d5f7740
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88808d5f7768
FS:  00007f7c1d240700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000010f0130 CR3: 000000009bbca000 CR4: 00000000001406f0

Crashes (194):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-bpf-next-kasan-gce 2019/06/10 06:13 bpf-next 4ecabd55c904 0159583c .config log report syz
ci-upstream-bpf-next-kasan-gce 2019/06/06 23:13 bpf-next 07c3bbdb1a9b 698773cb .config log report syz
ci-upstream-net-this-kasan-gce 2019/06/14 17:50 net 385097a36757 442206d7 .config log report
ci-upstream-net-this-kasan-gce 2019/04/27 06:43 net fdfdf86720a3 b617407b .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/19 23:53 bpf-next 94079b64255f 34bf9440 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/19 21:47 bpf-next 94079b64255f 34bf9440 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/19 15:28 bpf-next 94079b64255f 34bf9440 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/19 13:35 bpf-next 94079b64255f 34bf9440 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/19 12:27 bpf-next 94079b64255f 34bf9440 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/19 03:51 bpf-next 4d18f6de6ac1 e3f76baa .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/19 02:35 bpf-next 4d18f6de6ac1 e3f76baa .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/18 17:27 bpf-next 4d18f6de6ac1 e3f76baa .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/18 07:04 bpf-next 32b88d374357 442206d7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/18 05:23 bpf-next 32b88d374357 442206d7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/17 14:39 bpf-next 7f94208c8f9a 442206d7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/17 08:07 bpf-next 7f94208c8f9a 442206d7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/17 06:58 bpf-next 7f94208c8f9a 442206d7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/17 04:57 bpf-next 7f94208c8f9a 442206d7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/17 03:27 bpf-next 7f94208c8f9a 442206d7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/16 23:32 bpf-next 7f94208c8f9a 442206d7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/16 13:16 bpf-next 7f94208c8f9a 442206d7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/15 23:49 bpf-next 7f94208c8f9a 442206d7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/15 20:55 bpf-next 7f94208c8f9a 442206d7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/15 06:47 bpf-next 8ffc56c2632b 442206d7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/15 00:42 bpf-next 8ffc56c2632b 442206d7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/14 13:09 bpf-next aee450cbe482 998ccc76 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/14 11:09 bpf-next aee450cbe482 998ccc76 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/14 04:02 bpf-next aee450cbe482 a139f92f .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/14 00:43 bpf-next aee450cbe482 a139f92f .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/12 21:42 bpf-next aee450cbe482 794a1ad7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/12 14:50 bpf-next 5e2ac390fbd0 794a1ad7 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/12 00:54 bpf-next 5e2ac390fbd0 ea2f4006 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/11 04:32 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/10 19:11 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/10 13:26 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/10 11:14 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/10 07:42 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/10 04:01 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/09 21:12 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/09 17:40 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/09 16:25 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/09 15:20 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/09 12:51 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/09 10:34 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/09 09:06 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/09 08:54 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/09 05:03 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/08 20:12 bpf-next 4ecabd55c904 0159583c .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/08 01:56 bpf-next 88aa9c0bf414 cf9c3a50 .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/06 13:40 bpf-next 07c3bbdb1a9b a547defc .config log report
ci-upstream-bpf-next-kasan-gce 2019/06/06 08:20 bpf-next 07c3bbdb1a9b a547defc .config log report
ci-upstream-net-kasan-gce 2019/06/05 13:18 net-next 712246bc93cb bfb4a51e .config log report
ci-upstream-linux-next-kasan-gce-root 2019/05/31 12:10 linux-next 3c09c1950c84 142ce681 .config log report