Warning: Permanently added '10.128.0.151' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 75.253655][ T8449] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2460 [ 75.263842][ T8449] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 8449, name: syz-executor236 [ 75.273319][ T8449] 3 locks held by syz-executor236/8449: [ 75.278858][ T8449] #0: ffff8880202f4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 [ 75.288807][ T8449] #1: ffff8880202f43f8 (&tty->flow_lock){....}-{2:2}, at: n_tty_ioctl_helper+0xcc/0x3a0 [ 75.298753][ T8449] #2: ffff8880202f4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref+0x1d/0x80 [ 75.308472][ T8449] irq event stamp: 1246 [ 75.312737][ T8449] hardirqs last enabled at (1245): [] kasan_quarantine_put+0xf5/0x210 [ 75.322660][ T8449] hardirqs last disabled at (1246): [] _raw_spin_lock_irq+0x41/0x50 [ 75.332611][ T8449] softirqs last enabled at (1098): [] __irq_exit_rcu+0x136/0x200 [ 75.342282][ T8449] softirqs last disabled at (1043): [] __irq_exit_rcu+0x136/0x200 [ 75.351696][ T8449] Preemption disabled at: [ 75.351711][ T8449] [<0000000000000000>] 0x0 [ 75.360605][ T8449] CPU: 1 PID: 8449 Comm: syz-executor236 Not tainted 5.13.0-rc5-syzkaller #0 [ 75.369784][ T8449] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 75.380137][ T8449] Call Trace: [ 75.383629][ T8449] dump_stack+0x141/0x1d7 [ 75.388199][ T8449] ___might_sleep.cold+0x1f1/0x237 [ 75.393464][ T8449] console_lock+0x19/0x80 [ 75.397911][ T8449] do_con_write+0x10f/0x1e60 [ 75.403075][ T8449] ? n_hdlc_buf_get+0x1a1/0x230 [ 75.407964][ T8449] ? lock_downgrade+0x6e0/0x6e0 [ 75.412848][ T8449] ? do_con_trol+0x54c0/0x54c0 [ 75.417842][ T8449] ? n_hdlc_send_frames+0xf0/0x490 [ 75.423003][ T8449] ? lock_downgrade+0x6e0/0x6e0 [ 75.427882][ T8449] ? do_raw_spin_unlock+0x171/0x230 [ 75.433106][ T8449] ? con_put_char+0xe0/0xe0 [ 75.437635][ T8449] con_write+0x21/0x40 [ 75.441807][ T8449] n_hdlc_send_frames+0x24b/0x490 [ 75.446859][ T8449] ? n_hdlc_send_frames+0x490/0x490 [ 75.452076][ T8449] tty_wakeup+0xe1/0x120 [ 75.456343][ T8449] ? lf+0x2c0/0x2c0 [ 75.460600][ T8449] __start_tty+0x116/0x150 [ 75.465314][ T8449] n_tty_ioctl_helper+0x348/0x3a0 [ 75.470561][ T8449] n_hdlc_tty_ioctl+0xe4/0x360 [ 75.475389][ T8449] tty_ioctl+0xef9/0x1600 [ 75.479758][ T8449] ? n_hdlc_tty_open+0x3e0/0x3e0 [ 75.485005][ T8449] ? tty_lookup_driver+0x550/0x550 [ 75.490405][ T8449] ? find_held_lock+0x2d/0x110 [ 75.495474][ T8449] ? __context_tracking_exit+0xb8/0xe0 [ 75.500954][ T8449] ? lock_downgrade+0x6e0/0x6e0 [ 75.505831][ T8449] ? lock_downgrade+0x6e0/0x6e0 [ 75.510724][ T8449] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 75.517007][ T8449] ? tty_lookup_driver+0x550/0x550 [ 75.522234][ T8449] __x64_sys_ioctl+0x193/0x200 [ 75.527021][ T8449] do_syscall_64+0x3a/0xb0 [ 75.531458][ T8449] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 75.537648][ T8449] RIP: 0033:0x440009 [ 75.541565][ T8449] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 75.562108][ T8449] RSP: 002b:00007ffd44ab52f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 75.570663][ T8449] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 [ 75.578745][ T8449] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 [ 75.586915][ T8449] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 75.595233][ T8449] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000403550 executing program executing program executing program executing program executing program executing program [ 75.603402][ T8449] R13: 0000000000000000 R14: 00007ffd44ab5320 R15: 00007ffd44ab5310 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 75.934388][ T8493] BUG: scheduling while atomic: syz-executor236/8493/0x00000002 [ 75.934824][ T8493] 3 locks held by syz-executor236/8493: [ 75.934842][ T8493] #0: ffff8880202f4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 [ 75.934924][ T8493] #1: ffff8880202f43f8 (&tty->flow_lock){+.+.}-{2:2}, at: n_tty_ioctl_helper+0xcc/0x3a0 [ 75.934999][ T8493] #2: ffff8880202f4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref+0x1d/0x80 [ 75.935071][ T8493] Modules linked in: [ 75.935085][ T8493] Preemption disabled at: [ 75.935093][ T8493] [<0000000000000000>] 0x0 [ 75.935117][ T8493] Kernel panic - not syncing: scheduling while atomic [ 75.935130][ T8493] CPU: 1 PID: 8493 Comm: syz-executor236 Tainted: G W 5.13.0-rc5-syzkaller #0 [ 75.935156][ T8493] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 75.935169][ T8493] Call Trace: [ 75.935179][ T8493] dump_stack+0x141/0x1d7 [ 75.935204][ T8493] panic+0x306/0x73d [ 75.935219][ T8493] ? __warn_printk+0xf3/0xf3 [ 75.935236][ T8493] ? module_get_kallsym.cold+0x22/0x22 [ 75.935253][ T8493] ? print_lock+0x4f/0x120 [ 75.935269][ T8493] ? vprintk+0x95/0x260 [ 75.935285][ T8493] __schedule_bug.cold+0x10c/0x143 [ 75.935302][ T8493] __schedule+0x19df/0x23e0 [ 75.935322][ T8493] ? io_schedule_timeout+0x140/0x140 [ 75.935337][ T8493] ? lock_chain_count+0x20/0x20 [ 75.935352][ T8493] ? __lock_acquire+0x16a7/0x5230 [ 75.935371][ T8493] ? __down+0x13a/0x2a0 [ 75.935385][ T8493] schedule+0xcf/0x270 [ 75.935400][ T8493] schedule_timeout+0x1db/0x250 [ 75.935417][ T8493] ? usleep_range+0x170/0x170 [ 75.935432][ T8493] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [ 75.935447][ T8493] ? __down+0x13a/0x2a0 [ 75.935467][ T8493] ? _raw_spin_unlock_irq+0x25/0x40 [ 75.935482][ T8493] __down+0x183/0x2a0 [ 75.935497][ T8493] ? do_raw_spin_lock+0x120/0x2b0 [ 75.935518][ T8493] ? __down_timeout+0x2a0/0x2a0 [ 75.935532][ T8493] ? rwlock_bug.part.0+0x90/0x90 [ 75.935552][ T8493] down+0x57/0x80 [ 75.935565][ T8493] console_lock+0x2a/0x80 [ 75.935580][ T8493] do_con_write+0x10f/0x1e60 [ 75.935603][ T8493] ? n_hdlc_buf_get+0x1a1/0x230 [ 75.935615][ T8493] ? lock_downgrade+0x6e0/0x6e0 [ 75.935631][ T8493] ? do_con_trol+0x54c0/0x54c0 [ 75.935644][ T8493] ? __wake_up_common+0x650/0x650 [ 75.935659][ T8493] ? lock_downgrade+0x6e0/0x6e0 [ 75.935674][ T8493] ? bit_putcs+0xd20/0xd20 [ 75.935688][ T8493] ? fbcon_cursor+0x51d/0x630 [ 75.935702][ T8493] ? do_raw_spin_unlock+0x171/0x230 [ 75.935716][ T8493] ? con_put_char+0xe0/0xe0 [ 75.935730][ T8493] con_write+0x21/0x40 [ 75.935743][ T8493] n_hdlc_send_frames+0x24b/0x490 [ 75.935761][ T8493] ? n_hdlc_send_frames+0x490/0x490 [ 75.935774][ T8493] tty_wakeup+0xe1/0x120 [ 75.935790][ T8493] ? lf+0x2c0/0x2c0 [ 75.935801][ T8493] __start_tty+0x116/0x150 [ 75.935814][ T8493] n_tty_ioctl_helper+0x348/0x3a0 [ 75.935830][ T8493] n_hdlc_tty_ioctl+0xe4/0x360 [ 75.935845][ T8493] tty_ioctl+0xef9/0x1600 [ 75.935856][ T8493] ? n_hdlc_tty_open+0x3e0/0x3e0 [ 75.935870][ T8493] ? tty_lookup_driver+0x550/0x550 [ 75.935887][ T8493] ? find_held_lock+0x2d/0x110 [ 75.935904][ T8493] ? __context_tracking_exit+0xb8/0xe0 [ 75.935917][ T8493] ? lock_downgrade+0x6e0/0x6e0 [ 75.935933][ T8493] ? lock_downgrade+0x6e0/0x6e0 [ 75.935966][ T8493] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 75.935998][ T8493] ? tty_lookup_driver+0x550/0x550 [ 75.936024][ T8493] __x64_sys_ioctl+0x193/0x200 [ 75.936052][ T8493] do_syscall_64+0x3a/0xb0 [ 75.936079][ T8493] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 75.936105][ T8493] RIP: 0033:0x440009 [ 75.936125][ T8493] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 75.936147][ T8493] RSP: 002b:00007ffd44ab52f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 75.936173][ T8493] RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000440009 [ 75.936190][ T8493] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 [ 75.936205][ T8493] RBP: 0000000000000000 R08: 000000000000000d R09: 0000000000000001 [ 75.936220][ T8493] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000012838 [ 75.936236][ T8493] R13: 00007ffd44ab530c R14: 00007ffd44ab5320 R15: 00007ffd44ab5310 [ 75.937663][ T8493] Kernel Offset: disabled [ 76.368176][ T8493] Rebooting in 86400 seconds..