[ 35.034184] audit: type=1800 audit(1551833191.761:27): pid=7421 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="restorecond" dev="sda1" ino=2436 res=0 [ 35.062701] audit: type=1800 audit(1551833191.761:28): pid=7421 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 res=0 [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 35.863129] audit: type=1800 audit(1551833192.651:29): pid=7421 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 35.887934] audit: type=1800 audit(1551833192.651:30): pid=7421 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.185' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 47.850616] kasan: CONFIG_KASAN_INLINE enabled [ 47.855316] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 47.862717] general protection fault: 0000 [#1] PREEMPT SMP KASAN [ 47.868951] CPU: 0 PID: 7574 Comm: syz-executor806 Not tainted 5.0.0+ #109 [ 47.875970] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 47.885314] RIP: 0010:sctp_sched_rr_dequeue+0xd3/0x170 [ 47.890570] Code: ea 03 80 3c 02 00 0f 85 a2 00 00 00 48 8b 5b 08 e8 52 22 ee fa 48 8d 7b 30 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 53 4c 8b 6b 30 4c 89 e7 49 83 ed 18 4c 89 ee e8 b4 [ 47.909452] RSP: 0018:ffff88809316f040 EFLAGS: 00010206 [ 47.914800] RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff86799d9f [ 47.922050] RDX: 0000000000000006 RSI: ffffffff8681941e RDI: 0000000000000030 [ 47.929299] RBP: ffff88809316f058 R08: ffff888092b9c3c0 R09: 0000000000000002 [ 47.936548] R10: ffffed1015d05bcf R11: ffff8880ae82de7b R12: ffff888087178760 [ 47.943817] R13: ffff888087178040 R14: dffffc0000000000 R15: ffff88809316f198 [ 47.951080] FS: 000000000201d880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 [ 47.959305] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 47.965169] CR2: 0000000020000080 CR3: 000000009540d000 CR4: 00000000001406f0 [ 47.972421] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 47.979671] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 47.986919] Call Trace: [ 47.989494] sctp_outq_flush+0xba2/0x2790 [ 47.993628] ? rcu_lockdep_current_cpu_online+0xe3/0x130 [ 47.999057] ? sctp_chunkify+0x4b/0x290 [ 48.003017] ? __sctp_outq_teardown+0xc60/0xc60 [ 48.007667] ? __sanitizer_cov_trace_const_cmp1+0x1a/0x20 [ 48.013185] ? sctp_outq_tail+0x681/0x930 [ 48.017314] sctp_outq_uncork+0x6c/0x80 [ 48.021269] sctp_do_sm+0x513/0x5390 [ 48.024964] ? __lock_acquire+0x53b/0x4700 [ 48.029178] ? __sys_sendmsg+0x105/0x1d0 [ 48.033227] ? sctp_do_8_2_transport_strike.isra.0+0x940/0x940 [ 48.039183] ? mark_held_locks+0x100/0x100 [ 48.043402] ? sctp_assoc_bh_rcv+0x2fc/0x660 [ 48.047794] ? find_held_lock+0x35/0x130 [ 48.051838] ? sctp_assoc_bh_rcv+0x2fc/0x660 [ 48.056234] ? kvm_clock_read+0x18/0x30 [ 48.060190] ? __sanitizer_cov_trace_cmp4+0x16/0x20 [ 48.065192] ? ktime_get+0x208/0x300 [ 48.068890] sctp_assoc_bh_rcv+0x343/0x660 [ 48.073113] sctp_inq_push+0x1ea/0x290 [ 48.076982] sctp_backlog_rcv+0x189/0xbc0 [ 48.081111] ? __local_bh_enable_ip+0x15a/0x270 [ 48.085765] ? sctp_hash_obj+0x5e0/0x5e0 [ 48.089815] ? __release_sock+0xca/0x3a0 [ 48.093861] ? __local_bh_enable_ip+0x15a/0x270 [ 48.098510] __release_sock+0x12e/0x3a0 [ 48.102467] release_sock+0x59/0x1c0 [ 48.106165] sctp_wait_for_connect+0x316/0x540 [ 48.110727] ? sctp_get_port+0x180/0x180 [ 48.114772] ? finish_wait+0x260/0x260 [ 48.118649] ? sctp_datamsg_put+0x36/0x4d0 [ 48.122871] ? sctp_primitive_SEND+0xa0/0xd0 [ 48.127262] sctp_sendmsg_to_asoc+0x13e2/0x17d0 [ 48.131914] ? sctp_clear_owner_w+0x120/0x120 [ 48.136388] ? sctp_autobind+0x1f0/0x1f0 [ 48.140430] ? lock_downgrade+0x810/0x810 [ 48.144687] ? kasan_check_read+0x11/0x20 [ 48.148819] sctp_sendmsg+0x10a9/0x17e0 [ 48.152780] ? sctp_id2assoc+0x2c0/0x2c0 [ 48.156830] ? __might_sleep+0x95/0x190 [ 48.160796] ? debug_lockdep_rcu_enabled+0x71/0xa0 [ 48.165708] ? aa_sk_perm+0x1c6/0x7c0 [ 48.169493] ? aa_sock_msg_perm.isra.0+0xba/0x170 [ 48.174320] inet_sendmsg+0x147/0x5d0 [ 48.178102] ? ipip_gro_receive+0x100/0x100 [ 48.182407] sock_sendmsg+0xdd/0x130 [ 48.186103] ___sys_sendmsg+0x806/0x930 [ 48.190061] ? copy_msghdr_from_user+0x430/0x430 [ 48.194809] ? _raw_spin_unlock_bh+0x31/0x40 [ 48.199201] ? release_sock+0x158/0x1c0 [ 48.203161] ? sctp_setsockopt+0x165/0x68a0 [ 48.207467] ? sctp_setsockopt_paddr_thresholds+0x540/0x540 [ 48.213687] ? lockdep_hardirqs_on+0x415/0x5d0 [ 48.218257] ? debug_lockdep_rcu_enabled+0x71/0xa0 [ 48.223195] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 48.228719] ? __fget_light+0x1a9/0x230 [ 48.232686] ? __fdget+0x1b/0x20 [ 48.236040] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 48.241562] __sys_sendmsg+0x105/0x1d0 [ 48.245434] ? __ia32_sys_shutdown+0x80/0x80 [ 48.249828] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 48.254562] ? do_syscall_64+0x26/0x610 [ 48.258519] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.263866] ? do_syscall_64+0x26/0x610 [ 48.267824] __x64_sys_sendmsg+0x78/0xb0 [ 48.271879] do_syscall_64+0x103/0x610 [ 48.275766] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 48.280940] RIP: 0033:0x440159 [ 48.284112] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 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 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 48.303000] RSP: 002b:00007fff6dc42478 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 48.310715] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440159 [ 48.317972] RDX: 0000000000000000 RSI: 000000002001afc8 RDI: 0000000000000003 [ 48.325227] RBP: 00000000006ca018 R08: 0000000000000002 R09: 00000000004002c8 [ 48.332479] R10: 0000000000000008 R11: 0000000000000246 R12: 00000000004019e0 [ 48.339753] R13: 0000000000401a70 R14: 0000000000000000 R15: 0000000000000000 [ 48.347011] Modules linked in: [ 48.350917] ---[ end trace 2adc24ab18025436 ]--- [ 48.355706] RIP: 0010:sctp_sched_rr_dequeue+0xd3/0x170 [ 48.360972] Code: ea 03 80 3c 02 00 0f 85 a2 00 00 00 48 8b 5b 08 e8 52 22 ee fa 48 8d 7b 30 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 53 4c 8b 6b 30 4c 89 e7 49 83 ed 18 4c 89 ee e8 b4 [ 48.379907] RSP: 0018:ffff88809316f040 EFLAGS: 00010206 [ 48.385291] RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff86799d9f [ 48.392550] RDX: 0000000000000006 RSI: ffffffff8681941e RDI: 0000000000000030 [ 48.399859] RBP: ffff88809316f058 R08: ffff888092b9c3c0 R09: 0000000000000002 [ 48.407457] R10: ffffed1015d05bcf R11: ffff8880ae82de7b R12: ffff888087178760 [ 48.414851] R13: ffff888087178040 R14: dffffc0000000000 R15: ffff88809316f198 [ 48.422119] FS: 000000000201d880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 [ 48.430373] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 48.436268] CR2: 0000000020000080 CR3: 000000009540d000 CR4: 00000000001406f0 [ 48.443553] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 48.450821] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 48.458301] Kernel panic - not syncing: Fatal exception [ 48.464379] Kernel Offset: disabled [ 48.467999] Rebooting in 86400 seconds..