./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor4222896430 <...> Warning: Permanently added '10.128.0.103' (ED25519) to the list of known hosts. execve("./syz-executor4222896430", ["./syz-executor4222896430"], 0x7ffc998b2c40 /* 10 vars */) = 0 brk(NULL) = 0x555557462000 brk(0x555557462d00) = 0x555557462d00 arch_prctl(ARCH_SET_FS, 0x555557462380) = 0 set_tid_address(0x555557462650) = 5058 set_robust_list(0x555557462660, 24) = 0 rseq(0x555557462ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor4222896430", 4096) = 28 getrandom("\xaa\xa5\x14\x05\xdb\x34\xac\x3a", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555557462d00 brk(0x555557483d00) = 0x555557483d00 brk(0x555557484000) = 0x555557484000 mprotect(0x7f92eed68000, 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:20", O_RDWR) = 3 ioctl(3, TIOCSETD, [21]) = 0 [ 54.281731][ T5058] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 54.291253][ T5058] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5058, name: syz-executor422 [ 54.300690][ T5058] preempt_count: 1, expected: 0 [ 54.305515][ T5058] RCU nest depth: 0, expected: 0 [ 54.310425][ T5058] 3 locks held by syz-executor422/5058: [ 54.315945][ T5058] #0: ffff88801e08a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 [ 54.325692][ T5058] #1: ffff88801e08a130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x1f3/0x9b0 [ 54.335952][ T5058] #2: ffff888077d4e3e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x5f/0x130 [ 54.345020][ T5058] irq event stamp: 3862 [ 54.349161][ T5058] hardirqs last enabled at (3861): [] _raw_spin_unlock_irq+0x23/0x50 [ 54.358887][ T5058] hardirqs last disabled at (3862): [] _raw_spin_lock_irqsave+0xb0/0x120 [ 54.368862][ T5058] softirqs last enabled at (3278): [] __irq_exit_rcu+0xf1/0x1c0 [ 54.378148][ T5058] softirqs last disabled at (3237): [] __irq_exit_rcu+0xf1/0x1c0 [ 54.387426][ T5058] Preemption disabled at: [ 54.387434][ T5058] [<0000000000000000>] 0x0 [ 54.396138][ T5058] CPU: 1 PID: 5058 Comm: syz-executor422 Not tainted 6.8.0-rc7-syzkaller-00229-g10d48d70e82d #0 [ 54.406533][ T5058] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 54.416583][ T5058] Call Trace: [ 54.419853][ T5058] [ 54.422785][ T5058] dump_stack_lvl+0x1e7/0x2e0 [ 54.427460][ T5058] ? __pfx_dump_stack_lvl+0x10/0x10 [ 54.432646][ T5058] ? __pfx__printk+0x10/0x10 [ 54.437236][ T5058] __might_resched+0x5d3/0x780 [ 54.442011][ T5058] ? __pfx___might_resched+0x10/0x10 [ 54.447298][ T5058] ? __pfx_validate_chain+0x10/0x10 [ 54.452486][ T5058] ? stack_trace_save+0x117/0x1d0 [ 54.457503][ T5058] console_lock+0x20/0x1b0 [ 54.461913][ T5058] do_con_write+0x114/0x7820 [ 54.466501][ T5058] ? lockdep_unlock+0x169/0x300 [ 54.471356][ T5058] ? mark_lock+0x2a4/0x350 [ 54.475766][ T5058] ? __lock_acquire+0x1345/0x1fd0 [ 54.480806][ T5058] ? __pfx_do_con_write+0x10/0x10 [ 54.485825][ T5058] ? do_raw_spin_lock+0x14e/0x370 [ 54.490846][ T5058] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 54.496217][ T5058] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 54.502104][ T5058] ? __pfx___mutex_trylock_common+0x10/0x10 [ 54.507988][ T5058] con_write+0x26/0x40 [ 54.512051][ T5058] gsmld_write+0xfe/0x130 [ 54.516386][ T5058] ? __pfx_gsmld_write+0x10/0x10 [ 54.521315][ T5058] file_tty_write+0x54f/0x9b0 [ 54.525989][ T5058] vfs_write+0xa81/0xcb0 [ 54.530228][ T5058] ? __pfx_vfs_write+0x10/0x10 [ 54.534990][ T5058] ? lockdep_hardirqs_on+0x98/0x140 [ 54.540187][ T5058] ? __fdget_pos+0x1a1/0x320 [ 54.544769][ T5058] ksys_write+0x1a0/0x2c0 [ 54.549091][ T5058] ? __pfx_ksys_write+0x10/0x10 [ 54.553931][ T5058] ? do_syscall_64+0x108/0x240 [ 54.558683][ T5058] ? syscall_trace_enter+0x5e/0x150 [ 54.563876][ T5058] do_syscall_64+0xf9/0x240 [ 54.568368][ T5058] entry_SYSCALL_64_after_hwframe+0x6f/0x77 [ 54.574254][ T5058] RIP: 0033:0x7f92eecf5569 [ 54.578661][ T5058] 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.598258][ T5058] RSP: 002b:00007fffbb63e2e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 54.606662][ T5058] RAX: ffffffffffffffda RBX: 00007fffbb63e4b8 RCX: 00007f92eecf5569 [ 54.614620][ T5058] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 54.622578][ T5058] RBP: 00007f92eed68610 R08: 00007fffbb63e4b8 R09: 00007fffbb63e4b8 write(3, NULL, 0) = 0 exit_group(0) = ? +++ exited with 0 +++ [ 54.630534][ T5058] R10: 00007ff