./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor451528828 <...> Warning: Permanently added '10.128.1.61' (ED25519) to the list of known hosts. execve("./syz-executor451528828", ["./syz-executor451528828"], 0x7ffc0edfa520 /* 10 vars */) = 0 brk(NULL) = 0x5555560c0000 brk(0x5555560c0d00) = 0x5555560c0d00 arch_prctl(ARCH_SET_FS, 0x5555560c0380) = 0 set_tid_address(0x5555560c0650) = 5064 set_robust_list(0x5555560c0660, 24) = 0 rseq(0x5555560c0ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor451528828", 4096) = 27 getrandom("\x91\x19\x7c\xdf\x9d\x1b\x21\xc0", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555560c0d00 brk(0x5555560e1d00) = 0x5555560e1d00 brk(0x5555560e2000) = 0x5555560e2000 mprotect(0x7f36b8b4b000, 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.580824][ T5064] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 56.590374][ T5064] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5064, name: syz-executor451 [ 56.599828][ T5064] preempt_count: 1, expected: 0 [ 56.604743][ T5064] RCU nest depth: 0, expected: 0 [ 56.609655][ T5064] 3 locks held by syz-executor451/5064: [ 56.615176][ T5064] #0: ffff88807b1fd0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 [ 56.624929][ T5064] #1: ffff88807b1fd130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x293/0x9b0 [ 56.636224][ T5064] #2: ffff8880722093e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x150 [ 56.645275][ T5064] irq event stamp: 3770 [ 56.649410][ T5064] hardirqs last enabled at (3769): [] _raw_spin_unlock_irq+0x23/0x50 [ 56.659124][ T5064] hardirqs last disabled at (3770): [] _raw_spin_lock_irqsave+0x4e/0x50 [ 56.668999][ T5064] softirqs last enabled at (3158): [] __do_softirq+0x597/0x8de [ 56.678198][ T5064] softirqs last disabled at (3127): [] irq_exit_rcu+0xb7/0x120 [ 56.687299][ T5064] Preemption disabled at: [ 56.687304][ T5064] [<0000000000000000>] 0x0 [ 56.696128][ T5064] CPU: 0 PID: 5064 Comm: syz-executor451 Not tainted 6.7.0-rc1-syzkaller-00019-gc42d9eeef8e5 #0 [ 56.706554][ T5064] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 56.716607][ T5064] Call Trace: [ 56.719886][ T5064] [ 56.722811][ T5064] dump_stack_lvl+0xd9/0x1b0 [ 56.727406][ T5064] __might_resched+0x3c3/0x5e0 [ 56.732175][ T5064] ? preempt_count_sub+0x160/0x160 [ 56.737284][ T5064] ? add_lock_to_list+0x17d/0x380 [ 56.742314][ T5064] console_lock+0x34/0x150 [ 56.746728][ T5064] do_con_write+0x145/0x7f40 [ 56.751327][ T5064] ? lockdep_hardirqs_on_prepare+0x420/0x420 [ 56.757311][ T5064] ? preempt_count_sub+0x160/0x160 [ 56.762421][ T5064] ? reset_palette+0x2a0/0x2a0 [ 56.767181][ T5064] ? lock_acquire+0x1ae/0x520 [ 56.771864][ T5064] ? lock_sync+0x190/0x190 [ 56.776295][ T5064] ? do_raw_spin_lock+0x12e/0x2b0 [ 56.781310][ T5064] ? spin_bug+0x1d0/0x1d0 [ 56.785639][ T5064] con_write+0x23/0xb0 [ 56.789709][ T5064] gsmld_write+0xd0/0x150 [ 56.794033][ T5064] ? gsm_dlci_copy_config_values+0x300/0x300 [ 56.800011][ T5064] file_tty_write.constprop.0+0x519/0x9b0 [ 56.805758][ T5064] vfs_write+0x64f/0xdf0 [ 56.809999][ T5064] ? kernel_write+0x6c0/0x6c0 [ 56.814681][ T5064] ? __fget_light+0x1fc/0x260 [ 56.819471][ T5064] ksys_write+0x12f/0x250 [ 56.823808][ T5064] ? __ia32_sys_read+0xb0/0xb0 [ 56.828563][ T5064] ? syscall_trace_enter.constprop.0+0xaf/0x1e0 [ 56.834803][ T5064] do_syscall_64+0x40/0x110 [ 56.839306][ T5064] entry_SYSCALL_64_after_hwframe+0x63/0x6b [ 56.845200][ T5064] RIP: 0033:0x7f36b8ad8569 [ 56.849607][ T5064] 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.869206][ T5064] RSP: 002b:00007ffd6023a108 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 write(3, NULL, 0) = 0 exit_group(0) = ? +++ exited with 0 +++ [ 56.877612][ T5064] RAX: ffffffffffffffda RBX: 00007