./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor421732907 <...> Warning: Permanently added '10.128.0.239' (ECDSA) to the list of known hosts. execve("./syz-executor421732907", ["./syz-executor421732907"], 0x7ffe60984a80 /* 10 vars */) = 0 brk(NULL) = 0x5555572e1000 brk(0x5555572e1c40) = 0x5555572e1c40 arch_prctl(ARCH_SET_FS, 0x5555572e1300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor421732907", 4096) = 27 brk(0x555557302c40) = 0x555557302c40 brk(0x555557303000) = 0x555557303000 mprotect(0x7fdaa9b9f000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 ioctl(3, TIOCSETD, [21]) = 0 [ 54.827901][ T3635] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2565 [ 54.837481][ T3635] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 3635, name: syz-executor421 [ 54.847012][ T3635] preempt_count: 1, expected: 0 [ 54.851893][ T3635] RCU nest depth: 0, expected: 0 [ 54.856852][ T3635] 3 locks held by syz-executor421/3635: [ 54.862425][ T3635] #0: ffff88807c352098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 [ 54.872427][ T3635] #1: ffff88807c352130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x251/0x890 [ 54.883854][ T3635] #2: ffff888145bae3e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x140 [ 54.892949][ T3635] irq event stamp: 5012 [ 54.897167][ T3635] hardirqs last enabled at (5011): [] _raw_spin_unlock_irq+0x23/0x50 [ 54.906923][ T3635] hardirqs last disabled at (5012): [] _raw_spin_lock_irqsave+0x52/0x60 [ 54.916856][ T3635] softirqs last enabled at (4866): [] __irq_exit_rcu+0x123/0x180 [ 54.926367][ T3635] softirqs last disabled at (4833): [] __irq_exit_rcu+0x123/0x180 [ 54.935791][ T3635] Preemption disabled at: [ 54.935802][ T3635] [<0000000000000000>] 0x0 [ 54.944560][ T3635] CPU: 1 PID: 3635 Comm: syz-executor421 Not tainted 6.1.0-rc7-syzkaller-00122-g355479c70a48 #0 [ 54.954992][ T3635] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 54.965149][ T3635] Call Trace: [ 54.968440][ T3635] [ 54.971441][ T3635] dump_stack_lvl+0xd1/0x138 [ 54.976069][ T3635] __might_resched.cold+0x222/0x26b [ 54.981317][ T3635] console_lock+0x1b/0x80 [ 54.985685][ T3635] do_con_write+0x10f/0x1e40 [ 54.990405][ T3635] ? do_con_trol+0x5a80/0x5a80 [ 54.995213][ T3635] ? do_raw_spin_lock+0x124/0x2b0 [ 55.000272][ T3635] ? rwlock_bug.part.0+0x90/0x90 [ 55.005245][ T3635] ? _raw_spin_lock_irqsave+0x52/0x60 [ 55.010653][ T3635] con_write+0x25/0x40 [ 55.014747][ T3635] gsmld_write+0xcf/0x140 [ 55.019106][ T3635] file_tty_write.constprop.0+0x452/0x890 [ 55.024869][ T3635] ? gsmtty_tiocmget+0xd0/0xd0 [ 55.029677][ T3635] vfs_write+0x9ed/0xdd0 [ 55.033959][ T3635] ? kernel_write+0x630/0x630 [ 55.038671][ T3635] ? find_held_lock+0x2d/0x110 [ 55.043510][ T3635] ? lock_downgrade+0x6e0/0x6e0 [ 55.048397][ T3635] ? __fget_light+0x20a/0x270 [ 55.053103][ T3635] ksys_write+0x12b/0x250 [ 55.057475][ T3635] ? __ia32_sys_read+0xb0/0xb0 [ 55.062375][ T3635] ? lockdep_hardirqs_on+0x7d/0x100 [ 55.067598][ T3635] ? _raw_spin_unlock_irq+0x2e/0x50 [ 55.072826][ T3635] ? ptrace_notify+0xfe/0x140 [ 55.077631][ T3635] do_syscall_64+0x39/0xb0 [ 55.082075][ T3635] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.087992][ T3635] RIP: 0033:0x7fdaa9b33289 [ 55.092420][ T3635] 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 [ 55.112038][ T3635] RSP: 002b:00007ffe8da67ab8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 55.120467][ T3635] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fdaa9b33289 write(3, NULL, 0) = 0 exit_group(0) = ? +++ exited with 0 +++ [ 55.128