./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1810081948 <...> Warning: Permanently added '10.128.0.188' (ED25519) to the list of known hosts. execve("./syz-executor1810081948", ["./syz-executor1810081948"], 0x7ffe6c78df90 /* 10 vars */) = 0 brk(NULL) = 0x555555701000 brk(0x555555701d00) = 0x555555701d00 arch_prctl(ARCH_SET_FS, 0x555555701380) = 0 set_tid_address(0x555555701650) = 5061 set_robust_list(0x555555701660, 24) = 0 rseq(0x555555701ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1810081948", 4096) = 28 getrandom("\x15\xb9\xe6\x69\xad\x4f\x94\xf7", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555555701d00 brk(0x555555722d00) = 0x555555722d00 brk(0x555555723000) = 0x555555723000 mprotect(0x7fe9e72fb000, 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 openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 4 [ 74.784459][ T5061] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 74.794027][ T5061] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5061, name: syz-executor181 [ 74.803473][ T5061] preempt_count: 1, expected: 0 [ 74.808307][ T5061] RCU nest depth: 0, expected: 0 [ 74.813222][ T5061] 3 locks held by syz-executor181/5061: [ 74.818745][ T5061] #0: ffff888024b2e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 [ 74.828499][ T5061] #1: ffff888024b2e130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x293/0x9b0 [ 74.839827][ T5061] #2: ffff88807a7403e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x150 [ 74.848899][ T5061] irq event stamp: 8350 [ 74.853045][ T5061] hardirqs last enabled at (8349): [] _raw_spin_unlock_irq+0x23/0x50 [ 74.862776][ T5061] hardirqs last disabled at (8350): [] _raw_spin_lock_irqsave+0x52/0x60 [ 74.872668][ T5061] softirqs last enabled at (7860): [] __do_softirq+0x596/0x8de [ 74.881867][ T5061] softirqs last disabled at (7849): [] irq_exit_rcu+0xb9/0x120 [ 74.890983][ T5061] Preemption disabled at: [ 74.890992][ T5061] [<0000000000000000>] 0x0 [ 74.899721][ T5061] CPU: 1 PID: 5061 Comm: syz-executor181 Not tainted 6.7.0-next-20240119-syzkaller #0 [ 74.909265][ T5061] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 74.919327][ T5061] Call Trace: [ 74.922608][ T5061] [ 74.925538][ T5061] dump_stack_lvl+0xd9/0x1b0 [ 74.930143][ T5061] __might_resched+0x3c0/0x5e0 [ 74.934929][ T5061] ? __pfx___might_resched+0x10/0x10 [ 74.940226][ T5061] ? add_lock_to_list+0x17d/0x380 [ 74.945266][ T5061] console_lock+0x34/0x150 [ 74.949694][ T5061] do_con_write+0x149/0x7f50 [ 74.954308][ T5061] ? __pfx___lock_acquire+0x10/0x10 [ 74.959531][ T5061] ? __pfx___might_resched+0x10/0x10 [ 74.964825][ T5061] ? __pfx_do_con_write+0x10/0x10 [ 74.969875][ T5061] ? lock_acquire+0x1b1/0x540 [ 74.974573][ T5061] ? __pfx_lock_acquire+0x10/0x10 [ 74.979608][ T5061] ? do_raw_spin_lock+0x12d/0x2c0 [ 74.984632][ T5061] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 74.990014][ T5061] con_write+0x23/0xc0 [ 74.994269][ T5061] gsmld_write+0xd2/0x150 [ 74.998601][ T5061] ? __pfx_gsmld_write+0x10/0x10 [ 75.003547][ T5061] file_tty_write.constprop.0+0x518/0x9b0 [ 75.009299][ T5061] vfs_write+0x6db/0x1100 [ 75.013651][ T5061] ? __pfx_vfs_write+0x10/0x10 [ 75.018432][ T5061] ? find_held_lock+0x2d/0x110 [ 75.023206][ T5061] ? __pfx_lock_release+0x10/0x10 [ 75.028257][ T5061] ? __fget_light+0x176/0x210 [ 75.032958][ T5061] ksys_write+0x12f/0x260 [ 75.037297][ T5061] ? __pfx_ksys_write+0x10/0x10 [ 75.042155][ T5061] ? lockdep_hardirqs_on+0x7c/0x110 [ 75.047367][ T5061] ? _raw_spin_unlock_irq+0x2e/0x50 [ 75.052566][ T5061] ? ptrace_notify+0xf1/0x130 [ 75.057254][ T5061] do_syscall_64+0xd2/0x260 [ 75.061768][ T5061] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 75.067667][ T5061] RIP: 0033:0x7fe9e7288569 [ 75.072087][ T5061] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 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 b8 ff ff ff f7 d8 64 89 01 48 [ 75.091697][ T5061] RSP: 002b:00007ffe124e1468 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 75.100118][ T5061] RAX: ffffffffffffffda RBX: 00007ffe124e1638 RCX: 00007fe9e7288569 [ 75.108089][ T5061] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 [ 75.116058][ T5061] RBP: 00007fe9e72fb610 R08: 00007ffe124e1176 R09: 00007ffe124e1638 [ 75.124029][ T5061] R10: 000000000000000e R11: 0000000000000246 R12: 0000000000000001 write(4, NULL, 0) = 0 exit_group(0) = ? +++ exited with 0 +++ [ 75.131996][ T5061] R13: 00007ffe124e1628 R14