./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor2032175687 <...> Warning: Permanently added '10.128.0.76' (ED25519) to the list of known hosts. execve("./syz-executor2032175687", ["./syz-executor2032175687"], 0x7ffde1d43580 /* 10 vars */) = 0 brk(NULL) = 0x555582e6e000 brk(0x555582e6ed00) = 0x555582e6ed00 arch_prctl(ARCH_SET_FS, 0x555582e6e380) = 0 set_tid_address(0x555582e6e650) = 5057 set_robust_list(0x555582e6e660, 24) = 0 rseq(0x555582e6eca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor2032175687", 4096) = 28 getrandom("\xa4\xb1\xc2\x39\xf8\x27\x8d\x9a", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555582e6ed00 brk(0x555582e8fd00) = 0x555582e8fd00 brk(0x555582e90000) = 0x555582e90000 mprotect(0x7febe9d17000, 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 [ 76.491394][ T5057] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 76.501114][ T5057] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5057, name: syz-executor203 [ 76.510674][ T5057] preempt_count: 1, expected: 0 [ 76.515519][ T5057] RCU nest depth: 0, expected: 0 [ 76.520457][ T5057] 3 locks held by syz-executor203/5057: [ 76.525995][ T5057] #0: ffff8880157de0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 [ 76.535797][ T5057] #1: ffff8880157de130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x1f3/0x9b0 [ 76.546098][ T5057] #2: ffff88807a0243e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x5f/0x130 [ 76.555288][ T5057] irq event stamp: 3864 [ 76.559451][ T5057] hardirqs last enabled at (3863): [] _raw_spin_unlock_irq+0x23/0x50 [ 76.569402][ T5057] hardirqs last disabled at (3864): [] _raw_spin_lock_irqsave+0xb0/0x120 [ 76.579521][ T5057] softirqs last enabled at (3758): [] __irq_exit_rcu+0xf2/0x1c0 [ 76.588833][ T5057] softirqs last disabled at (3741): [] __irq_exit_rcu+0xf2/0x1c0 [ 76.598136][ T5057] Preemption disabled at: [ 76.598146][ T5057] [<0000000000000000>] 0x0 [ 76.606907][ T5057] CPU: 1 PID: 5057 Comm: syz-executor203 Not tainted 6.8.0-syzkaller-01185-g855684c7d938 #0 [ 76.617057][ T5057] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 76.627197][ T5057] Call Trace: [ 76.630518][ T5057] [ 76.633478][ T5057] dump_stack_lvl+0x1e7/0x2e0 [ 76.638178][ T5057] ? __pfx_dump_stack_lvl+0x10/0x10 [ 76.643395][ T5057] ? __pfx__printk+0x10/0x10 [ 76.648005][ T5057] __might_resched+0x5d4/0x780 [ 76.652790][ T5057] ? __pfx___might_resched+0x10/0x10 [ 76.658092][ T5057] ? __pfx_validate_chain+0x10/0x10 [ 76.663304][ T5057] ? stack_trace_save+0x118/0x1d0 [ 76.668339][ T5057] console_lock+0x20/0x1b0 [ 76.672783][ T5057] do_con_write+0x114/0x7820 [ 76.677424][ T5057] ? lockdep_unlock+0x16a/0x300 [ 76.682308][ T5057] ? mark_lock+0x2a4/0x350 [ 76.686737][ T5057] ? __lock_acquire+0x1346/0x1fd0 [ 76.691800][ T5057] ? __pfx_do_con_write+0x10/0x10 [ 76.696836][ T5057] ? do_raw_spin_lock+0x14f/0x370 [ 76.701878][ T5057] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 76.707268][ T5057] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 76.713164][ T5057] ? __pfx___mutex_trylock_common+0x10/0x10 [ 76.719077][ T5057] con_write+0x26/0x40 [ 76.723153][ T5057] gsmld_write+0xfe/0x130 [ 76.727496][ T5057] ? __pfx_gsmld_write+0x10/0x10 [ 76.732439][ T5057] file_tty_write+0x54f/0x9b0 [ 76.737131][ T5057] vfs_write+0xa84/0xcb0 [ 76.741387][ T5057] ? __pfx_vfs_write+0x10/0x10 [ 76.746162][ T5057] ? lockdep_hardirqs_on+0x99/0x150 [ 76.751371][ T5057] ? __fdget_pos+0x1a2/0x320 [ 76.755971][ T5057] ksys_write+0x1a0/0x2c0 [ 76.760318][ T5057] ? __pfx_ksys_write+0x10/0x10 [ 76.765179][ T5057] ? do_syscall_64+0x10a/0x240 [ 76.769980][ T5057] ? syscall_trace_enter+0x5f/0x150 [ 76.775180][ T5057] do_syscall_64+0xfb/0x240 [ 76.779694][ T5057] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 76.785594][ T5057] RIP: 0033:0x7febe9ca4569 [ 76.790110][ T5057] 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 [ 76.809723][ T5057] RSP: 002b:00007ffc63483918 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 76.818141][ T5057] RAX: ffffffffffffffda RBX: 00007ffc63483ae8 RCX: 00007febe9ca4569 [ 76.826311][ T5057] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 [ 76.834294][ T5057] RBP: 00007febe9d17610 R08: 00007ffc63483626 R09: 00007ffc63483ae8 write(4, NULL, 0) = 0 exit_group(0) = ? +++ exited with 0 +++ [ 76.84