syzbot


general protection fault in sctp_sched_dequeue_common (3)

Status: auto-closed as invalid on 2019/12/06 07:31
Subsystems: sctp
[Documentation on labels]
Reported-by: syzbot+93ab6647ea6bd3de9396@syzkaller.appspotmail.com
First crash: 1689d, last: 1686d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in sctp_sched_dequeue_common (2) sctp C done 3 1863d 1863d 12/26 fixed on 2019/06/23 12:03
upstream general protection fault in sctp_sched_dequeue_common sctp 6 1886d 1976d 11/26 fixed on 2019/03/06 07:43

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: 14503 Comm: syz-executor.1 Not tainted 5.3.0-rc7+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry_valid+0x85/0xf5 lib/list_debug.c:51
Code: 0f 84 e1 00 00 00 48 b8 22 01 00 00 00 00 ad de 49 39 c4 0f 84 e2 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 53 49 8b 14 24 4c 39 f2 0f 85 99 00 00 00 49 8d 7d
RSP: 0018:ffff8880904c72b8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff888071436a98 RCX: ffffc90008353000
RDX: 0000000000000000 RSI: ffffffff86b73fc0 RDI: ffff888071436aa0
RBP: ffff8880904c72d0 R08: ffff8880919fe280 R09: ffff8880904c7598
R10: ffffed1012098ee5 R11: 0000000000000003 R12: 0000000000000000
R13: 0000000000000000 R14: ffff888071436a98 R15: ffff8880904c7478
FS:  00007fa9f5cac700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa9f5c8adb8 CR3: 000000008f1d6000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:131 [inline]
 list_del_init include/linux/list.h:190 [inline]
 sctp_sched_dequeue_common+0x28/0x340 net/sctp/stream_sched.c:252
 sctp_sched_fcfs_dequeue+0xec/0x170 net/sctp/stream_sched.c:75
 sctp_outq_dequeue_data net/sctp/outqueue.c:75 [inline]
 sctp_outq_flush_data net/sctp/outqueue.c:1064 [inline]
 sctp_outq_flush+0xb9d/0x2780 net/sctp/outqueue.c:1190
 sctp_outq_uncork+0x6c/0x80 net/sctp/outqueue.c:757
 sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1781 [inline]
 sctp_side_effects net/sctp/sm_sideeffect.c:1184 [inline]
 sctp_do_sm+0x4b9/0x5170 net/sctp/sm_sideeffect.c:1155
 sctp_primitive_SEND+0xa0/0xd0 net/sctp/primitive.c:163
 sctp_sendmsg_to_asoc+0x1145/0x1f40 net/sctp/socket.c:1944
 sctp_sendmsg+0x109a/0x17d0 net/sctp/socket.c:2102
 inet_sendmsg+0x9e/0xe0 net/ipv4/af_inet.c:807
 sock_sendmsg_nosec net/socket.c:637 [inline]
 sock_sendmsg+0xd7/0x130 net/socket.c:657
 sock_write_iter+0x27c/0x3e0 net/socket.c:989
 call_write_iter include/linux/fs.h:1870 [inline]
 new_sync_write+0x4d3/0x770 fs/read_write.c:483
 __vfs_write+0xe1/0x110 fs/read_write.c:496
 vfs_write+0x268/0x5d0 fs/read_write.c:558
 ksys_write+0x14f/0x290 fs/read_write.c:611
 __do_sys_write fs/read_write.c:623 [inline]
 __se_sys_write fs/read_write.c:620 [inline]
 __x64_sys_write+0x73/0xb0 fs/read_write.c:620
 do_syscall_64+0xfd/0x6a0 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4598e9
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:00007fa9f5cabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004598e9
RDX: 000000000001a000 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa9f5cac6d4
R13: 00000000004c9a1f R14: 00000000004e1100 R15: 00000000ffffffff
Modules linked in:
---[ end trace ee661d64b6b63436 ]---
RIP: 0010:__list_del_entry_valid+0x85/0xf5 lib/list_debug.c:51
Code: 0f 84 e1 00 00 00 48 b8 22 01 00 00 00 00 ad de 49 39 c4 0f 84 e2 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 75 53 49 8b 14 24 4c 39 f2 0f 85 99 00 00 00 49 8d 7d
RSP: 0018:ffff8880904c72b8 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff888071436a98 RCX: ffffc90008353000
RDX: 0000000000000000 RSI: ffffffff86b73fc0 RDI: ffff888071436aa0
RBP: ffff8880904c72d0 R08: ffff8880919fe280 R09: ffff8880904c7598
R10: ffffed1012098ee5 R11: 0000000000000003 R12: 0000000000000000
R13: 0000000000000000 R14: ffff888071436a98 R15: ffff8880904c7478
FS:  00007fa9f5cac700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000075c000 CR3: 000000008f1d6000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/07 07:30 net-old 74346c434cd2 a60cb4cd .config console log report ci-upstream-net-this-kasan-gce
2019/09/04 03:27 net-old e33b4325e60e 526709ff .config console log report ci-upstream-net-this-kasan-gce
* Struck through repros no longer work on HEAD.