[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.147' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 74.488762][ T6529] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2525 [ 74.498327][ T6529] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 6529, name: syz-executor925 [ 74.507803][ T6529] preempt_count: 1, expected: 0 [ 74.512654][ T6529] RCU nest depth: 0, expected: 0 [ 74.517593][ T6529] 3 locks held by syz-executor925/6529: [ 74.523143][ T6529] #0: ffff888018d79098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 [ 74.532941][ T6529] #1: ffff888018d79468 (&tty->flow.lock){....}-{2:2}, at: n_tty_ioctl_helper+0xb6/0x2d0 [ 74.542810][ T6529] #2: ffff888018d79098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref+0x1d/0x80 [ 74.552163][ T6529] irq event stamp: 16252 [ 74.556406][ T6529] hardirqs last enabled at (16251): [] _raw_spin_unlock_irqrestore+0x50/0x70 [ 74.567006][ T6529] hardirqs last disabled at (16252): [] _raw_spin_lock_irq+0x41/0x50 [ 74.576628][ T6529] softirqs last enabled at (14452): [] fpu_flush_thread+0x23c/0x390 [ 74.586280][ T6529] softirqs last disabled at (14450): [] fpu_flush_thread+0x1cb/0x390 [ 74.595981][ T6529] Preemption disabled at: [ 74.595988][ T6529] [<0000000000000000>] 0x0 [ 74.604716][ T6529] CPU: 0 PID: 6529 Comm: syz-executor925 Not tainted 5.15.0-next-20211112-syzkaller #0 [ 74.614337][ T6529] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 74.624374][ T6529] Call Trace: [ 74.627650][ T6529] [ 74.630578][ T6529] dump_stack_lvl+0xcd/0x134 [ 74.635161][ T6529] __might_resched.cold+0x222/0x26b [ 74.640356][ T6529] console_lock+0x17/0x80 [ 74.644671][ T6529] do_con_write+0x10f/0x1e40 [ 74.649276][ T6529] ? n_hdlc_buf_get+0x1a1/0x230 [ 74.654123][ T6529] ? lock_downgrade+0x6e0/0x6e0 [ 74.659147][ T6529] ? do_con_trol+0x54f0/0x54f0 [ 74.663893][ T6529] ? n_hdlc_send_frames+0xf0/0x490 [ 74.668988][ T6529] ? lock_downgrade+0x6e0/0x6e0 [ 74.673824][ T6529] ? do_raw_spin_unlock+0x171/0x230 [ 74.679006][ T6529] ? con_put_char+0xa0/0xa0 [ 74.683493][ T6529] con_write+0x21/0x40 [ 74.687636][ T6529] n_hdlc_send_frames+0x24b/0x490 [ 74.692650][ T6529] ? n_hdlc_send_frames+0x490/0x490 [ 74.697833][ T6529] tty_wakeup+0xe1/0x120 [ 74.702058][ T6529] ? lf+0x2c0/0x2c0 [ 74.705854][ T6529] __start_tty+0xfb/0x130 [ 74.710164][ T6529] n_tty_ioctl_helper+0x299/0x2d0 [ 74.715215][ T6529] n_hdlc_tty_ioctl+0xd2/0x340 [ 74.719976][ T6529] tty_ioctl+0xc69/0x1670 [ 74.724412][ T6529] ? n_hdlc_tty_open+0x3f0/0x3f0 [ 74.729350][ T6529] ? tty_lookup_driver+0x550/0x550 [ 74.734451][ T6529] ? find_held_lock+0x2d/0x110 [ 74.739210][ T6529] ? __context_tracking_exit+0xb8/0xe0 [ 74.744673][ T6529] ? lock_downgrade+0x6e0/0x6e0 [ 74.749547][ T6529] ? lock_downgrade+0x6e0/0x6e0 [ 74.754391][ T6529] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 74.760622][ T6529] ? tty_lookup_driver+0x550/0x550 [ 74.765717][ T6529] __x64_sys_ioctl+0x193/0x200 [ 74.770470][ T6529] do_syscall_64+0x35/0xb0 [ 74.774875][ T6529] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 74.780756][ T6529] RIP: 0033:0x7f16c8522349 [ 74.785153][ T6529] Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 74.804740][ T6529] RSP: 002b:00007fff6ccb8b98 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 74.813135][ T6529] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f16c8522349 [ 74.821088][ T6529] RDX: 0000000000000001 RSI: 000000000000540a RDI: 0000000000000005 [ 74.829043][ T6529] RBP: 00007f16c84e61d0 R08: 0000000000000000 R09: 0000000000000000 [ 74.837027][ T6529] R10: 00000000000