./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3334382404 <...> Warning: Permanently added '10.128.1.170' (ED25519) to the list of known hosts. execve("./syz-executor3334382404", ["./syz-executor3334382404"], 0x7ffc39cd6210 /* 10 vars */) = 0 brk(NULL) = 0x55555662b000 brk(0x55555662bd00) = 0x55555662bd00 arch_prctl(ARCH_SET_FS, 0x55555662b380) = 0 set_tid_address(0x55555662b650) = 5062 set_robust_list(0x55555662b660, 24) = 0 rseq(0x55555662bca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3334382404", 4096) = 28 getrandom("\xc8\x68\xe4\x02\x8f\x86\xf8\x8f", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555662bd00 brk(0x55555664cd00) = 0x55555664cd00 brk(0x55555664d000) = 0x55555664d000 mprotect(0x7f21d26b0000, 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:1", O_RDWR) = 3 ioctl(3, TIOCSETD, [21]) = 0 openat(AT_FDCWD, "/dev/char/4:1", O_RDWR) = 4 [ 74.602217][ T5062] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 74.611857][ T5062] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5062, name: syz-executor333 [ 74.621317][ T5062] preempt_count: 1, expected: 0 [ 74.626164][ T5062] RCU nest depth: 0, expected: 0 [ 74.631107][ T5062] 3 locks held by syz-executor333/5062: [ 74.636652][ T5062] #0: ffff8880225440a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 [ 74.646460][ T5062] #1: ffff888022544130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x1f3/0x9b0 [ 74.656767][ T5062] #2: ffff88801e9763e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x5f/0x130 [ 74.665839][ T5062] irq event stamp: 3360 [ 74.669988][ T5062] hardirqs last enabled at (3359): [] _raw_spin_unlock_irq+0x23/0x50 [ 74.679813][ T5062] hardirqs last disabled at (3360): [] _raw_spin_lock_irqsave+0xb0/0x120 [ 74.689800][ T5062] softirqs last enabled at (1610): [] fpu_flush_thread+0x1e3/0x350 [ 74.699349][ T5062] softirqs last disabled at (1608): [] fpu_flush_thread+0x1e3/0x350 [ 74.708899][ T5062] Preemption disabled at: [ 74.708908][ T5062] [<0000000000000000>] 0x0 [ 74.717655][ T5062] CPU: 1 PID: 5062 Comm: syz-executor333 Not tainted 6.8.0-rc7-syzkaller-00017-g29cd507cbec2 #0 [ 74.728067][ T5062] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 [ 74.738124][ T5062] Call Trace: [ 74.741406][ T5062] [ 74.744338][ T5062] dump_stack_lvl+0x1e7/0x2e0 [ 74.749024][ T5062] ? __pfx_dump_stack_lvl+0x10/0x10 [ 74.754225][ T5062] ? __pfx__printk+0x10/0x10 [ 74.758836][ T5062] __might_resched+0x5d3/0x780 [ 74.763610][ T5062] ? __pfx___might_resched+0x10/0x10 [ 74.768903][ T5062] ? __pfx_validate_chain+0x10/0x10 [ 74.774108][ T5062] ? stack_trace_save+0x117/0x1d0 [ 74.779141][ T5062] console_lock+0x20/0x1b0 [ 74.783565][ T5062] do_con_write+0x114/0x7820 [ 74.788171][ T5062] ? lockdep_unlock+0x169/0x300 [ 74.793049][ T5062] ? mark_lock+0x2a4/0x350 [ 74.797470][ T5062] ? __lock_acquire+0x1345/0x1fd0 [ 74.802532][ T5062] ? __pfx_do_con_write+0x10/0x10 [ 74.807571][ T5062] ? do_raw_spin_lock+0x14e/0x370 [ 74.812609][ T5062] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 74.817999][ T5062] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 74.823903][ T5062] ? __pfx___mutex_trylock_common+0x10/0x10 [ 74.829806][ T5062] con_write+0x26/0x40 [ 74.833886][ T5062] gsmld_write+0xfe/0x130 [ 74.838227][ T5062] ? __pfx_gsmld_write+0x10/0x10 [ 74.843172][ T5062] file_tty_write+0x54f/0x9b0 [ 74.847865][ T5062] vfs_write+0xa81/0xcb0 [ 74.852124][ T5062] ? __pfx_vfs_write+0x10/0x10 [ 74.856924][ T5062] ? lockdep_hardirqs_on+0x98/0x140 [ 74.862161][ T5062] ? __fdget_pos+0x1a1/0x320 [ 74.866779][ T5062] ksys_write+0x1a0/0x2c0 [ 74.871154][ T5062] ? __pfx_ksys_write+0x10/0x10 [ 74.876012][ T5062] ? do_syscall_64+0x108/0x240 [ 74.880781][ T5062] ? syscall_trace_enter+0x5e/0x150 [ 74.885997][ T5062] do_syscall_64+0xf9/0x240 [ 74.890509][ T5062] entry_SYSCALL_64_after_hwframe+0x6f/0x77 [ 74.896411][ T5062] RIP: 0033:0x7f21d263d569 [ 74.900858][ T5062] 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 [ 74.920505][ T5062] RSP: 002b:00007ffdbc88d658 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 74.928982][ T5062] RAX: ffffffffffffffda RBX: 00007ffdbc88d828 RCX: 00007f21d263d569 [ 74.936966][ T5062] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 [ 74.944940][ T5062] RBP: 00007f21d26b0610 R08: 00007ffdbc88d367 R09: 00007ffdbc88d828 write(4, NULL, 0) = 0 exit_group(0) = ? +++ exited with 0 +++ [ 74.95291