syzbot


general protection fault in tcp_v6_connect

Status: auto-closed as invalid on 2019/10/25 08:43
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+5ee26b4e30c45930bd3c@syzkaller.appspotmail.com
First crash: 1794d, last: 1773d
Discussions (3)
Title Replies (including bot) Last reply
Reminder: 99 open syzbot bugs in net subsystem 14 (14) 2019/07/31 15:13
Reminder: 94 open syzbot bugs in net subsystem 1 (1) 2019/06/25 05:48
general protection fault in tcp_v6_connect 2 (3) 2019/06/03 06:59

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: 1 PID: 14235 Comm: syz-executor.5 Not tainted 5.2.0-rc2+ #23
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:194 [inline]
RIP: 0010:rt6_get_cookie include/net/ip6_fib.h:264 [inline]
RIP: 0010:ip6_dst_store include/net/ip6_route.h:213 [inline]
RIP: 0010:tcp_v6_connect+0xfd0/0x20a0 net/ipv6/tcp_ipv6.c:298
Code: 89 e6 e8 33 a7 47 fb 45 84 e4 0f 84 90 09 00 00 e8 e5 a5 47 fb 49 8d 7e 70 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 57 0e 00 00 4d 8b 66 70 e8 ad 8b 34 fb 31 ff 89
RSP: 0018:ffff88809133f690 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: ffff888069b8cc30 RCX: ffffc90012bd3000
RDX: 0000000000000010 RSI: ffffffff8628ffdb RDI: 0000000000000085
RBP: ffff88809133f810 R08: ffff88806099a5c0 R09: ffffed1015d06be8
R10: ffffed1015d06be7 R11: ffff8880ae835f3b R12: 0000000000000001
R13: ffff888069b8c180 R14: 0000000000000015 R15: ffff88809133fc90
FS:  00007fdaeb443700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdaeb39ddb8 CR3: 000000008ec6d000 CR4: 00000000001406e0
Call Trace:
 __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:0x4592c9
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:00007fdaeb442c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004592c9
RDX: 0000000020008844 RSI: 0000000020000240 RDI: 0000000000000006
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fdaeb4436d4
R13: 00000000004c6f76 R14: 00000000004dc0b0 R15: 00000000ffffffff
Modules linked in:
---[ end trace 4c8b7c7cdb2b47b7 ]---
RIP: 0010:__read_once_size include/linux/compiler.h:194 [inline]
RIP: 0010:rt6_get_cookie include/net/ip6_fib.h:264 [inline]
RIP: 0010:ip6_dst_store include/net/ip6_route.h:213 [inline]
RIP: 0010:tcp_v6_connect+0xfd0/0x20a0 net/ipv6/tcp_ipv6.c:298
Code: 89 e6 e8 33 a7 47 fb 45 84 e4 0f 84 90 09 00 00 e8 e5 a5 47 fb 49 8d 7e 70 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 57 0e 00 00 4d 8b 66 70 e8 ad 8b 34 fb 31 ff 89
RSP: 0018:ffff88809133f690 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: ffff888069b8cc30 RCX: ffffc90012bd3000
RDX: 0000000000000010 RSI: ffffffff8628ffdb RDI: 0000000000000085
RBP: ffff88809133f810 R08: ffff88806099a5c0 R09: ffffed1015d06be8
R10: ffffed1015d06be7 R11: ffff8880ae835f3b R12: 0000000000000001
R13: ffff888069b8c180 R14: 0000000000000015 R15: ffff88809133fc90
FS:  00007fdaeb443700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ea24000 CR3: 000000008ec6d000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/06/18 11:04 bpf-next 32b88d374357 442206d7 .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/16 10:22 bpf-next 7f94208c8f9a 442206d7 .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/09 23:53 bpf-next 4ecabd55c904 0159583c .config console log report ci-upstream-bpf-next-kasan-gce
2019/05/27 19:21 net-next-old f4aa80129ff7 562efd79 .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.