Warning: Permanently added '10.128.0.191' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 30.237846] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 30.247188] in_atomic(): 1, irqs_disabled(): 1, pid: 7946, name: syz-executor665 [ 30.255010] 3 locks held by syz-executor665/7946: [ 30.259858] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 30.268865] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 30.278739] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 30.287224] irq event stamp: 372 [ 30.290790] hardirqs last enabled at (371): [] do_syscall_64+0x4c/0x640 [ 30.299211] hardirqs last disabled at (372): [] _raw_spin_lock_irq+0x35/0x80 [ 30.307939] softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 [ 30.316923] softirqs last disabled at (0): [< (null)>] (null) [ 30.324475] Preemption disabled at: [ 30.324481] [< (null)>] (null) [ 30.332956] CPU: 1 PID: 7946 Comm: syz-executor665 Not tainted 4.14.226-syzkaller #0 [ 30.340825] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 30.350178] Call Trace: [ 30.352767] dump_stack+0x1b2/0x281 [ 30.356386] ___might_sleep.cold+0x235/0x250 [ 30.360787] do_con_write+0xd0/0x19b0 [ 30.364669] ? resched_curr+0xc7/0x360 [ 30.368555] ? n_hdlc_buf_get+0x194/0x220 [ 30.372683] ? lock_acquire+0x170/0x3f0 [ 30.376641] ? lock_downgrade+0x740/0x740 [ 30.380780] ? do_con_trol+0x51e0/0x51e0 [ 30.384825] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 30.390425] con_write+0x21/0xa0 [ 30.393790] ? con_put_char+0xa0/0xa0 [ 30.397573] n_hdlc_send_frames+0x241/0x410 [ 30.401879] n_hdlc_tty_wakeup+0x95/0xb0 [ 30.405958] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 30.410178] tty_wakeup+0xc3/0xf0 [ 30.413619] ? insert_char+0x280/0x280 [ 30.417485] __start_tty+0x10b/0x140 [ 30.421341] n_tty_ioctl_helper+0x2f8/0x350 [ 30.425673] n_hdlc_tty_ioctl+0xd4/0x300 [ 30.429718] tty_ioctl+0x5af/0x13c0 [ 30.433337] ? n_hdlc_tty_wakeup+0xb0/0xb0 [ 30.437572] ? tty_fasync+0x2c0/0x2c0 [ 30.441976] ? lock_acquire+0x170/0x3f0 [ 30.445949] ? lock_downgrade+0x740/0x740 [ 30.450110] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 30.455716] ? debug_check_no_obj_freed+0x2c0/0x680 [ 30.460737] ? tty_fasync+0x2c0/0x2c0 [ 30.464533] do_vfs_ioctl+0x75a/0xff0 [ 30.468332] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 30.473912] ? ioctl_preallocate+0x1a0/0x1a0 [ 30.478390] ? kmem_cache_free+0x23a/0x2b0 [ 30.482901] ? putname+0xcd/0x110 [ 30.486343] ? do_sys_open+0x208/0x410 [ 30.490233] ? filp_open+0x60/0x60 [ 30.493761] ? security_file_ioctl+0x83/0xb0 [ 30.498150] SyS_ioctl+0x7f/0xb0 [ 30.501511] ? do_vfs_ioctl+0xff0/0xff0 [ 30.505467] do_syscall_64+0x1d5/0x640 [ 30.509343] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 30.514543] RIP: 0033:0x440009 [ 30.517826] RSP: 002b:00007ffd63cdcce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 30.525519] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 30.533035] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 [ 30.544205] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 30.551479] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000403550 [ 30.558727] R13: 0000000000000000 R14: 00007ffd63cdcd10 R15: 00007ffd63cdcd00 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.239451] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 31.247944] in_atomic(): 1, irqs_disabled(): 1, pid: 8058, name: syz-executor665 [ 31.255465] 3 locks held by syz-executor665/8058: [ 31.260285] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 31.269287] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 31.279340] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 31.287921] irq event stamp: 376 [ 31.291294] hardirqs last enabled at (375): [] do_syscall_64+0x4c/0x640 [ 31.299869] hardirqs last disabled at (376): [] _raw_spin_lock_irq+0x35/0x80 [ 31.308665] softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 [ 31.318555] softirqs last disabled at (0): [< (null)>] (null) [ 31.326180] Preemption disabled at: [ 31.326185] [< (null)>] (null) [ 31.334630] CPU: 1 PID: 8058 Comm: syz-executor665 Tainted: G W 4.14.226-syzkaller #0 [ 31.343699] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.354333] Call Trace: [ 31.356907] dump_stack+0x1b2/0x281 [ 31.360698] ___might_sleep.cold+0x235/0x250 [ 31.365099] do_con_write+0xd0/0x19b0 [ 31.368887] ? resched_curr+0xc7/0x360 [ 31.372779] ? n_hdlc_buf_get+0x194/0x220 [ 31.376919] ? lock_acquire+0x170/0x3f0 [ 31.380904] ? lock_downgrade+0x740/0x740 [ 31.385230] ? do_con_trol+0x51e0/0x51e0 [ 31.390912] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 31.396363] con_write+0x21/0xa0 [ 31.399723] ? con_put_char+0xa0/0xa0 [ 31.403509] n_hdlc_send_frames+0x241/0x410 [ 31.407838] n_hdlc_tty_wakeup+0x95/0xb0 [ 31.412070] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 31.416433] tty_wakeup+0xc3/0xf0 [ 31.419881] ? insert_char+0x280/0x280 [ 31.423865] __start_tty+0x10b/0x140 [ 31.427573] n_tty_ioctl_helper+0x2f8/0x350 [ 31.431907] n_hdlc_tty_ioctl+0xd4/0x300 [ 31.435973] tty_ioctl+0x5af/0x13c0 [ 31.439589] ? n_hdlc_tty_wakeup+0xb0/0xb0 [ 31.443805] ? tty_fasync+0x2c0/0x2c0 [ 31.447675] ? lock_acquire+0x170/0x3f0 [ 31.451640] ? lock_downgrade+0x740/0x740 [ 31.455780] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 31.460880] ? debug_check_no_obj_freed+0x2c0/0x680 [ 31.465897] ? tty_fasync+0x2c0/0x2c0 [ 31.469738] do_vfs_ioctl+0x75a/0xff0 [ 31.473529] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 31.478988] ? ioctl_preallocate+0x1a0/0x1a0 [ 31.483399] ? kmem_cache_free+0x23a/0x2b0 [ 31.487638] ? putname+0xcd/0x110 [ 31.491087] ? do_sys_open+0x208/0x410 [ 31.494954] ? filp_open+0x60/0x60 [ 31.498472] ? security_file_ioctl+0x83/0xb0 [ 31.502860] SyS_ioctl+0x7f/0xb0 [ 31.506205] ? do_vfs_ioctl+0xff0/0xff0 [ 31.510158] do_syscall_64+0x1d5/0x640 [ 31.514040] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.519232] RIP: 0033:0x440009 [ 31.522398] RSP: 002b:00007ffd63cdcce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 31.530104] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 executing program executing program executing program executing program executing program [ 31.537373] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 [ 31.544636] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 31.551883] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000007a0a [ 31.559156] R13: 00007ffd63cdccfc R14: 00007ffd63cdcd10 R15: 00007ffd63cdcd00 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 32.250689] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 32.259126] in_atomic(): 1, irqs_disabled(): 1, pid: 8155, name: syz-executor665 [ 32.266639] 3 locks held by syz-executor665/8155: [ 32.271484] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 32.280420] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 32.290428] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 32.298936] irq event stamp: 632 [ 32.302294] hardirqs last enabled at (631): [] do_syscall_64+0x4c/0x640 [ 32.310803] hardirqs last disabled at (632): [] _raw_spin_lock_irq+0x35/0x80 [ 32.319555] softirqs last enabled at (536): [] __do_softirq+0x68b/0x9ff [ 32.328320] softirqs last disabled at (513): [] irq_exit+0x193/0x240 [ 32.336584] Preemption disabled at: [ 32.336589] [< (null)>] (null) [ 32.345036] CPU: 0 PID: 8155 Comm: syz-executor665 Tainted: G W 4.14.226-syzkaller #0 [ 32.354107] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 32.363441] Call Trace: [ 32.366015] dump_stack+0x1b2/0x281 [ 32.369624] ___might_sleep.cold+0x235/0x250 [ 32.374010] do_con_write+0xd0/0x19b0 [ 32.377918] ? resched_curr+0xc7/0x360 [ 32.381783] ? n_hdlc_buf_get+0x194/0x220 [ 32.385908] ? lock_acquire+0x170/0x3f0 [ 32.389858] ? lock_downgrade+0x740/0x740 [ 32.393984] ? do_con_trol+0x51e0/0x51e0 [ 32.398142] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 32.403241] con_write+0x21/0xa0 [ 32.406605] ? con_put_char+0xa0/0xa0 [ 32.410383] n_hdlc_send_frames+0x241/0x410 [ 32.414687] n_hdlc_tty_wakeup+0x95/0xb0 [ 32.418729] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 32.422943] tty_wakeup+0xc3/0xf0 [ 32.426396] ? insert_char+0x280/0x280 [ 32.430292] __start_tty+0x10b/0x140 [ 32.434006] n_tty_ioctl_helper+0x2f8/0x350 [ 32.438309] n_hdlc_tty_ioctl+0xd4/0x300 [ 32.442439] tty_ioctl+0x5af/0x13c0 [ 32.446054] ? n_hdlc_tty_wakeup+0xb0/0xb0 [ 32.450287] ? tty_fasync+0x2c0/0x2c0 [ 32.454115] ? lock_acquire+0x170/0x3f0 [ 32.458088] ? lock_downgrade+0x740/0x740 [ 32.462222] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 32.467313] ? debug_check_no_obj_freed+0x2c0/0x680 [ 32.472315] ? tty_fasync+0x2c0/0x2c0 [ 32.477662] do_vfs_ioctl+0x75a/0xff0 [ 32.481449] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 32.486885] ? ioctl_preallocate+0x1a0/0x1a0 [ 32.491299] ? kmem_cache_free+0x23a/0x2b0 [ 32.495535] ? putname+0xcd/0x110 [ 32.499116] ? do_sys_open+0x208/0x410 [ 32.502992] ? filp_open+0x60/0x60 [ 32.506521] ? security_file_ioctl+0x83/0xb0 [ 32.510930] SyS_ioctl+0x7f/0xb0 [ 32.514278] ? do_vfs_ioctl+0xff0/0xff0 [ 32.518367] do_syscall_64+0x1d5/0x640 [ 32.522367] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 32.527542] RIP: 0033:0x440009 [ 32.530720] RSP: 002b:00007ffd63cdcce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 32.538413] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 executing program executing program executing program [ 32.545692] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 [ 32.552977] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 32.560233] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000007dc4 [ 32.567493] R13: 00007ffd63cdccfc R14: 00007ffd63cdcd10 R15: 00007ffd63cdcd00 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 33.883453] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 33.891875] in_atomic(): 1, irqs_disabled(): 1, pid: 8354, name: syz-executor665 [ 33.899399] 3 locks held by syz-executor665/8354: [ 33.904229] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 33.913154] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 33.923117] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 33.931616] irq event stamp: 506 [ 33.934966] hardirqs last enabled at (505): [] do_syscall_64+0x4c/0x640 [ 33.943347] hardirqs last disabled at (506): [] _raw_spin_lock_irq+0x35/0x80 [ 33.952082] softirqs last enabled at (422): [] __do_softirq+0x68b/0x9ff [ 33.960477] softirqs last disabled at (321): [] irq_exit+0x193/0x240 [ 33.968524] Preemption disabled at: [ 33.968528] [< (null)>] (null) [ 33.976984] CPU: 1 PID: 8354 Comm: syz-executor665 Tainted: G W 4.14.226-syzkaller #0 [ 33.986086] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.996404] Call Trace: [ 33.998979] dump_stack+0x1b2/0x281 [ 34.002627] ___might_sleep.cold+0x235/0x250 [ 34.007804] do_con_write+0xd0/0x19b0 [ 34.011782] ? resched_curr+0xc7/0x360 [ 34.016069] ? n_hdlc_buf_get+0x194/0x220 [ 34.020202] ? lock_acquire+0x170/0x3f0 [ 34.024331] ? lock_downgrade+0x740/0x740 [ 34.028581] ? do_con_trol+0x51e0/0x51e0 [ 34.032747] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 34.038069] con_write+0x21/0xa0 [ 34.041561] ? con_put_char+0xa0/0xa0 [ 34.045570] n_hdlc_send_frames+0x241/0x410 [ 34.050111] n_hdlc_tty_wakeup+0x95/0xb0 [ 34.054399] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 34.058647] tty_wakeup+0xc3/0xf0 [ 34.062113] ? insert_char+0x280/0x280 [ 34.065978] __start_tty+0x10b/0x140 [ 34.069689] n_tty_ioctl_helper+0x2f8/0x350 [ 34.074002] n_hdlc_tty_ioctl+0xd4/0x300 [ 34.078046] tty_ioctl+0x5af/0x13c0 [ 34.081765] ? n_hdlc_tty_wakeup+0xb0/0xb0 [ 34.086078] ? tty_fasync+0x2c0/0x2c0 [ 34.089974] ? lock_acquire+0x170/0x3f0 [ 34.093932] ? lock_downgrade+0x740/0x740 [ 34.098075] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 34.103287] ? debug_check_no_obj_freed+0x2c0/0x680 [ 34.108774] ? tty_fasync+0x2c0/0x2c0 [ 34.112676] do_vfs_ioctl+0x75a/0xff0 [ 34.116647] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 34.122384] ? ioctl_preallocate+0x1a0/0x1a0 [ 34.126978] ? kmem_cache_free+0x23a/0x2b0 [ 34.131394] ? putname+0xcd/0x110 [ 34.134845] ? do_sys_open+0x208/0x410 [ 34.138791] ? filp_open+0x60/0x60 [ 34.142327] ? security_file_ioctl+0x83/0xb0 [ 34.146804] SyS_ioctl+0x7f/0xb0 [ 34.150158] ? do_vfs_ioctl+0xff0/0xff0 [ 34.154130] do_syscall_64+0x1d5/0x640 [ 34.158277] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 34.163453] RIP: 0033:0x440009 [ 34.166707] RSP: 002b:00007ffd63cdcce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 34.174413] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 executing program executing program executing program executing program executing program executing program executing program executing program [ 34.181765] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 [ 34.189040] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 34.196499] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000008435 [ 34.203875] R13: 00007ffd63cdccfc R14: 00007ffd63cdcd10 R15: 00007ffd63cdcd00 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.401932] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 36.410364] in_atomic(): 1, irqs_disabled(): 1, pid: 8683, name: syz-executor665 [ 36.418003] 3 locks held by syz-executor665/8683: [ 36.423206] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 36.432268] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 36.442328] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 36.450830] irq event stamp: 458 [ 36.454197] hardirqs last enabled at (457): [] do_syscall_64+0x4c/0x640 [ 36.462604] hardirqs last disabled at (458): [] _raw_spin_lock_irq+0x35/0x80 [ 36.471356] softirqs last enabled at (432): [] __do_softirq+0x68b/0x9ff [ 36.479824] softirqs last disabled at (409): [] irq_exit+0x193/0x240 [ 36.488126] Preemption disabled at: [ 36.488132] [< (null)>] (null) [ 36.496717] CPU: 0 PID: 8683 Comm: syz-executor665 Tainted: G W 4.14.226-syzkaller #0 [ 36.505790] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 36.515141] Call Trace: [ 36.518510] dump_stack+0x1b2/0x281 [ 36.522145] ___might_sleep.cold+0x235/0x250 [ 36.526545] do_con_write+0xd0/0x19b0 [ 36.530380] ? resched_curr+0xc7/0x360 [ 36.534255] ? n_hdlc_buf_get+0x194/0x220 [ 36.538914] ? lock_acquire+0x170/0x3f0 [ 36.542870] ? lock_downgrade+0x740/0x740 [ 36.547040] ? do_con_trol+0x51e0/0x51e0 [ 36.551094] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 36.556194] con_write+0x21/0xa0 [ 36.559539] ? con_put_char+0xa0/0xa0 [ 36.563326] n_hdlc_send_frames+0x241/0x410 [ 36.567634] n_hdlc_tty_wakeup+0x95/0xb0 [ 36.571696] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 36.575915] tty_wakeup+0xc3/0xf0 [ 36.579785] ? insert_char+0x280/0x280 [ 36.583883] __start_tty+0x10b/0x140 [ 36.587583] n_tty_ioctl_helper+0x2f8/0x350 [ 36.591886] n_hdlc_tty_ioctl+0xd4/0x300 [ 36.595942] tty_ioctl+0x5af/0x13c0 [ 36.599546] ? n_hdlc_tty_wakeup+0xb0/0xb0 [ 36.603846] ? tty_fasync+0x2c0/0x2c0 [ 36.607621] ? lock_acquire+0x170/0x3f0 [ 36.611574] ? lock_downgrade+0x740/0x740 [ 36.615996] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 36.621086] ? debug_check_no_obj_freed+0x2c0/0x680 [ 36.626088] ? tty_fasync+0x2c0/0x2c0 [ 36.629880] do_vfs_ioctl+0x75a/0xff0 [ 36.633664] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 36.639363] ? ioctl_preallocate+0x1a0/0x1a0 [ 36.643770] ? kmem_cache_free+0x23a/0x2b0 [ 36.647987] ? putname+0xcd/0x110 [ 36.651421] ? do_sys_open+0x208/0x410 [ 36.655291] ? filp_open+0x60/0x60 [ 36.658814] ? security_file_ioctl+0x83/0xb0 [ 36.663206] SyS_ioctl+0x7f/0xb0 [ 36.666559] ? do_vfs_ioctl+0xff0/0xff0 [ 36.670524] do_syscall_64+0x1d5/0x640 [ 36.674402] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 36.679590] RIP: 0033:0x440009 [ 36.682762] RSP: 002b:00007ffd63cdcce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 36.690536] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 executing program executing program executing program [ 36.697794] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 [ 36.705090] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 36.712357] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000008e1f [ 36.719611] R13: 00007ffd63cdccfc R14: 00007ffd63cdcd10 R15: 00007ffd63cdcd00 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.061284] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 38.069913] in_atomic(): 1, irqs_disabled(): 1, pid: 8878, name: syz-executor665 [ 38.077441] 3 locks held by syz-executor665/8878: [ 38.082381] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 38.091412] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 38.101957] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 38.110647] irq event stamp: 466 [ 38.114328] hardirqs last enabled at (465): [] do_syscall_64+0x4c/0x640 [ 38.122818] hardirqs last disabled at (466): [] _raw_spin_lock_irq+0x35/0x80 [ 38.131689] softirqs last enabled at (332): [] __do_softirq+0x68b/0x9ff [ 38.140673] softirqs last disabled at (291): [] irq_exit+0x193/0x240 [ 38.148735] Preemption disabled at: [ 38.148741] [< (null)>] (null) [ 38.157201] CPU: 0 PID: 8878 Comm: syz-executor665 Tainted: G W 4.14.226-syzkaller #0 [ 38.166536] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.175881] Call Trace: [ 38.178662] dump_stack+0x1b2/0x281 [ 38.182280] ___might_sleep.cold+0x235/0x250 [ 38.186678] do_con_write+0xd0/0x19b0 [ 38.190477] ? resched_curr+0xc7/0x360 [ 38.194369] ? n_hdlc_buf_get+0x194/0x220 [ 38.198529] ? lock_acquire+0x170/0x3f0 [ 38.202491] ? lock_downgrade+0x740/0x740 [ 38.206621] ? do_con_trol+0x51e0/0x51e0 [ 38.210806] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 38.216245] con_write+0x21/0xa0 [ 38.219656] ? con_put_char+0xa0/0xa0 [ 38.223829] n_hdlc_send_frames+0x241/0x410 [ 38.228207] n_hdlc_tty_wakeup+0x95/0xb0 [ 38.232772] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 38.236990] tty_wakeup+0xc3/0xf0 [ 38.240969] ? insert_char+0x280/0x280 [ 38.244830] __start_tty+0x10b/0x140 [ 38.248533] n_tty_ioctl_helper+0x2f8/0x350 [ 38.252858] n_hdlc_tty_ioctl+0xd4/0x300 [ 38.256912] tty_ioctl+0x5af/0x13c0 [ 38.260543] ? n_hdlc_tty_wakeup+0xb0/0xb0 [ 38.265101] ? tty_fasync+0x2c0/0x2c0 [ 38.268900] ? lock_acquire+0x170/0x3f0 [ 38.273180] ? lock_downgrade+0x740/0x740 [ 38.277711] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 38.283069] ? debug_check_no_obj_freed+0x2c0/0x680 [ 38.288523] ? tty_fasync+0x2c0/0x2c0 [ 38.292349] do_vfs_ioctl+0x75a/0xff0 [ 38.296698] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 38.302330] ? ioctl_preallocate+0x1a0/0x1a0 [ 38.306839] ? kmem_cache_free+0x23a/0x2b0 [ 38.311521] ? putname+0xcd/0x110 [ 38.314969] ? do_sys_open+0x208/0x410 [ 38.318843] ? filp_open+0x60/0x60 [ 38.322375] ? security_file_ioctl+0x83/0xb0 [ 38.326787] SyS_ioctl+0x7f/0xb0 [ 38.330201] ? do_vfs_ioctl+0xff0/0xff0 [ 38.334527] do_syscall_64+0x1d5/0x640 [ 38.338850] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 38.345979] RIP: 0033:0x440009 [ 38.349147] RSP: 002b:00007ffd63cdcce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 executing program executing program executing program executing program executing program executing program [ 38.356856] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 [ 38.364113] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 [ 38.371468] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 38.378728] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000009483 [ 38.386091] R13: 00007ffd63cdccfc R14: 00007ffd63cdcd10 R15: 00007ffd63cdcd00 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.668929] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2228 [ 39.677500] in_atomic(): 1, irqs_disabled(): 1, pid: 9066, name: syz-executor665 [ 39.685033] 3 locks held by syz-executor665/9066: [ 39.689949] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 39.698869] #1: (&(&tty->flow_lock)->rlock){....}, at: [] n_tty_ioctl_helper+0xa0/0x350 [ 39.709181] #2: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref+0x1b/0x80 [ 39.717935] irq event stamp: 610 [ 39.721305] hardirqs last enabled at (609): [] do_syscall_64+0x4c/0x640 [ 39.729896] hardirqs last disabled at (610): [] _raw_spin_lock_irq+0x35/0x80 [ 39.738870] softirqs last enabled at (436): [] __do_softirq+0x68b/0x9ff [ 39.747277] softirqs last disabled at (381): [] irq_exit+0x193/0x240 [ 39.755312] Preemption disabled at: [ 39.755318] [< (null)>] (null) [ 39.763889] CPU: 0 PID: 9066 Comm: syz-executor665 Tainted: G W 4.14.226-syzkaller #0 [ 39.772978] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.782358] Call Trace: [ 39.784933] dump_stack+0x1b2/0x281 [ 39.788622] ___might_sleep.cold+0x235/0x250 [ 39.793095] do_con_write+0xd0/0x19b0 [ 39.797518] ? update_curr+0x28d/0x670 [ 39.801388] ? n_hdlc_buf_get+0x194/0x220 [ 39.805638] ? lock_acquire+0x170/0x3f0 [ 39.809610] ? lock_downgrade+0x740/0x740 [ 39.813735] ? do_con_trol+0x51e0/0x51e0 [ 39.817874] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 39.823138] con_write+0x21/0xa0 [ 39.826770] ? con_put_char+0xa0/0xa0 [ 39.830737] n_hdlc_send_frames+0x241/0x410 [ 39.835107] n_hdlc_tty_wakeup+0x95/0xb0 [ 39.839179] ? n_hdlc_tty_open+0x4d0/0x4d0 [ 39.843871] tty_wakeup+0xc3/0xf0 [ 39.847312] ? insert_char+0x280/0x280 [ 39.851630] __start_tty+0x10b/0x140 [ 39.855423] n_tty_ioctl_helper+0x2f8/0x350 [ 39.859753] n_hdlc_tty_ioctl+0xd4/0x300 [ 39.863798] tty_ioctl+0x5af/0x13c0 [ 39.867609] ? n_hdlc_tty_wakeup+0xb0/0xb0 [ 39.871848] ? tty_fasync+0x2c0/0x2c0 [ 39.875629] ? lock_acquire+0x170/0x3f0 [ 39.879842] ? lock_downgrade+0x740/0x740 [ 39.883972] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 39.889063] ? debug_check_no_obj_freed+0x2c0/0x680 [ 39.894605] ? tty_fasync+0x2c0/0x2c0 [ 39.898385] do_vfs_ioctl+0x75a/0xff0 [ 39.902343] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 39.907788] ? ioctl_preallocate+0x1a0/0x1a0 [ 39.912206] ? kmem_cache_free+0x23a/0x2b0 [ 39.916554] ? putname+0xcd/0x110 [ 39.920847] ? do_sys_open+0x208/0x410 [ 39.924742] ? filp_open+0x60/0x60 [ 39.928283] ? security_file_ioctl+0x83/0xb0 [ 39.932685] SyS_ioctl+0x7f/0xb0 [ 39.936182] ? do_vfs_ioctl+0xff0/0xff0 [ 39.940285] do_syscall_64+0x1d5/0x640 [ 39.944511] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 39.949719] RIP: 0033:0x440009 [ 39.953930] RSP: 002b:00007ffd63cdcce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 39.961910] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 executing program executing program executing program executing program executing program [ 39.969204] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 [ 39.976479] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 39.983737] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000009ac3 [ 39.991013] R13: 00007ffd63cdccfc R14: 00007ffd63cdcd10 R15: 00007ffd63cdcd00 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program