./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor397943836 <...> Warning: Permanently added '10.128.0.88' (ED25519) to the list of known hosts. execve("./syz-executor397943836", ["./syz-executor397943836"], 0x7ffd84275120 /* 10 vars */) = 0 brk(NULL) = 0x555557486000 brk(0x555557486d00) = 0x555557486d00 arch_prctl(ARCH_SET_FS, 0x555557486380) = 0 set_tid_address(0x555557486650) = 5057 set_robust_list(0x555557486660, 24) = 0 rseq(0x555557486ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor397943836", 4096) = 27 getrandom("\x0b\x02\x34\xd3\xee\x9b\xd6\x46", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555557486d00 brk(0x5555574a7d00) = 0x5555574a7d00 brk(0x5555574a8000) = 0x5555574a8000 mprotect(0x7f2d9bf2d000, 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 [ 56.571780][ T5057] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 56.581288][ T5057] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5057, name: syz-executor397 [ 56.590721][ T5057] preempt_count: 1, expected: 0 [ 56.595560][ T5057] RCU nest depth: 0, expected: 0 [ 56.600473][ T5057] 3 locks held by syz-executor397/5057: [ 56.605993][ T5057] #0: ffff88807f5d70a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 [ 56.615741][ T5057] #1: ffff88807f5d7130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x1f3/0x9b0 [ 56.625991][ T5057] #2: ffff88802187b3e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x5f/0x130 [ 56.635036][ T5057] irq event stamp: 4634 [ 56.639165][ T5057] hardirqs last enabled at (4633): [] _raw_spin_unlock_irq+0x23/0x50 [ 56.648868][ T5057] hardirqs last disabled at (4634): [] _raw_spin_lock_irqsave+0xb0/0x120 [ 56.658824][ T5057] softirqs last enabled at (2582): [] fpu_flush_thread+0x1e3/0x350 [ 56.668348][ T5057] softirqs last disabled at (2580): [] fpu_flush_thread+0x1e3/0x350 [ 56.677880][ T5057] Preemption disabled at: [ 56.677888][ T5057] [<0000000000000000>] 0x0 [ 56.686597][ T5057] CPU: 0 PID: 5057 Comm: syz-executor397 Not tainted 6.8.0-syzkaller #0 [ 56.694905][ T5057] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 56.704946][ T5057] Call Trace: [ 56.708212][ T5057] [ 56.711136][ T5057] dump_stack_lvl+0x1e7/0x2e0 [ 56.715806][ T5057] ? __pfx_dump_stack_lvl+0x10/0x10 [ 56.720993][ T5057] ? __pfx__printk+0x10/0x10 [ 56.725586][ T5057] __might_resched+0x5d3/0x780 [ 56.730341][ T5057] ? __pfx___might_resched+0x10/0x10 [ 56.735616][ T5057] ? __pfx_validate_chain+0x10/0x10 [ 56.740804][ T5057] ? stack_trace_save+0x117/0x1d0 [ 56.745820][ T5057] console_lock+0x20/0x1b0 [ 56.750225][ T5057] do_con_write+0x114/0x7820 [ 56.754813][ T5057] ? lockdep_unlock+0x169/0x300 [ 56.759661][ T5057] ? mark_lock+0x2a4/0x350 [ 56.764066][ T5057] ? __lock_acquire+0x1345/0x1fd0 [ 56.769100][ T5057] ? __pfx_do_con_write+0x10/0x10 [ 56.774119][ T5057] ? do_raw_spin_lock+0x14e/0x370 [ 56.779136][ T5057] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 56.784510][ T5057] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 56.790404][ T5057] ? __pfx___mutex_trylock_common+0x10/0x10 [ 56.796288][ T5057] con_write+0x26/0x40 [ 56.800352][ T5057] gsmld_write+0xfe/0x130 [ 56.804673][ T5057] ? __pfx_gsmld_write+0x10/0x10 [ 56.809600][ T5057] file_tty_write+0x54f/0x9b0 [ 56.814271][ T5057] vfs_write+0xa81/0xcb0 [ 56.818512][ T5057] ? __pfx_vfs_write+0x10/0x10 [ 56.823275][ T5057] ? lockdep_hardirqs_on+0x98/0x140 [ 56.828466][ T5057] ? __fdget_pos+0x1a1/0x320 [ 56.833055][ T5057] ksys_write+0x1a0/0x2c0 [ 56.837376][ T5057] ? __pfx_ksys_write+0x10/0x10 [ 56.842217][ T5057] ? do_syscall_64+0x108/0x240 [ 56.846971][ T5057] ? syscall_trace_enter+0x5e/0x150 [ 56.852167][ T5057] do_syscall_64+0xf9/0x240 [ 56.856660][ T5057] entry_SYSCALL_64_after_hwframe+0x6f/0x77 [ 56.862547][ T5057] RIP: 0033:0x7f2d9beba569 [ 56.866950][ 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 [ 56.886540][ T5057] RSP: 002b:00007ffe1ff96ad8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 56.894941][ T5057] RAX: ffffffffffffffda RBX: 00007ffe1ff96ca8 RCX: 00007f2d9beba569 [ 56.902914][ T5057] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 56.910885][ T5057] RBP: 00007f2d9bf2d610 R08: 00007ffe1ff96ca8 R09: 00007ffe1ff96ca8 write(3, NULL, 0) = 0 exit_group(0) = ? +++ exited with 0 +++ [ 56.918844][ T5057] R10: 00007ffe1ff967d6 R11: 0000