Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.90' (ECDSA) to the list of known hosts. executing program executing program syzkaller login: [ 27.479347] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2245 [ 27.487907] in_atomic(): 1, irqs_disabled(): 1, pid: 8054, name: syz-executor409 [ 27.495435] 3 locks held by syz-executor409/8054: [ 27.500311] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 27.509270] #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_write+0x22d/0x740 [ 27.518299] #2: (&(&gsm->tx_lock)->rlock){....}, at: [] gsmld_write+0x5e/0x120 [ 27.527410] irq event stamp: 276 [ 27.530797] hardirqs last enabled at (275): [] restore_regs_and_return_to_kernel+0x0/0x2a [ 27.540761] hardirqs last disabled at (276): [] _raw_spin_lock_irqsave+0x66/0xc0 [ 27.549860] softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 [ 27.558865] softirqs last disabled at (0): [< (null)>] (null) [ 27.566388] Preemption disabled at: [ 27.566396] [< (null)>] (null) [ 27.574850] CPU: 0 PID: 8054 Comm: syz-executor409 Not tainted 4.14.291-syzkaller #0 [ 27.582721] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 27.592089] Call Trace: [ 27.594673] dump_stack+0x1b2/0x281 [ 27.598294] ___might_sleep.cold+0x235/0x250 [ 27.602697] do_con_write+0xd0/0x19b0 [ 27.606493] ? retint_kernel+0x2d/0x2d [ 27.610377] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 27.615386] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 27.620139] ? do_con_trol+0x51e0/0x51e0 [ 27.624193] ? lock_acquire+0x170/0x3f0 [ 27.628155] ? gsmld_write+0x5e/0x120 [ 27.632056] con_write+0x21/0xa0 [ 27.635401] gsmld_write+0xbb/0x120 [ 27.639138] tty_write+0x410/0x740 [ 27.642669] ? gsmld_poll+0x1f0/0x1f0 [ 27.646451] __vfs_write+0xe4/0x630 [ 27.650067] ? tty_compat_ioctl+0x240/0x240 [ 27.654387] ? __handle_mm_fault+0x80f/0x4620 [ 27.658861] ? kernel_read+0x110/0x110 [ 27.662727] ? common_file_perm+0x3ee/0x580 [ 27.667037] ? __fd_install+0x227/0x5c0 [ 27.671005] ? security_file_permission+0x82/0x1e0 [ 27.675911] ? rw_verify_area+0xe1/0x2a0 [ 27.679948] vfs_write+0x17f/0x4d0 [ 27.683479] SyS_write+0xf2/0x210 [ 27.686906] ? SyS_read+0x210/0x210 [ 27.690509] ? __do_page_fault+0x159/0xad0 [ 27.694739] ? do_syscall_64+0x4c/0x640 [ 27.698688] ? SyS_read+0x210/0x210 [ 27.702291] do_syscall_64+0x1d5/0x640 [ 27.706159] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 27.711325] RIP: 0033:0x7f516b82bff9 [ 27.715021] RSP: 002b:00007fffd96a0ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 27.722791] RAX: ffffffffffffffda RBX: 0000000000006b2c RCX: 00007f516b82bff9 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 27.730064] RDX: 0000000000000040 RSI: 0000000020000140 RDI: 0000000000000003 [ 27.737344] RBP: 0000000000000000 R08: 000000000000000d R09: 00007fffd96a1078 [ 27.744591] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffd96a0eec [ 27.751839] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 28.471121] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2245 [ 28.479536] in_atomic(): 1, irqs_disabled(): 1, pid: 8333, name: syz-executor409 [ 28.487196] 3 locks held by syz-executor409/8333: [ 28.492040] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 28.500956] #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_write+0x22d/0x740 [ 28.509949] #2: (&(&gsm->tx_lock)->rlock){....}, at: [] gsmld_write+0x5e/0x120 [ 28.519033] irq event stamp: 302 [ 28.522380] hardirqs last enabled at (301): [] restore_regs_and_return_to_kernel+0x0/0x2a [ 28.532433] hardirqs last disabled at (302): [] _raw_spin_lock_irqsave+0x66/0xc0 [ 28.541603] softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 [ 28.550589] softirqs last disabled at (0): [< (null)>] (null) [ 28.558098] Preemption disabled at: [ 28.558102] [< (null)>] (null) [ 28.566526] CPU: 0 PID: 8333 Comm: syz-executor409 Tainted: G W 4.14.291-syzkaller #0 [ 28.575956] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 28.585290] Call Trace: [ 28.587862] dump_stack+0x1b2/0x281 [ 28.591481] ___might_sleep.cold+0x235/0x250 [ 28.595867] do_con_write+0xd0/0x19b0 [ 28.599643] ? mark_held_locks+0xa6/0xf0 [ 28.603767] ? retint_kernel+0x2d/0x2d [ 28.607629] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 28.612620] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 28.617366] ? do_con_trol+0x51e0/0x51e0 [ 28.621405] ? lock_acquire+0x170/0x3f0 [ 28.625355] ? gsmld_write+0x5e/0x120 [ 28.629163] con_write+0x21/0xa0 [ 28.632504] gsmld_write+0xbb/0x120 [ 28.636124] tty_write+0x410/0x740 [ 28.640955] ? gsmld_poll+0x1f0/0x1f0 [ 28.644734] __vfs_write+0xe4/0x630 [ 28.648336] ? tty_compat_ioctl+0x240/0x240 [ 28.652632] ? __handle_mm_fault+0x80f/0x4620 [ 28.657224] ? kernel_read+0x110/0x110 [ 28.661103] ? common_file_perm+0x3ee/0x580 [ 28.665414] ? __fd_install+0x227/0x5c0 [ 28.669368] ? security_file_permission+0x82/0x1e0 [ 28.674275] ? rw_verify_area+0xe1/0x2a0 [ 28.678324] vfs_write+0x17f/0x4d0 [ 28.681840] SyS_write+0xf2/0x210 [ 28.685267] ? SyS_read+0x210/0x210 [ 28.688868] ? __do_page_fault+0x159/0xad0 [ 28.693096] ? do_syscall_64+0x4c/0x640 [ 28.697163] ? SyS_read+0x210/0x210 [ 28.700768] do_syscall_64+0x1d5/0x640 [ 28.704633] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.709812] RIP: 0033:0x7f516b82bff9 [ 28.713510] RSP: 002b:00007fffd96a0ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 28.721204] RAX: ffffffffffffffda RBX: 0000000000006f48 RCX: 00007f516b82bff9 [ 28.728573] RDX: 0000000000000040 RSI: 0000000020000140 RDI: 0000000000000003 [ 28.735819] RBP: 0000000000000000 R08: 000000000000000d R09: 00007fffd96a1078 [ 28.743065] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffd96a0eec [ 28.750311] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 29.469512] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2245 [ 29.477917] in_atomic(): 1, irqs_disabled(): 1, pid: 8608, name: syz-executor409 [ 29.485542] 3 locks held by syz-executor409/8608: [ 29.490377] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 29.499308] #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_write+0x22d/0x740 [ 29.508584] #2: (&(&gsm->tx_lock)->rlock){....}, at: [] gsmld_write+0x5e/0x120 [ 29.517668] irq event stamp: 258 [ 29.521018] hardirqs last enabled at (257): [] restore_regs_and_return_to_kernel+0x0/0x2a [ 29.530960] hardirqs last disabled at (258): [] _raw_spin_lock_irqsave+0x66/0xc0 [ 29.540211] softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 [ 29.549458] softirqs last disabled at (0): [< (null)>] (null) [ 29.556980] Preemption disabled at: [ 29.556985] [< (null)>] (null) [ 29.565426] CPU: 0 PID: 8608 Comm: syz-executor409 Tainted: G W 4.14.291-syzkaller #0 [ 29.574499] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 29.583923] Call Trace: [ 29.586494] dump_stack+0x1b2/0x281 [ 29.590108] ___might_sleep.cold+0x235/0x250 [ 29.594497] do_con_write+0xd0/0x19b0 [ 29.598299] ? mark_held_locks+0xa6/0xf0 [ 29.602345] ? retint_kernel+0x2d/0x2d [ 29.606213] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 29.611206] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 29.615948] ? do_con_trol+0x51e0/0x51e0 [ 29.620023] ? lock_acquire+0x170/0x3f0 [ 29.623978] ? gsmld_write+0x5e/0x120 [ 29.627760] con_write+0x21/0xa0 [ 29.631107] gsmld_write+0xbb/0x120 [ 29.634721] tty_write+0x410/0x740 [ 29.638239] ? gsmld_poll+0x1f0/0x1f0 [ 29.642037] __vfs_write+0xe4/0x630 [ 29.645655] ? tty_compat_ioctl+0x240/0x240 [ 29.649953] ? __handle_mm_fault+0x80f/0x4620 [ 29.654457] ? kernel_read+0x110/0x110 [ 29.658323] ? common_file_perm+0x3ee/0x580 [ 29.662622] ? __fd_install+0x227/0x5c0 [ 29.666573] ? security_file_permission+0x82/0x1e0 [ 29.671480] ? rw_verify_area+0xe1/0x2a0 [ 29.675519] vfs_write+0x17f/0x4d0 [ 29.679042] SyS_write+0xf2/0x210 [ 29.682493] ? SyS_read+0x210/0x210 [ 29.686113] ? __do_page_fault+0x159/0xad0 [ 29.690328] ? do_syscall_64+0x4c/0x640 [ 29.694288] ? SyS_read+0x210/0x210 [ 29.697898] do_syscall_64+0x1d5/0x640 [ 29.701765] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 29.706930] RIP: 0033:0x7f516b82bff9 [ 29.710615] RSP: 002b:00007fffd96a0ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 29.718308] RAX: ffffffffffffffda RBX: 000000000000732f RCX: 00007f516b82bff9 [ 29.725556] RDX: 0000000000000040 RSI: 0000000020000140 RDI: 0000000000000003 [ 29.732801] RBP: 0000000000000000 R08: 000000000000000d R09: 00007fffd96a1078 [ 29.740051] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffd96a0eec [ 29.747299] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.468957] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2245 [ 30.477378] in_atomic(): 1, irqs_disabled(): 1, pid: 8885, name: syz-executor409 [ 30.484937] 3 locks held by syz-executor409/8885: [ 30.489774] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 30.498688] #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_write+0x22d/0x740 [ 30.507681] #2: (&(&gsm->tx_lock)->rlock){....}, at: [] gsmld_write+0x5e/0x120 [ 30.516764] irq event stamp: 258 [ 30.520126] hardirqs last enabled at (257): [] restore_regs_and_return_to_kernel+0x0/0x2a [ 30.530069] hardirqs last disabled at (258): [] _raw_spin_lock_irqsave+0x66/0xc0 [ 30.539160] softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 [ 30.548144] softirqs last disabled at (0): [< (null)>] (null) [ 30.555651] Preemption disabled at: [ 30.555655] [< (null)>] (null) [ 30.564088] CPU: 0 PID: 8885 Comm: syz-executor409 Tainted: G W 4.14.291-syzkaller #0 [ 30.573157] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 30.582501] Call Trace: [ 30.585259] dump_stack+0x1b2/0x281 [ 30.588863] ___might_sleep.cold+0x235/0x250 [ 30.593248] do_con_write+0xd0/0x19b0 [ 30.597045] ? mark_held_locks+0xa6/0xf0 [ 30.601085] ? retint_kernel+0x2d/0x2d [ 30.604950] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 30.610041] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 30.614775] ? do_con_trol+0x51e0/0x51e0 [ 30.618811] ? lock_acquire+0x170/0x3f0 [ 30.622767] ? gsmld_write+0x5e/0x120 [ 30.626569] con_write+0x21/0xa0 [ 30.629918] gsmld_write+0xbb/0x120 [ 30.633521] tty_write+0x410/0x740 [ 30.637062] ? gsmld_poll+0x1f0/0x1f0 [ 30.640841] __vfs_write+0xe4/0x630 [ 30.644442] ? tty_compat_ioctl+0x240/0x240 [ 30.648738] ? __handle_mm_fault+0x80f/0x4620 [ 30.653211] ? kernel_read+0x110/0x110 [ 30.657079] ? common_file_perm+0x3ee/0x580 [ 30.661407] ? __fd_install+0x227/0x5c0 [ 30.665385] ? security_file_permission+0x82/0x1e0 [ 30.670293] ? rw_verify_area+0xe1/0x2a0 [ 30.674345] vfs_write+0x17f/0x4d0 [ 30.677863] SyS_write+0xf2/0x210 [ 30.681298] ? SyS_read+0x210/0x210 [ 30.684901] ? __do_page_fault+0x159/0xad0 [ 30.689111] ? do_syscall_64+0x4c/0x640 [ 30.693061] ? SyS_read+0x210/0x210 [ 30.696680] do_syscall_64+0x1d5/0x640 [ 30.700565] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 30.705736] RIP: 0033:0x7f516b82bff9 [ 30.709435] RSP: 002b:00007fffd96a0ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 executing program executing program executing program executing program 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.717130] RAX: ffffffffffffffda RBX: 0000000000007718 RCX: 00007f516b82bff9 [ 30.724388] RDX: 0000000000000040 RSI: 0000000020000140 RDI: 0000000000000003 [ 30.731633] RBP: 0000000000000000 R08: 000000000000000d R09: 00007fffd96a1078 [ 30.738885] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffd96a0eec [ 30.746131] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.466857] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2245 [ 31.475272] in_atomic(): 1, irqs_disabled(): 1, pid: 9160, name: syz-executor409 [ 31.482794] 3 locks held by syz-executor409/9160: [ 31.487611] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 31.496526] #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_write+0x22d/0x740 [ 31.505520] #2: (&(&gsm->tx_lock)->rlock){....}, at: [] gsmld_write+0x5e/0x120 [ 31.514602] irq event stamp: 322 [ 31.517963] hardirqs last enabled at (321): [] restore_regs_and_return_to_kernel+0x0/0x2a [ 31.527929] hardirqs last disabled at (322): [] _raw_spin_lock_irqsave+0x66/0xc0 [ 31.537002] softirqs last enabled at (192): [] __do_softirq+0x68b/0x9ff [ 31.545407] softirqs last disabled at (175): [] irq_exit+0x193/0x240 [ 31.553433] Preemption disabled at: [ 31.553437] [< (null)>] (null) [ 31.561852] CPU: 1 PID: 9160 Comm: syz-executor409 Tainted: G W 4.14.291-syzkaller #0 [ 31.570919] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 31.580245] Call Trace: [ 31.582809] dump_stack+0x1b2/0x281 [ 31.586416] ___might_sleep.cold+0x235/0x250 [ 31.590807] do_con_write+0xd0/0x19b0 [ 31.594585] ? mark_held_locks+0xa6/0xf0 [ 31.598620] ? retint_kernel+0x2d/0x2d [ 31.602482] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 31.607474] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 31.612224] ? do_con_trol+0x51e0/0x51e0 [ 31.616260] ? lock_acquire+0x170/0x3f0 [ 31.620296] ? gsmld_write+0x5e/0x120 [ 31.624076] con_write+0x21/0xa0 [ 31.627416] gsmld_write+0xbb/0x120 [ 31.631018] tty_write+0x410/0x740 [ 31.634546] ? gsmld_poll+0x1f0/0x1f0 [ 31.638325] __vfs_write+0xe4/0x630 [ 31.641927] ? tty_compat_ioctl+0x240/0x240 [ 31.646225] ? __handle_mm_fault+0x80f/0x4620 [ 31.650695] ? kernel_read+0x110/0x110 [ 31.654557] ? common_file_perm+0x3ee/0x580 [ 31.658854] ? __fd_install+0x227/0x5c0 [ 31.662807] ? security_file_permission+0x82/0x1e0 [ 31.667723] ? rw_verify_area+0xe1/0x2a0 [ 31.671761] vfs_write+0x17f/0x4d0 [ 31.675277] SyS_write+0xf2/0x210 [ 31.678708] ? SyS_read+0x210/0x210 [ 31.682313] ? __do_page_fault+0x159/0xad0 [ 31.686534] ? do_syscall_64+0x4c/0x640 [ 31.690483] ? SyS_read+0x210/0x210 [ 31.694085] do_syscall_64+0x1d5/0x640 [ 31.698055] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.703221] RIP: 0033:0x7f516b82bff9 [ 31.706931] RSP: 002b:00007fffd96a0ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 executing program executing program 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.714612] RAX: ffffffffffffffda RBX: 0000000000007afe RCX: 00007f516b82bff9 [ 31.721877] RDX: 0000000000000040 RSI: 0000000020000140 RDI: 0000000000000003 [ 31.729208] RBP: 0000000000000000 R08: 000000000000000d R09: 00007fffd96a1078 [ 31.736453] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffd96a0eec [ 31.743711] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.467269] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2245 [ 32.475732] in_atomic(): 1, irqs_disabled(): 1, pid: 9436, name: syz-executor409 [ 32.483775] 3 locks held by syz-executor409/9436: [ 32.488592] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 32.497595] #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_write+0x22d/0x740 [ 32.506591] #2: (&(&gsm->tx_lock)->rlock){....}, at: [] gsmld_write+0x5e/0x120 [ 32.515684] irq event stamp: 258 [ 32.519037] hardirqs last enabled at (257): [] restore_regs_and_return_to_kernel+0x0/0x2a [ 32.528983] hardirqs last disabled at (258): [] _raw_spin_lock_irqsave+0x66/0xc0 [ 32.538074] softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 [ 32.547055] softirqs last disabled at (0): [< (null)>] (null) [ 32.554652] Preemption disabled at: [ 32.554656] [< (null)>] (null) [ 32.563076] CPU: 1 PID: 9436 Comm: syz-executor409 Tainted: G W 4.14.291-syzkaller #0 [ 32.572157] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 32.581486] Call Trace: [ 32.584051] dump_stack+0x1b2/0x281 [ 32.587658] ___might_sleep.cold+0x235/0x250 [ 32.592046] do_con_write+0xd0/0x19b0 [ 32.595837] ? mark_held_locks+0xa6/0xf0 [ 32.599874] ? retint_kernel+0x2d/0x2d [ 32.603735] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 32.608727] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.613461] ? do_con_trol+0x51e0/0x51e0 [ 32.617596] ? lock_acquire+0x170/0x3f0 [ 32.621634] ? gsmld_write+0x5e/0x120 [ 32.625412] con_write+0x21/0xa0 [ 32.628754] gsmld_write+0xbb/0x120 [ 32.632358] tty_write+0x410/0x740 [ 32.635874] ? gsmld_poll+0x1f0/0x1f0 [ 32.639652] __vfs_write+0xe4/0x630 [ 32.643261] ? tty_compat_ioctl+0x240/0x240 [ 32.647558] ? __handle_mm_fault+0x80f/0x4620 [ 32.652028] ? kernel_read+0x110/0x110 [ 32.655903] ? common_file_perm+0x3ee/0x580 [ 32.660202] ? __fd_install+0x227/0x5c0 [ 32.664162] ? security_file_permission+0x82/0x1e0 [ 32.669079] ? rw_verify_area+0xe1/0x2a0 [ 32.673117] vfs_write+0x17f/0x4d0 [ 32.676637] SyS_write+0xf2/0x210 [ 32.680098] ? SyS_read+0x210/0x210 [ 32.683704] ? __do_page_fault+0x159/0xad0 [ 32.687939] ? do_syscall_64+0x4c/0x640 [ 32.691903] ? SyS_read+0x210/0x210 [ 32.695509] do_syscall_64+0x1d5/0x640 [ 32.699377] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 32.704556] RIP: 0033:0x7f516b82bff9 [ 32.708245] RSP: 002b:00007fffd96a0ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 executing program executing program executing program 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.715932] RAX: ffffffffffffffda RBX: 0000000000007ee8 RCX: 00007f516b82bff9 [ 32.723180] RDX: 0000000000000040 RSI: 0000000020000140 RDI: 0000000000000003 [ 32.730446] RBP: 0000000000000000 R08: 000000000000000d R09: 00007fffd96a1078 [ 32.737688] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffd96a0eec [ 32.744933] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.465168] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2245 [ 33.473572] in_atomic(): 1, irqs_disabled(): 1, pid: 9711, name: syz-executor409 [ 33.481087] 3 locks held by syz-executor409/9711: [ 33.486003] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 33.494920] #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_write+0x22d/0x740 [ 33.503925] #2: (&(&gsm->tx_lock)->rlock){....}, at: [] gsmld_write+0x5e/0x120 [ 33.513012] irq event stamp: 294 [ 33.516356] hardirqs last enabled at (293): [] restore_regs_and_return_to_kernel+0x0/0x2a [ 33.526294] hardirqs last disabled at (294): [] _raw_spin_lock_irqsave+0x66/0xc0 [ 33.535365] softirqs last enabled at (228): [] __do_softirq+0x68b/0x9ff [ 33.543749] softirqs last disabled at (195): [] irq_exit+0x193/0x240 [ 33.551790] Preemption disabled at: [ 33.551794] [< (null)>] (null) [ 33.560207] CPU: 0 PID: 9711 Comm: syz-executor409 Tainted: G W 4.14.291-syzkaller #0 [ 33.569278] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 33.578611] Call Trace: [ 33.581191] dump_stack+0x1b2/0x281 [ 33.584803] ___might_sleep.cold+0x235/0x250 [ 33.589193] do_con_write+0xd0/0x19b0 [ 33.593007] ? mark_held_locks+0xa6/0xf0 [ 33.597061] ? retint_kernel+0x2d/0x2d [ 33.600928] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 33.605923] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 33.610665] ? do_con_trol+0x51e0/0x51e0 [ 33.614722] ? lock_acquire+0x170/0x3f0 [ 33.618677] ? gsmld_write+0x5e/0x120 [ 33.622461] con_write+0x21/0xa0 [ 33.625806] gsmld_write+0xbb/0x120 [ 33.629414] tty_write+0x410/0x740 [ 33.632972] ? gsmld_poll+0x1f0/0x1f0 [ 33.636749] __vfs_write+0xe4/0x630 [ 33.640352] ? tty_compat_ioctl+0x240/0x240 [ 33.644649] ? __handle_mm_fault+0x80f/0x4620 [ 33.649125] ? kernel_read+0x110/0x110 [ 33.652990] ? common_file_perm+0x3ee/0x580 [ 33.657289] ? __fd_install+0x227/0x5c0 [ 33.661245] ? security_file_permission+0x82/0x1e0 [ 33.666153] ? rw_verify_area+0xe1/0x2a0 [ 33.670190] vfs_write+0x17f/0x4d0 [ 33.673722] SyS_write+0xf2/0x210 [ 33.677164] ? SyS_read+0x210/0x210 [ 33.680764] ? __do_page_fault+0x159/0xad0 [ 33.684979] ? do_syscall_64+0x4c/0x640 [ 33.688937] ? SyS_read+0x210/0x210 [ 33.692544] do_syscall_64+0x1d5/0x640 [ 33.696410] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 33.701579] RIP: 0033:0x7f516b82bff9 [ 33.705273] RSP: 002b:00007fffd96a0ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 executing program executing program executing program 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.712955] RAX: ffffffffffffffda RBX: 00000000000082cf RCX: 00007f516b82bff9 [ 33.720211] RDX: 0000000000000040 RSI: 0000000020000140 RDI: 0000000000000003 [ 33.727459] RBP: 0000000000000000 R08: 000000000000000d R09: 00007fffd96a1078 [ 33.734710] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffd96a0eec [ 33.741951] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.465523] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2245 [ 34.473955] in_atomic(): 1, irqs_disabled(): 1, pid: 9986, name: syz-executor409 [ 34.481524] 3 locks held by syz-executor409/9986: [ 34.486345] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 34.495264] #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_write+0x22d/0x740 [ 34.504267] #2: (&(&gsm->tx_lock)->rlock){....}, at: [] gsmld_write+0x5e/0x120 [ 34.513374] irq event stamp: 258 [ 34.516727] hardirqs last enabled at (257): [] restore_regs_and_return_to_kernel+0x0/0x2a [ 34.526668] hardirqs last disabled at (258): [] _raw_spin_lock_irqsave+0x66/0xc0 [ 34.535741] softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 [ 34.544722] softirqs last disabled at (0): [< (null)>] (null) [ 34.552227] Preemption disabled at: [ 34.552230] [< (null)>] (null) [ 34.560643] CPU: 1 PID: 9986 Comm: syz-executor409 Tainted: G W 4.14.291-syzkaller #0 [ 34.569710] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 34.579038] Call Trace: [ 34.581602] dump_stack+0x1b2/0x281 [ 34.585204] ___might_sleep.cold+0x235/0x250 [ 34.589688] do_con_write+0xd0/0x19b0 [ 34.593468] ? mark_held_locks+0xa6/0xf0 [ 34.597520] ? retint_kernel+0x2d/0x2d [ 34.601382] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 34.606385] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 34.611124] ? do_con_trol+0x51e0/0x51e0 [ 34.615164] ? lock_acquire+0x170/0x3f0 [ 34.619114] ? gsmld_write+0x5e/0x120 [ 34.622896] con_write+0x21/0xa0 [ 34.626239] gsmld_write+0xbb/0x120 [ 34.629845] tty_write+0x410/0x740 [ 34.633373] ? gsmld_poll+0x1f0/0x1f0 [ 34.637168] __vfs_write+0xe4/0x630 [ 34.640771] ? tty_compat_ioctl+0x240/0x240 [ 34.645071] ? __handle_mm_fault+0x80f/0x4620 [ 34.649542] ? kernel_read+0x110/0x110 [ 34.653407] ? common_file_perm+0x3ee/0x580 [ 34.657706] ? __fd_install+0x227/0x5c0 [ 34.661675] ? security_file_permission+0x82/0x1e0 [ 34.666582] ? rw_verify_area+0xe1/0x2a0 [ 34.670620] vfs_write+0x17f/0x4d0 [ 34.674160] SyS_write+0xf2/0x210 [ 34.677609] ? SyS_read+0x210/0x210 [ 34.681258] ? __do_page_fault+0x159/0xad0 [ 34.685564] ? do_syscall_64+0x4c/0x640 [ 34.689530] ? SyS_read+0x210/0x210 [ 34.693149] do_syscall_64+0x1d5/0x640 [ 34.697015] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 34.702195] RIP: 0033:0x7f516b82bff9 [ 34.705895] RSP: 002b:00007fffd96a0ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 executing program executing program executing program 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.713589] RAX: ffffffffffffffda RBX: 00000000000086b8 RCX: 00007f516b82bff9 [ 34.720842] RDX: 0000000000000040 RSI: 0000000020000140 RDI: 0000000000000003 [ 34.728087] RBP: 0000000000000000 R08: 000000000000000d R09: 00007fffd96a1078 [ 34.735330] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffd96a0eec [ 34.742580] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.464976] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2245 [ 35.473404] in_atomic(): 1, irqs_disabled(): 1, pid: 10259, name: syz-executor409 [ 35.481015] 3 locks held by syz-executor409/10259: [ 35.485919] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 35.494831] #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_write+0x22d/0x740 [ 35.503889] #2: (&(&gsm->tx_lock)->rlock){....}, at: [] gsmld_write+0x5e/0x120 [ 35.513008] irq event stamp: 252 [ 35.516357] hardirqs last enabled at (251): [] restore_regs_and_return_to_kernel+0x0/0x2a [ 35.526298] hardirqs last disabled at (252): [] _raw_spin_lock_irqsave+0x66/0xc0 [ 35.535373] softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 [ 35.544382] softirqs last disabled at (0): [< (null)>] (null) [ 35.551902] Preemption disabled at: [ 35.551906] [< (null)>] (null) [ 35.560326] CPU: 0 PID: 10259 Comm: syz-executor409 Tainted: G W 4.14.291-syzkaller #0 [ 35.569484] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 35.578816] Call Trace: [ 35.581400] dump_stack+0x1b2/0x281 [ 35.585013] ___might_sleep.cold+0x235/0x250 [ 35.589409] do_con_write+0xd0/0x19b0 [ 35.593191] ? mark_held_locks+0xa6/0xf0 [ 35.597233] ? retint_kernel+0x2d/0x2d [ 35.601103] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 35.606099] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 35.610834] ? do_con_trol+0x51e0/0x51e0 [ 35.614874] ? lock_acquire+0x170/0x3f0 [ 35.618823] ? gsmld_write+0x5e/0x120 [ 35.622617] con_write+0x21/0xa0 [ 35.625958] gsmld_write+0xbb/0x120 [ 35.629561] tty_write+0x410/0x740 [ 35.633075] ? gsmld_poll+0x1f0/0x1f0 [ 35.636860] __vfs_write+0xe4/0x630 [ 35.640462] ? tty_compat_ioctl+0x240/0x240 [ 35.644759] ? __handle_mm_fault+0x80f/0x4620 [ 35.649229] ? kernel_read+0x110/0x110 [ 35.653097] ? common_file_perm+0x3ee/0x580 [ 35.657486] ? __fd_install+0x227/0x5c0 [ 35.661437] ? security_file_permission+0x82/0x1e0 [ 35.666342] ? rw_verify_area+0xe1/0x2a0 [ 35.670381] vfs_write+0x17f/0x4d0 [ 35.673913] SyS_write+0xf2/0x210 [ 35.677350] ? SyS_read+0x210/0x210 [ 35.680954] ? __do_page_fault+0x159/0xad0 [ 35.685169] ? do_syscall_64+0x4c/0x640 [ 35.689121] ? SyS_read+0x210/0x210 [ 35.692731] do_syscall_64+0x1d5/0x640 [ 35.696599] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 35.701855] RIP: 0033:0x7f516b82bff9 [ 35.705557] RSP: 002b:00007fffd96a0ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 executing program executing program executing program executing program 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.713240] RAX: ffffffffffffffda RBX: 0000000000008aa0 RCX: 00007f516b82bff9 [ 35.720499] RDX: 0000000000000040 RSI: 0000000020000140 RDI: 0000000000000003 [ 35.727745] RBP: 0000000000000000 R08: 000000000000000d R09: 00007fffd96a1078 [ 35.734992] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffd96a0eec [ 35.742251] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program 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.464413] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2245 [ 36.472819] in_atomic(): 1, irqs_disabled(): 1, pid: 10535, name: syz-executor409 [ 36.480547] 3 locks held by syz-executor409/10535: [ 36.485463] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 36.494391] #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_write+0x22d/0x740 [ 36.503386] #2: (&(&gsm->tx_lock)->rlock){....}, at: [] gsmld_write+0x5e/0x120 [ 36.512468] irq event stamp: 258 [ 36.515812] hardirqs last enabled at (257): [] restore_regs_and_return_to_kernel+0x0/0x2a [ 36.525756] hardirqs last disabled at (258): [] _raw_spin_lock_irqsave+0x66/0xc0 [ 36.534831] softirqs last enabled at (0): [] copy_process.part.0+0x12d0/0x71c0 [ 36.543814] softirqs last disabled at (0): [< (null)>] (null) [ 36.551338] Preemption disabled at: [ 36.551342] [< (null)>] (null) [ 36.559759] CPU: 1 PID: 10535 Comm: syz-executor409 Tainted: G W 4.14.291-syzkaller #0 [ 36.568913] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 36.578343] Call Trace: [ 36.580930] dump_stack+0x1b2/0x281 [ 36.584552] ___might_sleep.cold+0x235/0x250 [ 36.588941] do_con_write+0xd0/0x19b0 [ 36.592721] ? mark_held_locks+0xa6/0xf0 [ 36.596764] ? retint_kernel+0x2d/0x2d [ 36.600626] ? trace_hardirqs_on_caller+0x3a8/0x580 [ 36.605618] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 36.610359] ? do_con_trol+0x51e0/0x51e0 [ 36.614402] ? lock_acquire+0x170/0x3f0 [ 36.618352] ? gsmld_write+0x5e/0x120 [ 36.622133] con_write+0x21/0xa0 [ 36.625480] gsmld_write+0xbb/0x120 [ 36.629084] tty_write+0x410/0x740 [ 36.632598] ? gsmld_poll+0x1f0/0x1f0 [ 36.636391] __vfs_write+0xe4/0x630 [ 36.640007] ? tty_compat_ioctl+0x240/0x240 [ 36.644322] ? __handle_mm_fault+0x80f/0x4620 [ 36.648796] ? kernel_read+0x110/0x110 [ 36.652678] ? common_file_perm+0x3ee/0x580 [ 36.656975] ? __fd_install+0x227/0x5c0 [ 36.660932] ? security_file_permission+0x82/0x1e0 [ 36.665837] ? rw_verify_area+0xe1/0x2a0 [ 36.669877] vfs_write+0x17f/0x4d0 [ 36.673396] SyS_write+0xf2/0x210 [ 36.676828] ? SyS_read+0x210/0x210 [ 36.680430] ? __do_page_fault+0x159/0xad0 [ 36.684640] ? do_syscall_64+0x4c/0x640 [ 36.688593] ? SyS_read+0x210/0x210 [ 36.692194] do_syscall_64+0x1d5/0x640 [ 36.696083] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 36.701248] RIP: 0033:0x7f516b82bff9 [ 36.704932] RSP: 002b:00007fffd96a0ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 executing program executing program executing program 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.712617] RAX: ffffffffffffffda RBX: 0000000000008e88 RCX: 00007f516b82bff9 [ 36.719866] RDX: 0000000000000040 RSI: 0000000020000140 RDI: 0000000000000003 [ 36.727121] RBP: 0000000000000000 R08: 000000000000000d R09: 00007fffd96a1078 [ 36.734468] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffd96a0eec [ 36.741730] R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 37.464517] BUG: sleeping function called from invalid context at drivers/tty/vt/vt.c:2245 [ 37.472939] in_atomic(): 1, irqs_disabled(): 1, pid: 10811, name: syz-executor409 [ 37.480559] 3 locks held by syz-executor409/10811: [ 37.485476] #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 [ 37.494411] #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_write+0x22d/0x740 [ 37.503410] #2: (&(&gsm->tx_lock)->rlock){....}, at: [] gsmld_write+0x5e/0x120