syzbot


general protection fault in sctp_v6_get_dst (2)

Status: closed as invalid on 2019/10/04 04:21
Subsystems: sctp
[Documentation on labels]
Reported-by: syzbot+5aab5972d41ebaa03f25@syzkaller.appspotmail.com
First crash: 1864d, last: 1783d
Discussions (3)
Title Replies (including bot) Last reply
Reminder: 10 open syzbot bugs in "net/sctp" subsystem 1 (1) 2019/07/24 02:27
Reminder: 14 open syzbot bugs in "net/sctp" subsystem 1 (1) 2019/06/25 05:49
general protection fault in sctp_v6_get_dst (2) 0 (1) 2019/03/19 09:22
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in sctp_v6_get_dst sctp C 6 2296d 2296d 4/26 fixed on 2018/01/22 13:19

Sample crash report:
dst_release: dst:000000009b5fee1c refcnt:-2051609226
dst_release: dst:000000009b5fee1c refcnt:-2051609226
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: 32665 Comm: syz-executor.0 Not tainted 5.2.0-rc1+ #30
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:265 [inline]
RIP: 0010:sctp_v6_get_dst+0x8ae/0x1d80 net/sctp/ipv6.c:378
Code: fa 84 db 0f 84 15 10 00 00 e8 de a4 d8 fa 48 8b 85 10 ff ff ff 48 8d 78 70 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 48 13 00 00 48 8b 85 10 ff ff ff 4c 8b 60 70 e8
RSP: 0018:ffff8880640af150 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc90005de1000
RDX: 000000000000033f RSI: ffffffff8697ff92 RDI: 00000000000019f9
RBP: ffff8880640af2a0 R08: ffff8880a897e540 R09: ffffed1015d26be0
R10: ffffed1015d26bdf R11: ffff8880ae935efb R12: ffff88809b506648
R13: dffffc0000000000 R14: 000000000000000a R15: 000000000000204e
FS:  00007fb142617700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdccfdae7c CR3: 000000009ff12000 CR4: 00000000001406f0
Call Trace:
 sctp_transport_route+0x12d/0x360 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+0x2491/0x2b10 net/sctp/sm_make_chunk.c:2359
 sctp_sf_do_unexpected_init net/sctp/sm_statefuns.c:1556 [inline]
 sctp_sf_do_unexpected_init.isra.0+0x7cd/0x1350 net/sctp/sm_statefuns.c:1456
 sctp_sf_do_5_2_1_siminit+0x35/0x40 net/sctp/sm_statefuns.c:1685
 sctp_do_sm+0x121/0x50e0 net/sctp/sm_sideeffect.c:1162
 sctp_assoc_bh_rcv+0x343/0x660 net/sctp/associola.c:1074
 sctp_inq_push+0x1e4/0x280 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+0x129/0x390 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+0xab2/0xcd0 net/sctp/socket.c:1241
 sctp_connect net/sctp/socket.c:4861 [inline]
 sctp_inet_connect+0x29c/0x340 net/sctp/socket.c:4877
 __sys_connect+0x264/0x330 net/socket.c:1840
 __do_sys_connect net/socket.c:1851 [inline]
 __se_sys_connect net/socket.c:1848 [inline]
 __x64_sys_connect+0x73/0xb0 net/socket.c:1848
 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:00007fb142616c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459279
RDX: 000000000000001c RSI: 0000000020000080 RDI: 0000000000000004
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb1426176d4
R13: 00000000004bf74d R14: 00000000004d0c18 R15: 00000000ffffffff
Modules linked in:
---[ end trace 52e4897bec9ae826 ]---
RIP: 0010:__read_once_size include/linux/compiler.h:194 [inline]
RIP: 0010:rt6_get_cookie include/net/ip6_fib.h:265 [inline]
RIP: 0010:sctp_v6_get_dst+0x8ae/0x1d80 net/sctp/ipv6.c:378
Code: fa 84 db 0f 84 15 10 00 00 e8 de a4 d8 fa 48 8b 85 10 ff ff ff 48 8d 78 70 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 48 13 00 00 48 8b 85 10 ff ff ff 4c 8b 60 70 e8
RSP: 0018:ffff8880640af150 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc90005de1000
RDX: 000000000000033f RSI: ffffffff8697ff92 RDI: 00000000000019f9
RBP: ffff8880640af2a0 R08: ffff8880a897e540 R09: ffffed1015d26be0
R10: ffffed1015d26bdf R11: ffff8880ae935efb R12: ffff88809b506648
R13: dffffc0000000000 R14: 000000000000000a R15: 000000000000204e
FS:  00007fb142617700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000070d09b CR3: 000000009ff12000 CR4: 00000000001406e0

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/05/28 00:02 net-old 3e66b7cc50ef 6bd61501 .config console log report ci-upstream-net-this-kasan-gce
2019/05/01 08:52 net-old 0e2338749192 618456b4 .config console log report ci-upstream-net-this-kasan-gce
2019/06/07 19:14 bpf-next 4ecabd55c904 ce9107d0 .config console log report ci-upstream-bpf-next-kasan-gce
2019/06/03 07:15 net-next-old 57f041027909 53c81ea5 .config console log report ci-upstream-net-kasan-gce
2019/05/29 19:39 net-next-old 36f18439ea16 5457ef34 .config console log report ci-upstream-net-kasan-gce
2019/05/29 06:21 net-next-old c7ae09253cb8 6bd61501 .config console log report ci-upstream-net-kasan-gce
2019/05/27 00:10 net-next-old 9b3c520e9628 85c57315 .config console log report ci-upstream-net-kasan-gce
2019/03/18 18:18 net-next-old 3b319ee220a8 4656beca .config console log report ci-upstream-net-kasan-gce
* Struck through repros no longer work on HEAD.