[ OK ] Started getty on tty2-tty6 if dbus and logind are not available. [ OK ] Found device /dev/ttyS0. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty6. [ OK ] Started Getty on tty5. [ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Reached target Login Prompts. [ OK ] Started OpenBSD Secure Shell server. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.57' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 29.965862] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 29.974419] in_atomic(): 1, irqs_disabled(): 1, pid: 8073, name: syz-executor914 [ 29.981951] 3 locks held by syz-executor914/8073: [ 29.986767] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 29.995712] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 30.005594] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 30.014084] irq event stamp: 954 [ 30.017429] hardirqs last enabled at (953): [] do_syscall_64+0x4c/0x640 [ 30.025808] hardirqs last disabled at (954): [] _raw_spin_lock_irq+0x35/0x80 [ 30.034535] softirqs last enabled at (778): [] __do_softirq+0x68b/0x9ff [ 30.042915] softirqs last disabled at (755): [] irq_exit+0x193/0x240 [ 30.050942] Preemption disabled at: [ 30.050947] [< (null)>] (null) [ 30.059364] CPU: 1 PID: 8073 Comm: syz-executor914 Not tainted 4.14.231-syzkaller #0 [ 30.067230] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.076575] Call Trace: [ 30.079170] dump_stack+0x1b2/0x281 [ 30.082778] ___might_sleep.cold+0x235/0x250 [ 30.087167] do_con_write+0xd0/0x19b0 [ 30.090965] ? resched_curr+0xc7/0x360 [ 30.094850] ? n_hdlc_buf_get+0x194/0x220 [ 30.098983] ? lock_acquire+0x170/0x3f0 [ 30.102937] ? lock_downgrade+0x740/0x740 [ 30.107061] ? do_con_trol+0x51e0/0x51e0 [ 30.111103] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 30.116183] con_write+0x21/0xa0 [ 30.119525] ? con_put_char+0xa0/0xa0 [ 30.123351] n_hdlc_send_frames+0x241/0x410 [ 30.127653] n_hdlc_tty_wakeup+0x95/0xb0 [ 30.131701] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 30.135914] tty_wakeup+0xc3/0xf0 [ 30.139346] ? insert_char+0x280/0x280 [ 30.143220] __start_tty+0x10b/0x140 [ 30.146913] n_tty_ioctl_helper+0x2f8/0x350 [ 30.151258] n_hdlc_tty_ioctl+0xd4/0x300 [ 30.155296] tty_ioctl+0x5af/0x13c0 [ 30.158915] ? n_hdlc_tty_wakeup+0xb0/0xb0 [ 30.163140] ? tty_fasync+0x2c0/0x2c0 [ 30.166923] ? lock_acquire+0x170/0x3f0 [ 30.170895] ? lock_downgrade+0x740/0x740 [ 30.175025] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 30.180123] ? debug_check_no_obj_freed+0x2c0/0x680 [ 30.185131] ? tty_fasync+0x2c0/0x2c0 [ 30.188914] do_vfs_ioctl+0x75a/0xff0 [ 30.192712] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 30.198140] ? ioctl_preallocate+0x1a0/0x1a0 [ 30.202549] ? kmem_cache_free+0x23a/0x2b0 [ 30.206781] ? putname+0xcd/0x110 [ 30.210272] ? do_sys_open+0x208/0x410 [ 30.214156] ? filp_open+0x60/0x60 [ 30.217743] ? security_file_ioctl+0x83/0xb0 [ 30.222133] SyS_ioctl+0x7f/0xb0 [ 30.225478] ? do_vfs_ioctl+0xff0/0xff0 [ 30.229431] do_syscall_64+0x1d5/0x640 [ 30.233301] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 30.238515] RIP: 0033:0x440009 [ 30.241684] RSP: 002b:00007ffc6123e598 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 30.249368] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 [ 30.256620] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 executing program executing program executing program executing program executing program executing program executing program [ 30.263870] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 30.271153] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000074db [ 30.278422] R13: 00007ffc6123e5ac R14: 00007ffc6123e5c0 R15: 00007ffc6123e5b0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 31.367572] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 31.375985] in_atomic(): 1, irqs_disabled(): 1, pid: 8235, name: syz-executor914 [ 31.383534] 3 locks held by syz-executor914/8235: [ 31.388364] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 31.397296] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 31.407166] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 31.415691] irq event stamp: 788 [ 31.419057] hardirqs last enabled at (787): [] do_syscall_64+0x4c/0x640 [ 31.427442] hardirqs last disabled at (788): [] _raw_spin_lock_irq+0x35/0x80 [ 31.436178] softirqs last enabled at (714): [] __do_softirq+0x68b/0x9ff [ 31.444559] softirqs last disabled at (345): [] irq_exit+0x193/0x240 [ 31.452587] Preemption disabled at: [ 31.452592] [< (null)>] (null) [ 31.461019] CPU: 1 PID: 8235 Comm: syz-executor914 Tainted: G W 4.14.231-syzkaller #0 [ 31.470135] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.479489] Call Trace: [ 31.482065] dump_stack+0x1b2/0x281 [ 31.485696] ___might_sleep.cold+0x235/0x250 [ 31.490103] do_con_write+0xd0/0x19b0 [ 31.493883] ? update_curr+0x28d/0x670 [ 31.497775] ? n_hdlc_buf_get+0x194/0x220 [ 31.501920] ? lock_acquire+0x170/0x3f0 [ 31.505881] ? lock_downgrade+0x740/0x740 [ 31.510024] ? do_con_trol+0x51e0/0x51e0 [ 31.514097] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 31.519178] con_write+0x21/0xa0 [ 31.522536] ? con_put_char+0xa0/0xa0 [ 31.526332] n_hdlc_send_frames+0x241/0x410 [ 31.530636] n_hdlc_tty_wakeup+0x95/0xb0 [ 31.534697] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 31.538962] tty_wakeup+0xc3/0xf0 [ 31.542394] ? insert_char+0x280/0x280 [ 31.546283] __start_tty+0x10b/0x140 [ 31.549974] n_tty_ioctl_helper+0x2f8/0x350 [ 31.554273] n_hdlc_tty_ioctl+0xd4/0x300 [ 31.558346] tty_ioctl+0x5af/0x13c0 [ 31.561970] ? n_hdlc_tty_wakeup+0xb0/0xb0 [ 31.566186] ? tty_fasync+0x2c0/0x2c0 [ 31.569964] ? lock_acquire+0x170/0x3f0 [ 31.573915] ? lock_downgrade+0x740/0x740 [ 31.578047] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 31.583156] ? debug_check_no_obj_freed+0x2c0/0x680 [ 31.588192] ? tty_fasync+0x2c0/0x2c0 [ 31.591982] do_vfs_ioctl+0x75a/0xff0 [ 31.595781] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 31.601228] ? ioctl_preallocate+0x1a0/0x1a0 [ 31.605651] ? kmem_cache_free+0x23a/0x2b0 [ 31.609863] ? putname+0xcd/0x110 [ 31.613294] ? do_sys_open+0x208/0x410 [ 31.617167] ? filp_open+0x60/0x60 [ 31.620707] ? security_file_ioctl+0x83/0xb0 [ 31.625091] SyS_ioctl+0x7f/0xb0 [ 31.628437] ? do_vfs_ioctl+0xff0/0xff0 [ 31.632390] do_syscall_64+0x1d5/0x640 [ 31.636256] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.641422] RIP: 0033:0x440009 [ 31.644603] RSP: 002b:00007ffc6123e598 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 31.652312] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 [ 31.659560] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 31.666821] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 31.674069] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000007a59 [ 31.681316] R13: 00007ffc6123e5ac R14: 00007ffc6123e5c0 R15: 00007ffc6123e5b0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 34.169098] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 34.177503] in_atomic(): 1, irqs_disabled(): 1, pid: 8613, name: syz-executor914 [ 34.185010] 3 locks held by syz-executor914/8613: [ 34.189932] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 34.198840] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 34.208700] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 34.217175] irq event stamp: 410 [ 34.220536] hardirqs last enabled at (409): [] do_syscall_64+0x4c/0x640 [ 34.228914] hardirqs last disabled at (410): [] _raw_spin_lock_irq+0x35/0x80 [ 34.237655] softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 [ 34.246643] softirqs last disabled at (0): [< (null)>] (null) [ 34.254151] Preemption disabled at: [ 34.254155] [< (null)>] (null) [ 34.262609] CPU: 1 PID: 8613 Comm: syz-executor914 Tainted: G W 4.14.231-syzkaller #0 [ 34.271681] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.281009] Call Trace: [ 34.283595] dump_stack+0x1b2/0x281 [ 34.287220] ___might_sleep.cold+0x235/0x250 [ 34.291607] do_con_write+0xd0/0x19b0 [ 34.295403] ? resched_curr+0xc7/0x360 [ 34.299265] ? n_hdlc_buf_get+0x194/0x220 [ 34.303391] ? lock_acquire+0x170/0x3f0 [ 34.307341] ? lock_downgrade+0x740/0x740 [ 34.311469] ? do_con_trol+0x51e0/0x51e0 [ 34.315514] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 34.320594] con_write+0x21/0xa0 [ 34.323953] ? con_put_char+0xa0/0xa0 [ 34.327729] n_hdlc_send_frames+0x241/0x410 [ 34.332030] n_hdlc_tty_wakeup+0x95/0xb0 [ 34.336082] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 34.340291] tty_wakeup+0xc3/0xf0 [ 34.343726] ? insert_char+0x280/0x280 [ 34.347593] __start_tty+0x10b/0x140 [ 34.351284] n_tty_ioctl_helper+0x2f8/0x350 [ 34.355684] n_hdlc_tty_ioctl+0xd4/0x300 [ 34.359724] tty_ioctl+0x5af/0x13c0 [ 34.363343] ? n_hdlc_tty_wakeup+0xb0/0xb0 [ 34.367578] ? tty_fasync+0x2c0/0x2c0 [ 34.371353] ? lock_acquire+0x170/0x3f0 [ 34.375315] ? lock_downgrade+0x740/0x740 [ 34.379451] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 34.384540] ? debug_check_no_obj_freed+0x2c0/0x680 [ 34.389531] ? tty_fasync+0x2c0/0x2c0 [ 34.393320] do_vfs_ioctl+0x75a/0xff0 [ 34.397113] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 34.402549] ? ioctl_preallocate+0x1a0/0x1a0 [ 34.406934] ? kmem_cache_free+0x23a/0x2b0 [ 34.411145] ? putname+0xcd/0x110 [ 34.414573] ? do_sys_open+0x208/0x410 executing program [ 34.418441] ? filp_open+0x60/0x60 [ 34.421972] ? security_file_ioctl+0x83/0xb0 [ 34.426369] SyS_ioctl+0x7f/0xb0 [ 34.429709] ? do_vfs_ioctl+0xff0/0xff0 [ 34.433682] do_syscall_64+0x1d5/0x640 [ 34.437564] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 34.442727] RIP: 0033:0x440009 [ 34.445906] RSP: 002b:00007ffc6123e598 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 34.453600] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 [ 34.460859] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 executing program executing program executing program executing program executing program executing program executing program executing program [ 34.468110] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 34.475369] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000008559 [ 34.482613] R13: 00007ffc6123e5ac R14: 00007ffc6123e5c0 R15: 00007ffc6123e5b0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 35.367831] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 35.376268] in_atomic(): 1, irqs_disabled(): 1, pid: 8741, name: syz-executor914 [ 35.383776] 3 locks held by syz-executor914/8741: [ 35.388590] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 35.397538] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 35.407400] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 35.415890] irq event stamp: 414 [ 35.419243] hardirqs last enabled at (413): [] do_syscall_64+0x4c/0x640 [ 35.427620] hardirqs last disabled at (414): [] _raw_spin_lock_irq+0x35/0x80 [ 35.436346] softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 [ 35.445327] softirqs last disabled at (0): [< (null)>] (null) [ 35.452829] Preemption disabled at: [ 35.452833] [< (null)>] (null) [ 35.461244] CPU: 0 PID: 8741 Comm: syz-executor914 Tainted: G W 4.14.231-syzkaller #0 [ 35.470323] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.479649] Call Trace: [ 35.482216] dump_stack+0x1b2/0x281 [ 35.485851] ___might_sleep.cold+0x235/0x250 [ 35.490250] do_con_write+0xd0/0x19b0 [ 35.494029] ? resched_curr+0xc7/0x360 [ 35.497894] ? n_hdlc_buf_get+0x194/0x220 [ 35.502135] ? lock_acquire+0x170/0x3f0 [ 35.506100] ? lock_downgrade+0x740/0x740 [ 35.510239] ? do_con_trol+0x51e0/0x51e0 [ 35.514277] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 35.519356] con_write+0x21/0xa0 [ 35.522697] ? con_put_char+0xa0/0xa0 [ 35.526470] n_hdlc_send_frames+0x241/0x410 [ 35.530780] n_hdlc_tty_wakeup+0x95/0xb0 [ 35.534814] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 35.539037] tty_wakeup+0xc3/0xf0 [ 35.542482] ? insert_char+0x280/0x280 [ 35.546344] __start_tty+0x10b/0x140 [ 35.550032] n_tty_ioctl_helper+0x2f8/0x350 [ 35.554328] n_hdlc_tty_ioctl+0xd4/0x300 [ 35.558364] tty_ioctl+0x5af/0x13c0 [ 35.561966] ? n_hdlc_tty_wakeup+0xb0/0xb0 [ 35.566176] ? tty_fasync+0x2c0/0x2c0 [ 35.569949] ? lock_acquire+0x170/0x3f0 [ 35.573913] ? lock_downgrade+0x740/0x740 [ 35.578040] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 35.583118] ? debug_check_no_obj_freed+0x2c0/0x680 [ 35.588109] ? tty_fasync+0x2c0/0x2c0 [ 35.591883] do_vfs_ioctl+0x75a/0xff0 [ 35.595660] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 35.601110] ? ioctl_preallocate+0x1a0/0x1a0 [ 35.605496] ? kmem_cache_free+0x23a/0x2b0 [ 35.609707] ? putname+0xcd/0x110 [ 35.613135] ? do_sys_open+0x208/0x410 [ 35.617013] ? filp_open+0x60/0x60 [ 35.620530] ? security_file_ioctl+0x83/0xb0 [ 35.624912] SyS_ioctl+0x7f/0xb0 [ 35.628253] ? do_vfs_ioctl+0xff0/0xff0 [ 35.632204] do_syscall_64+0x1d5/0x640 [ 35.636084] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 35.641248] RIP: 0033:0x440009 [ 35.644427] RSP: 002b:00007ffc6123e598 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 35.652111] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 [ 35.659356] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 executing program executing program executing program executing program executing program executing program executing program executing program [ 35.666598] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 35.673869] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000089dd [ 35.681140] R13: 00007ffc6123e5ac R14: 00007ffc6123e5c0 R15: 00007ffc6123e5b0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 36.797054] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 36.805466] in_atomic(): 1, irqs_disabled(): 1, pid: 8906, name: syz-executor914 [ 36.812975] 3 locks held by syz-executor914/8906: [ 36.817788] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 36.826700] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 36.836578] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 36.845050] irq event stamp: 592 [ 36.848393] hardirqs last enabled at (591): [] do_syscall_64+0x4c/0x640 [ 36.856785] hardirqs last disabled at (592): [] _raw_spin_lock_irq+0x35/0x80 [ 36.865508] softirqs last enabled at (554): [] __do_softirq+0x68b/0x9ff [ 36.873885] softirqs last disabled at (545): [] irq_exit+0x193/0x240 [ 36.881924] Preemption disabled at: [ 36.881928] [< (null)>] (null) [ 36.890353] CPU: 1 PID: 8906 Comm: syz-executor914 Tainted: G W 4.14.231-syzkaller #0 [ 36.899440] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.908782] Call Trace: [ 36.911369] dump_stack+0x1b2/0x281 [ 36.915006] ___might_sleep.cold+0x235/0x250 [ 36.919512] do_con_write+0xd0/0x19b0 [ 36.923343] ? resched_curr+0xc7/0x360 [ 36.927220] ? n_hdlc_buf_get+0x194/0x220 [ 36.931386] ? lock_acquire+0x170/0x3f0 [ 36.935351] ? lock_downgrade+0x740/0x740 [ 36.939493] ? do_con_trol+0x51e0/0x51e0 [ 36.943553] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 36.948695] con_write+0x21/0xa0 [ 36.952040] ? con_put_char+0xa0/0xa0 [ 36.955819] n_hdlc_send_frames+0x241/0x410 [ 36.960260] n_hdlc_tty_wakeup+0x95/0xb0 [ 36.964317] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 36.968532] tty_wakeup+0xc3/0xf0 [ 36.971965] ? insert_char+0x280/0x280 [ 36.975830] __start_tty+0x10b/0x140 [ 36.979526] n_tty_ioctl_helper+0x2f8/0x350 [ 36.983842] n_hdlc_tty_ioctl+0xd4/0x300 [ 36.987883] tty_ioctl+0x5af/0x13c0 [ 36.991488] ? n_hdlc_tty_wakeup+0xb0/0xb0 [ 36.995697] ? tty_fasync+0x2c0/0x2c0 [ 36.999489] ? lock_acquire+0x170/0x3f0 [ 37.003454] ? lock_downgrade+0x740/0x740 [ 37.007595] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 37.012674] ? debug_check_no_obj_freed+0x2c0/0x680 [ 37.017698] ? tty_fasync+0x2c0/0x2c0 [ 37.021475] do_vfs_ioctl+0x75a/0xff0 [ 37.025268] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 37.030694] ? ioctl_preallocate+0x1a0/0x1a0 [ 37.035092] ? kmem_cache_free+0x23a/0x2b0 [ 37.039302] ? putname+0xcd/0x110 [ 37.042743] ? do_sys_open+0x208/0x410 [ 37.046604] ? filp_open+0x60/0x60 [ 37.050133] ? security_file_ioctl+0x83/0xb0 [ 37.054514] SyS_ioctl+0x7f/0xb0 [ 37.057871] ? do_vfs_ioctl+0xff0/0xff0 [ 37.061822] do_syscall_64+0x1d5/0x640 [ 37.065698] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 37.070888] RIP: 0033:0x440009 [ 37.074051] RSP: 002b:00007ffc6123e598 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 37.081761] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 [ 37.089022] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 37.096265] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 37.103511] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000008f85 [ 37.110796] R13: 00007ffc6123e5ac R14: 00007ffc6123e5c0 R15: 00007ffc6123e5b0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 38.561482] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 38.570048] in_atomic(): 1, irqs_disabled(): 1, pid: 9121, name: syz-executor914 [ 38.577554] 3 locks held by syz-executor914/9121: [ 38.582383] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 38.591310] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 38.601242] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 38.609716] irq event stamp: 404 [ 38.613059] hardirqs last enabled at (403): [] do_syscall_64+0x4c/0x640 [ 38.621437] hardirqs last disabled at (404): [] _raw_spin_lock_irq+0x35/0x80 [ 38.630175] softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 [ 38.639161] softirqs last disabled at (0): [< (null)>] (null) [ 38.646665] Preemption disabled at: [ 38.646669] [< (null)>] (null) [ 38.655100] CPU: 0 PID: 9121 Comm: syz-executor914 Tainted: G W 4.14.231-syzkaller #0 [ 38.664165] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.673506] Call Trace: [ 38.676075] dump_stack+0x1b2/0x281 [ 38.679679] ___might_sleep.cold+0x235/0x250 [ 38.684065] do_con_write+0xd0/0x19b0 [ 38.687844] ? resched_curr+0xc7/0x360 [ 38.691706] ? n_hdlc_buf_get+0x194/0x220 [ 38.695834] ? lock_acquire+0x170/0x3f0 [ 38.699800] ? lock_downgrade+0x740/0x740 [ 38.704024] ? do_con_trol+0x51e0/0x51e0 [ 38.708065] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 38.713142] con_write+0x21/0xa0 [ 38.716511] ? con_put_char+0xa0/0xa0 [ 38.720288] n_hdlc_send_frames+0x241/0x410 [ 38.724602] n_hdlc_tty_wakeup+0x95/0xb0 [ 38.728723] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 38.732982] tty_wakeup+0xc3/0xf0 [ 38.736452] ? insert_char+0x280/0x280 [ 38.740315] __start_tty+0x10b/0x140 [ 38.744031] n_tty_ioctl_helper+0x2f8/0x350 [ 38.748330] n_hdlc_tty_ioctl+0xd4/0x300 [ 38.752412] tty_ioctl+0x5af/0x13c0 [ 38.756020] ? n_hdlc_tty_wakeup+0xb0/0xb0 [ 38.760228] ? tty_fasync+0x2c0/0x2c0 [ 38.764005] ? lock_acquire+0x170/0x3f0 [ 38.767957] ? lock_downgrade+0x740/0x740 [ 38.772084] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 38.777162] ? debug_check_no_obj_freed+0x2c0/0x680 [ 38.782178] ? tty_fasync+0x2c0/0x2c0 [ 38.786063] do_vfs_ioctl+0x75a/0xff0 [ 38.789857] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 38.795280] ? ioctl_preallocate+0x1a0/0x1a0 [ 38.799670] ? kmem_cache_free+0x23a/0x2b0 [ 38.803883] ? putname+0xcd/0x110 [ 38.807311] ? do_sys_open+0x208/0x410 [ 38.811189] ? filp_open+0x60/0x60 [ 38.814707] ? security_file_ioctl+0x83/0xb0 [ 38.819089] SyS_ioctl+0x7f/0xb0 [ 38.822452] ? do_vfs_ioctl+0xff0/0xff0 [ 38.826404] do_syscall_64+0x1d5/0x640 [ 38.830271] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 38.835437] RIP: 0033:0x440009 [ 38.838602] RSP: 002b:00007ffc6123e598 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 38.846285] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 [ 38.853531] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 38.860803] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 38.868074] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000009669 [ 38.875317] R13: 00007ffc6123e5ac R14: 00007ffc6123e5c0 R15: 00007ffc6123e5b0 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 39.804440] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 39.812876] in_atomic(): 1, irqs_disabled(): 1, pid: 9254, name: syz-executor914 [ 39.820429] 3 locks held by syz-executor914/9254: [ 39.825262] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 39.834175] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 39.844066] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 39.852568] irq event stamp: 468 [ 39.855927] hardirqs last enabled at (467): [] do_syscall_64+0x4c/0x640 [ 39.864305] hardirqs last disabled at (468): [] _raw_spin_lock_irq+0x35/0x80 [ 39.873031] softirqs last enabled at (210): [] __do_softirq+0x68b/0x9ff [ 39.881410] softirqs last disabled at (185): [] irq_exit+0x193/0x240 [ 39.889436] Preemption disabled at: [ 39.889440] [< (null)>] (null) [ 39.897868] CPU: 1 PID: 9254 Comm: syz-executor914 Tainted: G W 4.14.231-syzkaller #0 [ 39.906939] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.916278] Call Trace: [ 39.918852] dump_stack+0x1b2/0x281 [ 39.922462] ___might_sleep.cold+0x235/0x250 [ 39.926872] do_con_write+0xd0/0x19b0 [ 39.930662] ? resched_curr+0xc7/0x360 [ 39.934535] ? n_hdlc_buf_get+0x194/0x220 [ 39.938675] ? lock_acquire+0x170/0x3f0 [ 39.942632] ? lock_downgrade+0x740/0x740 [ 39.946767] ? do_con_trol+0x51e0/0x51e0 [ 39.950810] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 39.955892] con_write+0x21/0xa0 [ 39.959243] ? con_put_char+0xa0/0xa0 [ 39.963023] n_hdlc_send_frames+0x241/0x410 [ 39.967329] n_hdlc_tty_wakeup+0x95/0xb0 [ 39.971369] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 39.975582] tty_wakeup+0xc3/0xf0 [ 39.979022] ? insert_char+0x280/0x280 [ 39.982888] __start_tty+0x10b/0x140 [ 39.986596] n_tty_ioctl_helper+0x2f8/0x350 [ 39.990895] n_hdlc_tty_ioctl+0xd4/0x300 [ 39.994968] tty_ioctl+0x5af/0x13c0 [ 39.998601] ? n_hdlc_tty_wakeup+0xb0/0xb0