./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor622715064 <...> Warning: Permanently added '10.128.1.44' (ED25519) to the list of known hosts. execve("./syz-executor622715064", ["./syz-executor622715064"], 0x7ffc4dbd6560 /* 10 vars */) = 0 brk(NULL) = 0x55558a15c000 brk(0x55558a15cd00) = 0x55558a15cd00 arch_prctl(ARCH_SET_FS, 0x55558a15c380) = 0 set_tid_address(0x55558a15c650) = 5074 set_robust_list(0x55558a15c660, 24) = 0 rseq(0x55558a15cca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor622715064", 4096) = 27 getrandom("\x5d\xd9\xcf\x3e\xcd\xff\xe1\x46", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55558a15cd00 brk(0x55558a17dd00) = 0x55558a17dd00 brk(0x55558a17e000) = 0x55558a17e000 mprotect(0x7febafc52000, 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 [ 72.184017][ T5074] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2653 [ 72.193575][ T5074] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5074, name: syz-executor622 [ 72.203054][ T5074] preempt_count: 1, expected: 0 [ 72.207917][ T5074] RCU nest depth: 0, expected: 0 [ 72.212876][ T5074] 3 locks held by syz-executor622/5074: [ 72.218445][ T5074] #0: ffff88801cf6e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 [ 72.228290][ T5074] #1: ffff88801cf6e130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x1f3/0x9b0 [ 72.238583][ T5074] #2: ffff88807fd853e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x5f/0x130 [ 72.247662][ T5074] irq event stamp: 4202 [ 72.251807][ T5074] hardirqs last enabled at (4201): [] _raw_spin_unlock_irqrestore+0x8f/0x140 [ 72.262241][ T5074] hardirqs last disabled at (4202): [] _raw_spin_lock_irqsave+0xb0/0x120 [ 72.272227][ T5074] softirqs last enabled at (2940): [] __irq_exit_rcu+0xf2/0x1c0 [ 72.281516][ T5074] softirqs last disabled at (2885): [] __irq_exit_rcu+0xf2/0x1c0 [ 72.290818][ T5074] Preemption disabled at: [ 72.290828][ T5074] [<0000000000000000>] 0x0 [ 72.299540][ T5074] CPU: 1 PID: 5074 Comm: syz-executor622 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 [ 72.309599][ T5074] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 72.319647][ T5074] Call Trace: [ 72.322929][ T5074] [ 72.325855][ T5074] dump_stack_lvl+0x241/0x360 [ 72.330544][ T5074] ? __pfx_dump_stack_lvl+0x10/0x10 [ 72.335754][ T5074] ? __pfx__printk+0x10/0x10 [ 72.340364][ T5074] __might_resched+0x5d4/0x780 [ 72.345139][ T5074] ? __pfx___might_resched+0x10/0x10 [ 72.350431][ T5074] ? __pfx_validate_chain+0x10/0x10 [ 72.355635][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.360487][ T5074] ? stack_trace_save+0x118/0x1d0 [ 72.365521][ T5074] console_lock+0x20/0x1b0 [ 72.369960][ T5074] do_con_write+0x114/0x7820 [ 72.374558][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.379411][ T5074] ? lockdep_unlock+0x16a/0x300 [ 72.384282][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.389131][ T5074] ? mark_lock+0x2a4/0x350 [ 72.393553][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.398402][ T5074] ? __lock_acquire+0x1346/0x1fd0 [ 72.403440][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.408292][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.413148][ T5074] ? __pfx_do_con_write+0x10/0x10 [ 72.418171][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.423023][ T5074] ? do_raw_spin_lock+0x14f/0x370 [ 72.428057][ T5074] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 72.433441][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.438293][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.443147][ T5074] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 72.449054][ T5074] con_write+0x26/0x40 [ 72.453124][ T5074] gsmld_write+0x100/0x130 [ 72.457548][ T5074] ? __pfx_gsmld_write+0x10/0x10 [ 72.462489][ T5074] file_tty_write+0x551/0x9b0 [ 72.467184][ T5074] do_iter_readv_writev+0x5a6/0x800 [ 72.472411][ T5074] ? __pfx_do_iter_readv_writev+0x10/0x10 [ 72.478138][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.482989][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.487837][ T5074] ? security_file_permission+0x7f/0xa0 [ 72.493388][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.498236][ T5074] ? rw_verify_area+0x1d2/0x580 [ 72.503094][ T5074] vfs_writev+0x395/0xbb0 [ 72.507424][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.512287][ T5074] ? __pfx_vfs_writev+0x10/0x10 [ 72.517150][ T5074] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 72.523484][ T5074] ? _raw_spin_unlock_irq+0x23/0x50 [ 72.528687][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.533538][ T5074] ? lockdep_hardirqs_on+0x99/0x150 [ 72.538747][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.543601][ T5074] ? __fdget_pos+0x1a2/0x320 [ 72.548203][ T5074] do_writev+0x1b1/0x350 [ 72.552448][ T5074] ? __pfx_do_writev+0x10/0x10 [ 72.557213][ T5074] ? do_syscall_64+0x10a/0x240 [ 72.561979][ T5074] ? srso_return_thunk+0x5/0x5f [ 72.566828][ T5074] ? syscall_trace_enter+0x5f/0x150 [ 72.572033][ T5074] do_syscall_64+0xfd/0x240 [ 72.576537][ T5074] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 72.582435][ T5074] RIP: 0033:0x7febafbdf669 [ 72.586867][ T5074] 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 [ 72.606471][ T5074] RSP: 002b:00007ffebdd496e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 [ 72.614888][ T5074] RAX: ffffffffffffffda RBX: 00007ffebdd498b8 RCX: 00007febafbdf669 [ 72.622877][ T5074] RDX: 0000000000000004 RSI: 0000000020000400 RDI: 0000000000000003 writev(3, [{iov_base="\x83\xfc\x8b\x84\x1d\x07\x3a\x98\x05\x5c\x26\x9b\x9c\x7f\x8b\xf7\xe3\xf0\x9b\xd3\xb7\x2f\x4d\x52\x93\x78\x48\xfd\x38\x66\x19\xe9\x16\x18\x6d\x47\xd6\xe4\x2d\x86\x2c\x63\x5f\xd6\x54\x7e\xbc\x2b\x11\xd4\xa8\xd3\xc0\xe6\x60\x0d\x32\x0e\xdc\xd1\xac\x61\x73\xb2\x5e\x7f\xac\xda\x94\x3a\x59\x62\x94\xc8\x38\x24\x5f\xd7\x8c\x9e\x9e\x40\xe1\x03\x7f\x4f\xd1\xc7\xde\xa8\x75\x24\xf1\x75\xfd\x0c\x6f\xcb\x75\x91"..., iov_len=146}, {iov_base=NULL, iov_len=0}, {iov_base=NULL, iov_len=0}, {iov_base=NULL, iov_len=0}], 4) = 146 exit_group(0) = ? +++ exited with 0 +++ [ 72.630844][ T5074] RBP: 00007febafc52610 R08: 00007ffebdd4