Warning: Permanently added '10.128.0.64' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.636909][ C0] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:580 [ 26.639173][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3030, name: syz-executor282 [ 26.641355][ C0] preempt_count: 101, expected: 0 [ 26.642476][ C0] RCU nest depth: 0, expected: 0 [ 26.643606][ C0] 4 locks held by syz-executor282/3030: [ 26.644854][ C0] #0: ffff0000cb21f1c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0x90/0x100 [ 26.647039][ C0] #1: ffff0000cb21f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_hangup+0x168/0x508 [ 26.649383][ C0] #2: ffff0000cb0630b0 (&gsm->mutex){+.+.}-{3:3}, at: gsm_cleanup_mux+0x54/0x3c0 [ 26.651542][ C0] #3: ffff800008003e20 ((&dlci->t1)){+.-.}-{0:0}, at: call_timer_fn+0x54/0x144 [ 26.653663][ C0] Preemption disabled at: [ 26.653670][ C0] [] klist_next+0x30/0x18c [ 26.656098][ C0] CPU: 0 PID: 3030 Comm: syz-executor282 Not tainted 6.0.0-rc6-syzkaller-17742-gc194837ebb57 #0 [ 26.658586][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 26.661005][ C0] Call trace: [ 26.661790][ C0] dump_backtrace+0x1c4/0x1f0 [ 26.662929][ C0] show_stack+0x2c/0x54 [ 26.663936][ C0] dump_stack_lvl+0x104/0x16c [ 26.665044][ C0] dump_stack+0x1c/0x58 [ 26.666087][ C0] __might_resched+0x208/0x218 [ 26.667218][ C0] __might_sleep+0x48/0x78 [ 26.668296][ C0] __mutex_lock_common+0x6c/0xca8 [ 26.669513][ C0] mutex_lock_nested+0x38/0x44 [ 26.670631][ C0] gsm_send+0x1a0/0x260 [ 26.671622][ C0] gsm_dlci_t1+0xa8/0x1e0 [ 26.672639][ C0] call_timer_fn+0x90/0x144 [ 26.673697][ C0] __run_timers+0x280/0x374 [ 26.674911][ C0] run_timer_softirq+0x34/0x5c [ 26.676056][ C0] _stext+0x168/0x37c [ 26.677013][ C0] ____do_softirq+0x14/0x20 [ 26.678113][ C0] call_on_irq_stack+0x2c/0x54 [ 26.679297][ C0] do_softirq_own_stack+0x20/0x2c [ 26.680515][ C0] invoke_softirq+0x70/0xbc [ 26.681571][ C0] __irq_exit_rcu+0xf0/0x140 [ 26.682660][ C0] irq_exit_rcu+0x10/0x40 [ 26.683674][ C0] el1_interrupt+0x38/0x68 [ 26.684724][ C0] el1h_64_irq_handler+0x18/0x24 [ 26.685871][ C0] el1h_64_irq+0x64/0x68 [ 26.687026][ C0] _raw_spin_unlock_irqrestore+0x58/0x8c [ 26.688392][ C0] klist_next+0x108/0x18c [ 26.689439][ C0] class_find_device+0xc0/0x178 [ 26.690589][ C0] device_destroy+0x48/0xdc [ 26.691660][ C0] tty_unregister_device+0x38/0x88 [ 26.693011][ C0] gsm_cleanup_mux+0x22c/0x3c0 [ 26.694136][ C0] gsmld_close+0x28/0x74 [ 26.695149][ C0] tty_ldisc_hangup+0x358/0x508 [ 26.696307][ C0] __tty_hangup+0x27c/0x47c [ 26.697371][ C0] tty_vhangup_session+0x24/0x34 [ 26.698617][ C0] disassociate_ctty+0x1d8/0x460 [ 26.699808][ C0] do_exit+0x230/0xbe0 [ 26.700779][ C0] do_group_exit+0x60/0xe8 [ 26.701833][ C0] __wake_up_parent+0x0/0x40 [ 26.702901][ C0] el0_svc_common+0x138/0x220 [ 26.704003][ C0] do_el0_svc+0x48/0x164 [ 26.705004][ C0] el0_svc+0x58/0x150 [ 26.705951][ C0] el0t_64_sync_handler+0x84/0xf0 [ 26.707149][ C0] el0t_64_sync+0x18c/0x190 [ 26.708240][ C0] [ 26.708744][ C0] ============================= [ 26.709857][ C0] [ BUG: Invalid wait context ] [ 26.710959][ C0] 6.0.0-rc6-syzkaller-17742-gc194837ebb57 #0 Tainted: G W [ 26.712871][ C0] ----------------------------- [ 26.713963][ C0] syz-executor282/3030 is trying to lock: [ 26.715280][ C0] ffff0000cb063430 (&gsm->tx_mutex){+.+.}-{3:3}, at: gsm_send+0x1a0/0x260 [ 26.717208][ C0] other info that might help us debug this: [ 26.718721][ C0] context-{2:2} [ 26.719535][ C0] 4 locks held by syz-executor282/3030: [ 26.720858][ C0] #0: ffff0000cb21f1c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: tty_lock+0x90/0x100 [ 26.723053][ C0] #1: ffff0000cb21f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_hangup+0x168/0x508 [ 26.725350][ C0] #2: ffff0000cb0630b0 (&gsm->mutex){+.+.}-{3:3}, at: gsm_cleanup_mux+0x54/0x3c0 [ 26.727561][ C0] #3: ffff800008003e20 ((&dlci->t1)){+.-.}-{0:0}, at: call_timer_fn+0x54/0x144 [ 26.729820][ C0] stack backtrace: [ 26.730710][ C0] CPU: 0 PID: 3030 Comm: syz-executor282 Tainted: G W 6.0.0-rc6-syzkaller-17742-gc194837ebb57 #0 [ 26