./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor638844481 <...> Warning: Permanently added '10.128.1.183' (ED25519) to the list of known hosts. execve("./syz-executor638844481", ["./syz-executor638844481"], 0x7ffc972b3440 /* 10 vars */) = 0 brk(NULL) = 0x5555555da000 brk(0x5555555dad00) = 0x5555555dad00 arch_prctl(ARCH_SET_FS, 0x5555555da380) = 0 set_tid_address(0x5555555da650) = 5066 set_robust_list(0x5555555da660, 24) = 0 rseq(0x5555555daca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor638844481", 4096) = 27 getrandom("\x74\xd6\x24\x6f\xe7\x4a\x4c\x25", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555555dad00 brk(0x5555555fbd00) = 0x5555555fbd00 brk(0x5555555fc000) = 0x5555555fc000 mprotect(0x7f1e8a735000, 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 [ 53.973735][ T5066] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 53.983243][ T5066] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5066, name: syz-executor638 [ 53.992677][ T5066] preempt_count: 1, expected: 0 [ 53.997500][ T5066] RCU nest depth: 0, expected: 0 [ 54.002413][ T5066] 3 locks held by syz-executor638/5066: [ 54.007930][ T5066] #0: ffff888028e160a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 [ 54.017666][ T5066] #1: ffff888028e16130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x293/0x9b0 [ 54.028946][ T5066] #2: ffff8881457983e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x150 [ 54.037966][ T5066] irq event stamp: 3816 [ 54.042090][ T5066] hardirqs last enabled at (3815): [] _raw_spin_unlock_irq+0x23/0x50 [ 54.051786][ T5066] hardirqs last disabled at (3816): [] _raw_spin_lock_irqsave+0x4e/0x50 [ 54.061651][ T5066] softirqs last enabled at (3364): [] __do_softirq+0x597/0x8de [ 54.070827][ T5066] softirqs last disabled at (3353): [] irq_exit_rcu+0xb7/0x120 [ 54.079929][ T5066] Preemption disabled at: [ 54.079935][ T5066] [<0000000000000000>] 0x0 [ 54.088625][ T5066] CPU: 0 PID: 5066 Comm: syz-executor638 Not tainted 6.7.0-rc1-syzkaller-00125-g7475e51b8796 #0 [ 54.099013][ T5066] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 54.109046][ T5066] Call Trace: [ 54.112304][ T5066] [ 54.115212][ T5066] dump_stack_lvl+0xd9/0x1b0 [ 54.119784][ T5066] __might_resched+0x3c3/0x5e0 [ 54.124527][ T5066] ? preempt_count_sub+0x160/0x160 [ 54.129615][ T5066] ? add_lock_to_list+0x17d/0x380 [ 54.134624][ T5066] console_lock+0x34/0x150 [ 54.139016][ T5066] do_con_write+0x145/0x7f40 [ 54.143589][ T5066] ? lockdep_hardirqs_on_prepare+0x420/0x420 [ 54.149551][ T5066] ? preempt_count_sub+0x160/0x160 [ 54.154637][ T5066] ? reset_palette+0x2a0/0x2a0 [ 54.159383][ T5066] ? lock_acquire+0x1ae/0x520 [ 54.164044][ T5066] ? lock_sync+0x190/0x190 [ 54.168441][ T5066] ? do_raw_spin_lock+0x12e/0x2b0 [ 54.173439][ T5066] ? spin_bug+0x1d0/0x1d0 [ 54.177766][ T5066] con_write+0x23/0xb0 [ 54.181813][ T5066] gsmld_write+0xd0/0x150 [ 54.186117][ T5066] ? gsm_dlci_copy_config_values+0x300/0x300 [ 54.192072][ T5066] file_tty_write.constprop.0+0x519/0x9b0 [ 54.197772][ T5066] vfs_write+0x64f/0xdf0 [ 54.201993][ T5066] ? kernel_write+0x6c0/0x6c0 [ 54.206650][ T5066] ? __fget_light+0x1fc/0x260 [ 54.211310][ T5066] ksys_write+0x12f/0x250 [ 54.215614][ T5066] ? __ia32_sys_read+0xb0/0xb0 [ 54.220356][ T5066] ? syscall_trace_enter.constprop.0+0xaf/0x1e0 [ 54.226578][ T5066] do_syscall_64+0x40/0x110 [ 54.231063][ T5066] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 54.236940][ T5066] RIP: 0033:0x7f1e8a6c2569 [ 54.241421][ T5066] 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 [ 54.261005][ T5066] RSP: 002b:00007ffef9536648 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 write(3, NULL, 0) = 0 exit_group(0) = ? +++ exited with 0 +++ [ 54.269394][ T5066] RAX: ffffffffffffffda RBX: 00007ffef9536818 R