./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor4080391801 <...> Warning: Permanently added '10.128.0.194' (ED25519) to the list of known hosts. execve("./syz-executor4080391801", ["./syz-executor4080391801"], 0x7ffd5f867940 /* 10 vars */) = 0 brk(NULL) = 0x555563728000 brk(0x555563728d00) = 0x555563728d00 arch_prctl(ARCH_SET_FS, 0x555563728380) = 0 set_tid_address(0x555563728650) = 5058 set_robust_list(0x555563728660, 24) = 0 rseq(0x555563728ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor4080391801", 4096) = 28 getrandom("\xf5\x27\xb4\xd1\x5d\x7c\x65\x4c", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555563728d00 brk(0x555563749d00) = 0x555563749d00 brk(0x55556374a000) = 0x55556374a000 mprotect(0x7f44e789c000, 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 [ 71.564556][ T5058] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 71.574117][ T5058] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5058, name: syz-executor408 [ 71.583575][ T5058] preempt_count: 1, expected: 0 [ 71.588422][ T5058] RCU nest depth: 0, expected: 0 [ 71.593391][ T5058] 3 locks held by syz-executor408/5058: [ 71.598943][ T5058] #0: ffff888011b270a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 [ 71.608747][ T5058] #1: ffff888011b27130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x1f3/0x9b0 [ 71.619079][ T5058] #2: ffff88807d6d13e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x5f/0x130 [ 71.628150][ T5058] irq event stamp: 3916 [ 71.632298][ T5058] hardirqs last enabled at (3915): [] _raw_spin_unlock_irq+0x23/0x50 [ 71.642030][ T5058] hardirqs last disabled at (3916): [] _raw_spin_lock_irqsave+0xb0/0x120 [ 71.652013][ T5058] softirqs last enabled at (3784): [] __irq_exit_rcu+0xf2/0x1c0 [ 71.661303][ T5058] softirqs last disabled at (3775): [] __irq_exit_rcu+0xf2/0x1c0 [ 71.670588][ T5058] Preemption disabled at: [ 71.670597][ T5058] [<0000000000000000>] 0x0 [ 71.679326][ T5058] CPU: 0 PID: 5058 Comm: syz-executor408 Not tainted 6.8.0-syzkaller-01185-g855684c7d938 #0 [ 71.689395][ T5058] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 71.699457][ T5058] Call Trace: [ 71.702737][ T5058] [ 71.705970][ T5058] dump_stack_lvl+0x1e7/0x2e0 [ 71.710695][ T5058] ? __pfx_dump_stack_lvl+0x10/0x10 [ 71.715901][ T5058] ? __pfx__printk+0x10/0x10 [ 71.720509][ T5058] __might_resched+0x5d4/0x780 [ 71.725282][ T5058] ? __pfx___might_resched+0x10/0x10 [ 71.730601][ T5058] ? __pfx_validate_chain+0x10/0x10 [ 71.735828][ T5058] ? stack_trace_save+0x118/0x1d0 [ 71.740891][ T5058] console_lock+0x20/0x1b0 [ 71.745347][ T5058] do_con_write+0x114/0x7820 [ 71.749961][ T5058] ? lockdep_unlock+0x16a/0x300 [ 71.754851][ T5058] ? mark_lock+0x2a4/0x350 [ 71.759289][ T5058] ? __lock_acquire+0x1346/0x1fd0 [ 71.764333][ T5058] ? __pfx_do_con_write+0x10/0x10 [ 71.769371][ T5058] ? do_raw_spin_lock+0x14f/0x370 [ 71.774407][ T5058] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 71.779796][ T5058] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 71.785696][ T5058] ? __pfx___mutex_trylock_common+0x10/0x10 [ 71.791609][ T5058] con_write+0x26/0x40 [ 71.795688][ T5058] gsmld_write+0xfe/0x130 [ 71.800029][ T5058] ? __pfx_gsmld_write+0x10/0x10 [ 71.804977][ T5058] file_tty_write+0x54f/0x9b0 [ 71.809672][ T5058] vfs_write+0xa84/0xcb0 [ 71.813933][ T5058] ? __pfx_vfs_write+0x10/0x10 [ 71.818720][ T5058] ? lockdep_hardirqs_on+0x99/0x150 [ 71.823947][ T5058] ? __fdget_pos+0x1a2/0x320 [ 71.828544][ T5058] ksys_write+0x1a0/0x2c0 [ 71.832887][ T5058] ? __pfx_ksys_write+0x10/0x10 [ 71.837744][ T5058] ? do_syscall_64+0x10a/0x240 [ 71.842520][ T5058] ? syscall_trace_enter+0x5f/0x150 [ 71.847748][ T5058] do_syscall_64+0xfb/0x240 [ 71.852266][ T5058] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 71.858172][ T5058] RIP: 0033:0x7f44e7829569 [ 71.862612][ 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 [ 71.882224][ T5058] RSP: 002b:00007ffd42283928 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 71.890666][ T5058] RAX: ffffffffffffffda RBX: 00007ffd42283af8 RCX: 00007f44e7829569 [ 71.898648][ T5058] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 71.906659][ T5058] RBP: 00007f44e789c610 R08: 00007ffd42283af8 R09: 00007ffd42283af8 write(3, NULL, 0) = 0 exit_group(0) = ? +++ exited with 0 +++ [ 71.914646][ T5058