./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3021315958 <...> [ 102.550267][ T27] cfg80211: failed to load regulatory.db Warning: Permanently added '10.128.1.84' (ED25519) to the list of known hosts. execve("./syz-executor3021315958", ["./syz-executor3021315958"], 0x7ffdf7036560 /* 10 vars */) = 0 brk(NULL) = 0x555557386000 brk(0x555557386d00) = 0x555557386d00 arch_prctl(ARCH_SET_FS, 0x555557386380) = 0 set_tid_address(0x555557386650) = 5062 set_robust_list(0x555557386660, 24) = 0 rseq(0x555557386ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3021315958", 4096) = 28 getrandom("\x60\xec\x23\x2d\x35\x6b\x73\x2e", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555557386d00 brk(0x5555573a7d00) = 0x5555573a7d00 brk(0x5555573a8000) = 0x5555573a8000 mprotect(0x7fa356290000, 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 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5063 ./strace-static-x86_64: Process 5063 attached [pid 5063] set_robust_list(0x555557386660, 24) = 0 [pid 5063] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5063] setpgid(0, 0) = 0 [pid 5063] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5063] write(3, "1000", 4) = 4 [pid 5063] close(3) = 0 [pid 5063] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5063] ioctl(3, TIOCSETD, [21]) = 0 [ 103.666117][ T5063] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 103.675781][ T5063] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5063, name: syz-executor302 [ 103.685268][ T5063] preempt_count: 1, expected: 0 [ 103.690119][ T5063] RCU nest depth: 0, expected: 0 [ 103.695054][ T5063] 3 locks held by syz-executor302/5063: [ 103.700621][ T5063] #0: ffff88807fd110a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 [ 103.710443][ T5063] #1: ffff88807fd11130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x293/0x9b0 [ 103.721800][ T5063] #2: ffff8880307f43e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x150 [ 103.730898][ T5063] irq event stamp: 1656 [ 103.735047][ T5063] hardirqs last enabled at (1655): [] _raw_spin_unlock_irq+0x23/0x50 [ 103.744886][ T5063] hardirqs last disabled at (1656): [] _raw_spin_lock_irqsave+0x52/0x60 [ 103.754804][ T5063] softirqs last enabled at (986): [] __do_softirq+0x596/0x8de [ 103.763942][ T5063] softirqs last disabled at (981): [] irq_exit_rcu+0xb9/0x120 [ 103.772990][ T5063] Preemption disabled at: [ 103.772999][ T5063] [<0000000000000000>] 0x0 [ 103.781747][ T5063] CPU: 1 PID: 5063 Comm: syz-executor302 Not tainted 6.7.0-next-20240112-syzkaller #0 [ 103.791300][ T5063] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 103.801364][ T5063] Call Trace: [ 103.804662][ T5063] [ 103.807613][ T5063] dump_stack_lvl+0xd9/0x1b0 [ 103.812262][ T5063] __might_resched+0x3c0/0x5e0 [ 103.817043][ T5063] ? __pfx___might_resched+0x10/0x10 [ 103.822340][ T5063] ? add_lock_to_list+0x17d/0x380 [ 103.827388][ T5063] console_lock+0x34/0x150 [ 103.831837][ T5063] do_con_write+0x149/0x7f50 [ 103.836450][ T5063] ? __pfx___lock_acquire+0x10/0x10 [ 103.841680][ T5063] ? __pfx___might_resched+0x10/0x10 [ 103.847019][ T5063] ? __pfx_do_con_write+0x10/0x10 [ 103.852060][ T5063] ? lock_acquire+0x1b1/0x540 [ 103.856792][ T5063] ? __pfx_lock_acquire+0x10/0x10 [ 103.861880][ T5063] ? do_raw_spin_lock+0x12d/0x2c0 [ 103.866941][ T5063] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 103.872343][ T5063] con_write+0x23/0xc0 [ 103.876450][ T5063] gsmld_write+0xd2/0x150 [ 103.880827][ T5063] ? __pfx_gsmld_write+0x10/0x10 [ 103.885793][ T5063] file_tty_write.constprop.0+0x518/0x9b0 [ 103.891551][ T5063] vfs_write+0x6db/0x1100 [ 103.895905][ T5063] ? __pfx_vfs_write+0x10/0x10 [ 103.900684][ T5063] ? find_held_lock+0x2d/0x110 [ 103.905486][ T5063] ? __pfx_lock_release+0x10/0x10 [ 103.910548][ T5063] ? __fget_light+0x176/0x210 [ 103.915294][ T5063] ksys_write+0x12f/0x260 [ 103.919654][ T5063] ? __pfx_ksys_write+0x10/0x10 [ 103.924519][ T5063] ? lockdep_hardirqs_on+0x7c/0x110 [ 103.929735][ T5063] ? _raw_spin_unlock_irq+0x2e/0x50 [ 103.934973][ T5063] ? ptrace_notify+0xf1/0x130 [ 103.939721][ T5063] do_syscall_64+0xd2/0x260 [ 103.944266][ T5063] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 103.950190][ T5063] RIP: 0033:0x7fa35621ccb9 [ 103.954612][ T5063] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 [ 103.974667][ T5063] RSP: 002b:00007ffd8fb2a7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 103.983095][ T5063] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa35621ccb9 [ 103.991087][ T5063] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 103.999091][ T5063] RBP: 00007fa3562905f0 R08: 0000000000000006 R09: 0000000000000006 [ 104.007069][ T5063] R10: 00007ffd8fb2a4c6 R11: 0000000000000246 R12: 0000000000000001 [pid 5063] write(3, NULL, 0) = 0 [pid 5063] exit_group(0) = ? [pid 5063] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5063, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5065 attached , child_tidptr=0x555557386650) = 5065 [pid 5065] set_robust_list(0x555557386660, 24) = 0 [ 104.015066][ T5063] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 104.023066][ T5063] [pid 5065] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5065] setpgid(0, 0) = 0 [pid 5065] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5065] write(3, "1000", 4) = 4 [pid 5065] close(3) = 0 [pid 5065] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5065] ioctl(3, TIOCSETD, [21]) = 0 [pid 5065] write(3, NULL, 0) = 0 [pid 5065] exit_group(0) = ? [pid 5065] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5065, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5066 attached , child_tidptr=0x555557386650) = 5066 [pid 5066] set_robust_list(0x555557386660, 24) = 0 [pid 5066] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5066] setpgid(0, 0) = 0 [pid 5066] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5066] write(3, "1000", 4) = 4 [pid 5066] close(3) = 0 [pid 5066] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5066] ioctl(3, TIOCSETD, [21]) = 0 [pid 5066] write(3, NULL, 0) = 0 [pid 5066] exit_group(0) = ? [pid 5066] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5066, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5067 attached , child_tidptr=0x555557386650) = 5067 [pid 5067] set_robust_list(0x555557386660, 24) = 0 [pid 5067] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5067] setpgid(0, 0) = 0 [pid 5067] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5067] write(3, "1000", 4) = 4 [pid 5067] close(3) = 0 [pid 5067] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5067] ioctl(3, TIOCSETD, [21]) = 0 [pid 5067] write(3, NULL, 0) = 0 [pid 5067] exit_group(0) = ? [pid 5067] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5067, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5068 attached , child_tidptr=0x555557386650) = 5068 [pid 5068] set_robust_list(0x555557386660, 24) = 0 [pid 5068] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5068] setpgid(0, 0) = 0 [pid 5068] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5068] write(3, "1000", 4) = 4 [pid 5068] close(3) = 0 [pid 5068] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5068] ioctl(3, TIOCSETD, [21]) = 0 [pid 5068] write(3, NULL, 0) = 0 [pid 5068] exit_group(0) = ? [pid 5068] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5068, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5069 attached , child_tidptr=0x555557386650) = 5069 [pid 5069] set_robust_list(0x555557386660, 24) = 0 [pid 5069] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5069] setpgid(0, 0) = 0 [pid 5069] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5069] write(3, "1000", 4) = 4 [pid 5069] close(3) = 0 [pid 5069] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5069] ioctl(3, TIOCSETD, [21]) = 0 [pid 5069] write(3, NULL, 0) = 0 [pid 5069] exit_group(0) = ? [pid 5069] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5069, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5070 attached , child_tidptr=0x555557386650) = 5070 [pid 5070] set_robust_list(0x555557386660, 24) = 0 [pid 5070] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5070] setpgid(0, 0) = 0 [pid 5070] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5070] write(3, "1000", 4) = 4 [pid 5070] close(3) = 0 [pid 5070] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5070] ioctl(3, TIOCSETD, [21]) = 0 [pid 5070] write(3, NULL, 0) = 0 [pid 5070] exit_group(0) = ? [pid 5070] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5070, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5071 ./strace-static-x86_64: Process 5071 attached [pid 5071] set_robust_list(0x555557386660, 24) = 0 [pid 5071] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5071] setpgid(0, 0) = 0 [pid 5071] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5071] write(3, "1000", 4) = 4 [pid 5071] close(3) = 0 [pid 5071] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5071] ioctl(3, TIOCSETD, [21]) = 0 [pid 5071] write(3, NULL, 0) = 0 [pid 5071] exit_group(0) = ? [pid 5071] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5071, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5072 attached , child_tidptr=0x555557386650) = 5072 [pid 5072] set_robust_list(0x555557386660, 24) = 0 [pid 5072] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5072] setpgid(0, 0) = 0 [pid 5072] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5072] write(3, "1000", 4) = 4 [pid 5072] close(3) = 0 [pid 5072] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5072] ioctl(3, TIOCSETD, [21]) = 0 [pid 5072] write(3, NULL, 0) = 0 [pid 5072] exit_group(0) = ? [pid 5072] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5072, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5073 attached , child_tidptr=0x555557386650) = 5073 [pid 5073] set_robust_list(0x555557386660, 24) = 0 [pid 5073] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5073] setpgid(0, 0) = 0 [pid 5073] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5073] write(3, "1000", 4) = 4 [pid 5073] close(3) = 0 [pid 5073] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [ 104.718365][ T5073] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 104.727790][ T5073] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5073, name: syz-executor302 [ 104.737269][ T5073] preempt_count: 1, expected: 0 [ 104.742128][ T5073] RCU nest depth: 0, expected: 0 [ 104.747072][ T5073] 3 locks held by syz-executor302/5073: [ 104.752627][ T5073] #0: ffff88807fd150a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 [ 104.762430][ T5073] #1: ffff88807fd15130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x293/0x9b0 [ 104.773806][ T5073] #2: ffff88807d6993e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x150 [ 104.782927][ T5073] irq event stamp: 1070 [ 104.787089][ T5073] hardirqs last enabled at (1069): [] _raw_spin_unlock_irq+0x23/0x50 [ 104.796929][ T5073] hardirqs last disabled at (1070): [] _raw_spin_lock_irqsave+0x52/0x60 [ 104.806855][ T5073] softirqs last enabled at (132): [] __do_softirq+0x596/0x8de [ 104.816007][ T5073] softirqs last disabled at (43): [] irq_exit_rcu+0xb9/0x120 [ 104.824978][ T5073] Preemption disabled at: [ 104.824989][ T5073] [<0000000000000000>] 0x0 [ 104.833753][ T5073] CPU: 0 PID: 5073 Comm: syz-executor302 Tainted: G W 6.7.0-next-20240112-syzkaller #0 [ 104.844794][ T5073] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 104.854863][ T5073] Call Trace: [ 104.858158][ T5073] [ 104.861106][ T5073] dump_stack_lvl+0xd9/0x1b0 [ 104.865737][ T5073] __might_resched+0x3c0/0x5e0 [ 104.870530][ T5073] ? __pfx___might_resched+0x10/0x10 [ 104.875854][ T5073] ? __pfx___lock_acquire+0x10/0x10 [ 104.881124][ T5073] console_lock+0x34/0x150 [ 104.885606][ T5073] do_con_write+0x149/0x7f50 [ 104.890243][ T5073] ? __might_fault+0x13b/0x190 [ 104.895048][ T5073] ? __pfx___lock_acquire+0x10/0x10 [ 104.900292][ T5073] ? __pfx___might_resched+0x10/0x10 [ 104.905607][ T5073] ? __pfx_do_con_write+0x10/0x10 [ 104.910659][ T5073] ? lock_acquire+0x1b1/0x540 [ 104.915389][ T5073] ? __pfx_lock_acquire+0x10/0x10 [ 104.920459][ T5073] ? do_raw_spin_lock+0x12d/0x2c0 [ 104.925514][ T5073] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 104.931011][ T5073] con_write+0x23/0xc0 [ 104.935104][ T5073] gsmld_write+0xd2/0x150 [ 104.939495][ T5073] ? __pfx_gsmld_write+0x10/0x10 [ 104.944485][ T5073] file_tty_write.constprop.0+0x518/0x9b0 [ 104.950265][ T5073] vfs_write+0x6db/0x1100 [ 104.954647][ T5073] ? __pfx_vfs_write+0x10/0x10 [ 104.959446][ T5073] ? find_held_lock+0x2d/0x110 [ 104.964259][ T5073] ? __pfx_lock_release+0x10/0x10 [ 104.969325][ T5073] ? __fget_light+0x176/0x210 [ 104.974053][ T5073] ksys_write+0x12f/0x260 [ 104.978416][ T5073] ? __pfx_ksys_write+0x10/0x10 [ 104.983373][ T5073] ? lockdep_hardirqs_on+0x7c/0x110 [ 104.988597][ T5073] ? _raw_spin_unlock_irq+0x2e/0x50 [ 104.993857][ T5073] ? ptrace_notify+0xf1/0x130 [ 104.998571][ T5073] do_syscall_64+0xd2/0x260 [ 105.003137][ T5073] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 105.009096][ T5073] RIP: 0033:0x7fa35621ccb9 [ 105.013546][ T5073] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 [ 105.033189][ T5073] RSP: 002b:00007ffd8fb2a7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 105.041636][ T5073] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa35621ccb9 [ 105.049715][ T5073] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 105.057702][ T5073] RBP: 000000000001984e R08: 0000000000000006 R09: 0000000000000006 [pid 5073] ioctl(3, TIOCSETD, [21]) = 0 [pid 5073] write(3, NULL, 0) = 0 [pid 5073] exit_group(0) = ? [pid 5073] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5073, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5074 attached , child_tidptr=0x555557386650) = 5074 [pid 5074] set_robust_list(0x555557386660, 24) = 0 [pid 5074] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5074] setpgid(0, 0) = 0 [ 105.065694][ T5073] R10: 00007ffd8fb2a4c6 R11: 0000000000000246 R12: 00007ffd8fb2a7cc [ 105.073696][ T5073] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 105.081708][ T5073] [pid 5074] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5074] write(3, "1000", 4) = 4 [pid 5074] close(3) = 0 [pid 5074] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5074] ioctl(3, TIOCSETD, [21]) = 0 [pid 5074] write(3, NULL, 0) = 0 [pid 5074] exit_group(0) = ? [pid 5074] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5074, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5075 attached [pid 5075] set_robust_list(0x555557386660, 24) = 0 [pid 5075] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5062] <... clone resumed>, child_tidptr=0x555557386650) = 5075 [pid 5075] <... prctl resumed>) = 0 [pid 5075] setpgid(0, 0) = 0 [pid 5075] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5075] write(3, "1000", 4) = 4 [pid 5075] close(3) = 0 [pid 5075] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5075] ioctl(3, TIOCSETD, [21]) = 0 [pid 5075] write(3, NULL, 0) = 0 [pid 5075] exit_group(0) = ? [pid 5075] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5075, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5076 attached , child_tidptr=0x555557386650) = 5076 [pid 5076] set_robust_list(0x555557386660, 24) = 0 [pid 5076] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5076] setpgid(0, 0) = 0 [pid 5076] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5076] write(3, "1000", 4) = 4 [pid 5076] close(3) = 0 [pid 5076] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5076] ioctl(3, TIOCSETD, [21]) = 0 [pid 5076] write(3, NULL, 0) = 0 [pid 5076] exit_group(0) = ? [pid 5076] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5076, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5077 attached , child_tidptr=0x555557386650) = 5077 [pid 5077] set_robust_list(0x555557386660, 24) = 0 [pid 5077] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5077] setpgid(0, 0) = 0 [pid 5077] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5077] write(3, "1000", 4) = 4 [pid 5077] close(3) = 0 [pid 5077] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5077] ioctl(3, TIOCSETD, [21]) = 0 [pid 5077] write(3, NULL, 0) = 0 [pid 5077] exit_group(0) = ? [pid 5077] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5077, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5078 attached , child_tidptr=0x555557386650) = 5078 [pid 5078] set_robust_list(0x555557386660, 24) = 0 [pid 5078] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5078] setpgid(0, 0) = 0 [pid 5078] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5078] write(3, "1000", 4) = 4 [pid 5078] close(3) = 0 [pid 5078] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5078] ioctl(3, TIOCSETD, [21]) = 0 [pid 5078] write(3, NULL, 0) = 0 [pid 5078] exit_group(0) = ? [pid 5078] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5078, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5079 attached , child_tidptr=0x555557386650) = 5079 [pid 5079] set_robust_list(0x555557386660, 24) = 0 [pid 5079] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5079] setpgid(0, 0) = 0 [pid 5079] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5079] write(3, "1000", 4) = 4 [pid 5079] close(3) = 0 [pid 5079] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5079] ioctl(3, TIOCSETD, [21]) = 0 [pid 5079] write(3, NULL, 0) = 0 [pid 5079] exit_group(0) = ? [pid 5079] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5079, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5080 attached , child_tidptr=0x555557386650) = 5080 [pid 5080] set_robust_list(0x555557386660, 24) = 0 [pid 5080] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5080] setpgid(0, 0) = 0 [pid 5080] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5080] write(3, "1000", 4) = 4 [pid 5080] close(3) = 0 [pid 5080] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5080] ioctl(3, TIOCSETD, [21]) = 0 [pid 5080] write(3, NULL, 0) = 0 [pid 5080] exit_group(0) = ? [pid 5080] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5080, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5081 attached , child_tidptr=0x555557386650) = 5081 [pid 5081] set_robust_list(0x555557386660, 24) = 0 [pid 5081] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5081] setpgid(0, 0) = 0 [pid 5081] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5081] write(3, "1000", 4) = 4 [pid 5081] close(3) = 0 [pid 5081] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5081] ioctl(3, TIOCSETD, [21]) = 0 [pid 5081] write(3, NULL, 0) = 0 [pid 5081] exit_group(0) = ? [pid 5081] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5081, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5082 ./strace-static-x86_64: Process 5082 attached [pid 5082] set_robust_list(0x555557386660, 24) = 0 [pid 5082] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5082] setpgid(0, 0) = 0 [pid 5082] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5082] write(3, "1000", 4) = 4 [pid 5082] close(3) = 0 [pid 5082] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5082] ioctl(3, TIOCSETD, [21]) = 0 [ 105.717736][ T5082] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 105.727172][ T5082] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5082, name: syz-executor302 [ 105.736640][ T5082] preempt_count: 1, expected: 0 [ 105.741493][ T5082] RCU nest depth: 0, expected: 0 [ 105.746433][ T5082] 3 locks held by syz-executor302/5082: [ 105.751996][ T5082] #0: ffff88802f6220a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 [ 105.761788][ T5082] #1: ffff88802f622130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x293/0x9b0 [ 105.773149][ T5082] #2: ffff88801e8f73e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x150 [ 105.782257][ T5082] irq event stamp: 1300 [ 105.786440][ T5082] hardirqs last enabled at (1299): [] _raw_spin_unlock_irq+0x23/0x50 [ 105.796222][ T5082] hardirqs last disabled at (1300): [] _raw_spin_lock_irqsave+0x52/0x60 [ 105.806677][ T5082] softirqs last enabled at (1170): [] __do_softirq+0x596/0x8de [ 105.815907][ T5082] softirqs last disabled at (1131): [] irq_exit_rcu+0xb9/0x120 [ 105.825046][ T5082] Preemption disabled at: [ 105.825060][ T5082] [<0000000000000000>] 0x0 [ 105.833813][ T5082] CPU: 0 PID: 5082 Comm: syz-executor302 Tainted: G W 6.7.0-next-20240112-syzkaller #0 [ 105.844853][ T5082] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 105.854951][ T5082] Call Trace: [ 105.858252][ T5082] [ 105.861201][ T5082] dump_stack_lvl+0xd9/0x1b0 [ 105.865874][ T5082] __might_resched+0x3c0/0x5e0 [ 105.870803][ T5082] ? __pfx___might_resched+0x10/0x10 [ 105.876128][ T5082] ? __pfx___lock_acquire+0x10/0x10 [ 105.881358][ T5082] console_lock+0x34/0x150 [ 105.885826][ T5082] do_con_write+0x149/0x7f50 [ 105.890466][ T5082] ? __might_fault+0x13b/0x190 [ 105.895257][ T5082] ? __pfx___lock_acquire+0x10/0x10 [ 105.900494][ T5082] ? __pfx___might_resched+0x10/0x10 [ 105.905812][ T5082] ? __pfx_do_con_write+0x10/0x10 [ 105.910849][ T5082] ? lock_acquire+0x1b1/0x540 [ 105.915557][ T5082] ? __pfx_lock_acquire+0x10/0x10 [ 105.920609][ T5082] ? do_raw_spin_lock+0x12d/0x2c0 [ 105.925654][ T5082] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 105.931074][ T5082] con_write+0x23/0xc0 [ 105.935178][ T5082] gsmld_write+0xd2/0x150 [ 105.939533][ T5082] ? __pfx_gsmld_write+0x10/0x10 [ 105.944497][ T5082] file_tty_write.constprop.0+0x518/0x9b0 [ 105.950270][ T5082] vfs_write+0x6db/0x1100 [ 105.954623][ T5082] ? __pfx_vfs_write+0x10/0x10 [ 105.959419][ T5082] ? find_held_lock+0x2d/0x110 [ 105.964213][ T5082] ? __pfx_lock_release+0x10/0x10 [ 105.969279][ T5082] ? __fget_light+0x176/0x210 [ 105.973982][ T5082] ksys_write+0x12f/0x260 [ 105.978323][ T5082] ? __pfx_ksys_write+0x10/0x10 [ 105.983182][ T5082] ? lockdep_hardirqs_on+0x7c/0x110 [ 105.988395][ T5082] ? _raw_spin_unlock_irq+0x2e/0x50 [ 105.993621][ T5082] ? ptrace_notify+0xf1/0x130 [ 105.998349][ T5082] do_syscall_64+0xd2/0x260 [ 106.002887][ T5082] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 106.008812][ T5082] RIP: 0033:0x7fa35621ccb9 [ 106.013236][ T5082] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 [ 106.032861][ T5082] RSP: 002b:00007ffd8fb2a7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 106.041377][ T5082] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa35621ccb9 [ 106.049364][ T5082] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 106.057340][ T5082] RBP: 0000000000019c3c R08: 0000000000000006 R09: 0000000000000006 [pid 5082] write(3, NULL, 0) = 0 [pid 5082] exit_group(0) = ? [pid 5082] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5082, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5083 ./strace-static-x86_64: Process 5083 attached [pid 5083] set_robust_list(0x555557386660, 24) = 0 [pid 5083] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5083] setpgid(0, 0) = 0 [ 106.065318][ T5082] R10: 00007ffd8fb2a4c6 R11: 0000000000000246 R12: 00007ffd8fb2a7cc [ 106.073302][ T5082] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 106.081300][ T5082] [pid 5083] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5083] write(3, "1000", 4) = 4 [pid 5083] close(3) = 0 [pid 5083] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5083] ioctl(3, TIOCSETD, [21]) = 0 [pid 5083] write(3, NULL, 0) = 0 [pid 5083] exit_group(0) = ? [pid 5083] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5083, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5084 attached , child_tidptr=0x555557386650) = 5084 [pid 5084] set_robust_list(0x555557386660, 24) = 0 [pid 5084] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5084] setpgid(0, 0) = 0 [pid 5084] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5084] write(3, "1000", 4) = 4 [pid 5084] close(3) = 0 [pid 5084] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5084] ioctl(3, TIOCSETD, [21]) = 0 [pid 5084] write(3, NULL, 0) = 0 [pid 5084] exit_group(0) = ? [pid 5084] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5084, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5085 attached , child_tidptr=0x555557386650) = 5085 [pid 5085] set_robust_list(0x555557386660, 24) = 0 [pid 5085] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5085] setpgid(0, 0) = 0 [pid 5085] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5085] write(3, "1000", 4) = 4 [pid 5085] close(3) = 0 [pid 5085] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5085] ioctl(3, TIOCSETD, [21]) = 0 [pid 5085] write(3, NULL, 0) = 0 [pid 5085] exit_group(0) = ? [pid 5085] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5085, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5086 attached , child_tidptr=0x555557386650) = 5086 [pid 5086] set_robust_list(0x555557386660, 24) = 0 [pid 5086] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5086] setpgid(0, 0) = 0 [pid 5086] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5086] write(3, "1000", 4) = 4 [pid 5086] close(3) = 0 [pid 5086] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5086] ioctl(3, TIOCSETD, [21]) = 0 [pid 5086] write(3, NULL, 0) = 0 [pid 5086] exit_group(0) = ? [pid 5086] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5086, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5087 ./strace-static-x86_64: Process 5087 attached [pid 5087] set_robust_list(0x555557386660, 24) = 0 [pid 5087] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5087] setpgid(0, 0) = 0 [pid 5087] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5087] write(3, "1000", 4) = 4 [pid 5087] close(3) = 0 [pid 5087] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5087] ioctl(3, TIOCSETD, [21]) = 0 [pid 5087] write(3, NULL, 0) = 0 [pid 5087] exit_group(0) = ? [pid 5087] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5087, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5088 attached , child_tidptr=0x555557386650) = 5088 [pid 5088] set_robust_list(0x555557386660, 24) = 0 [pid 5088] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5088] setpgid(0, 0) = 0 [pid 5088] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5088] write(3, "1000", 4) = 4 [pid 5088] close(3) = 0 [pid 5088] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5088] ioctl(3, TIOCSETD, [21]) = 0 [pid 5088] write(3, NULL, 0) = 0 [pid 5088] exit_group(0) = ? [pid 5088] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5088, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5089 ./strace-static-x86_64: Process 5089 attached [pid 5089] set_robust_list(0x555557386660, 24) = 0 [pid 5089] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5089] setpgid(0, 0) = 0 [pid 5089] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5089] write(3, "1000", 4) = 4 [pid 5089] close(3) = 0 [pid 5089] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5089] ioctl(3, TIOCSETD, [21]) = 0 [pid 5089] write(3, NULL, 0) = 0 [pid 5089] exit_group(0) = ? [pid 5089] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5089, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5090 attached , child_tidptr=0x555557386650) = 5090 [pid 5090] set_robust_list(0x555557386660, 24) = 0 [pid 5090] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5090] setpgid(0, 0) = 0 [pid 5090] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5090] write(3, "1000", 4) = 4 [pid 5090] close(3) = 0 [pid 5090] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5090] ioctl(3, TIOCSETD, [21]) = 0 [pid 5090] write(3, NULL, 0) = 0 [pid 5090] exit_group(0) = ? [pid 5090] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5090, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5091 attached [pid 5091] set_robust_list(0x555557386660, 24) = 0 [pid 5062] <... clone resumed>, child_tidptr=0x555557386650) = 5091 [pid 5091] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5091] setpgid(0, 0) = 0 [pid 5091] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5091] write(3, "1000", 4) = 4 [pid 5091] close(3) = 0 [pid 5091] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5091] ioctl(3, TIOCSETD, [21]) = 0 [ 106.767428][ T5091] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 106.776857][ T5091] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5091, name: syz-executor302 [ 106.786336][ T5091] preempt_count: 1, expected: 0 [ 106.791195][ T5091] RCU nest depth: 0, expected: 0 [ 106.796128][ T5091] 3 locks held by syz-executor302/5091: [ 106.801672][ T5091] #0: ffff8880257320a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 [ 106.811545][ T5091] #1: ffff888025732130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x293/0x9b0 [ 106.822910][ T5091] #2: ffff888022c623e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x150 [ 106.832024][ T5091] irq event stamp: 1220 [ 106.836174][ T5091] hardirqs last enabled at (1219): [] _raw_spin_unlock_irq+0x23/0x50 [ 106.845910][ T5091] hardirqs last disabled at (1220): [] _raw_spin_lock_irqsave+0x52/0x60 [ 106.855852][ T5091] softirqs last enabled at (1070): [] __do_softirq+0x596/0x8de [ 106.865086][ T5091] softirqs last disabled at (1027): [] irq_exit_rcu+0xb9/0x120 [ 106.874228][ T5091] Preemption disabled at: [ 106.874240][ T5091] [<0000000000000000>] 0x0 [ 106.883018][ T5091] CPU: 1 PID: 5091 Comm: syz-executor302 Tainted: G W 6.7.0-next-20240112-syzkaller #0 [ 106.894063][ T5091] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 106.904148][ T5091] Call Trace: [ 106.907445][ T5091] [ 106.910407][ T5091] dump_stack_lvl+0xd9/0x1b0 [ 106.915043][ T5091] __might_resched+0x3c0/0x5e0 [ 106.919841][ T5091] ? __pfx___might_resched+0x10/0x10 [ 106.925163][ T5091] ? __pfx___lock_acquire+0x10/0x10 [ 106.930420][ T5091] console_lock+0x34/0x150 [ 106.934888][ T5091] do_con_write+0x149/0x7f50 [ 106.939600][ T5091] ? __might_fault+0x13b/0x190 [ 106.944419][ T5091] ? __pfx___lock_acquire+0x10/0x10 [ 106.949664][ T5091] ? __pfx___might_resched+0x10/0x10 [ 106.954980][ T5091] ? __pfx_do_con_write+0x10/0x10 [ 106.960036][ T5091] ? lock_acquire+0x1b1/0x540 [ 106.964763][ T5091] ? __pfx_lock_acquire+0x10/0x10 [ 106.969826][ T5091] ? do_raw_spin_lock+0x12d/0x2c0 [ 106.974960][ T5091] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 106.980366][ T5091] con_write+0x23/0xc0 [ 106.984461][ T5091] gsmld_write+0xd2/0x150 [ 106.988925][ T5091] ? __pfx_gsmld_write+0x10/0x10 [ 106.993898][ T5091] file_tty_write.constprop.0+0x518/0x9b0 [ 106.999672][ T5091] vfs_write+0x6db/0x1100 [ 107.004057][ T5091] ? __pfx_vfs_write+0x10/0x10 [ 107.008849][ T5091] ? find_held_lock+0x2d/0x110 [ 107.013650][ T5091] ? __pfx_lock_release+0x10/0x10 [ 107.018715][ T5091] ? __fget_light+0x176/0x210 [ 107.023441][ T5091] ksys_write+0x12f/0x260 [ 107.027798][ T5091] ? __pfx_ksys_write+0x10/0x10 [ 107.032690][ T5091] ? lockdep_hardirqs_on+0x7c/0x110 [ 107.037927][ T5091] ? _raw_spin_unlock_irq+0x2e/0x50 [ 107.043162][ T5091] ? ptrace_notify+0xf1/0x130 [ 107.047877][ T5091] do_syscall_64+0xd2/0x260 [ 107.052408][ T5091] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 107.058343][ T5091] RIP: 0033:0x7fa35621ccb9 [ 107.062773][ T5091] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 [ 107.082413][ T5091] RSP: 002b:00007ffd8fb2a7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 107.090853][ T5091] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa35621ccb9 [ 107.098835][ T5091] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 107.106816][ T5091] RBP: 000000000001a081 R08: 0000000000000006 R09: 0000000000000006 [pid 5091] write(3, NULL, 0) = 0 [pid 5091] exit_group(0) = ? [pid 5091] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5091, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5092 attached , child_tidptr=0x555557386650) = 5092 [pid 5092] set_robust_list(0x555557386660, 24) = 0 [pid 5092] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5092] setpgid(0, 0) = 0 [pid 5092] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5092] write(3, "1000", 4) = 4 [pid 5092] close(3) = 0 [pid 5092] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5092] ioctl(3, TIOCSETD, [21]) = 0 [pid 5092] write(3, NULL, 0) = 0 [pid 5092] exit_group(0) = ? [ 107.114810][ T5091] R10: 00007ffd8fb2a4c6 R11: 0000000000000246 R12: 00007ffd8fb2a7cc [ 107.122809][ T5091] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 107.130823][ T5091] [pid 5092] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5092, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5093 attached , child_tidptr=0x555557386650) = 5093 [pid 5093] set_robust_list(0x555557386660, 24) = 0 [pid 5093] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5093] setpgid(0, 0) = 0 [pid 5093] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5093] write(3, "1000", 4) = 4 [pid 5093] close(3) = 0 [pid 5093] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5093] ioctl(3, TIOCSETD, [21]) = 0 [pid 5093] write(3, NULL, 0) = 0 [pid 5093] exit_group(0) = ? [pid 5093] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5093, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5094 attached , child_tidptr=0x555557386650) = 5094 [pid 5094] set_robust_list(0x555557386660, 24) = 0 [pid 5094] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5094] setpgid(0, 0) = 0 [pid 5094] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5094] write(3, "1000", 4) = 4 [pid 5094] close(3) = 0 [pid 5094] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5094] ioctl(3, TIOCSETD, [21]) = 0 [pid 5094] write(3, NULL, 0) = 0 [pid 5094] exit_group(0) = ? [pid 5094] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5094, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5095 attached , child_tidptr=0x555557386650) = 5095 [pid 5095] set_robust_list(0x555557386660, 24) = 0 [pid 5095] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5095] setpgid(0, 0) = 0 [pid 5095] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5095] write(3, "1000", 4) = 4 [pid 5095] close(3) = 0 [pid 5095] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5095] ioctl(3, TIOCSETD, [21]) = 0 [pid 5095] write(3, NULL, 0) = 0 [pid 5095] exit_group(0) = ? [pid 5095] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5095, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5096 attached , child_tidptr=0x555557386650) = 5096 [pid 5096] set_robust_list(0x555557386660, 24) = 0 [pid 5096] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5096] setpgid(0, 0) = 0 [pid 5096] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5096] write(3, "1000", 4) = 4 [pid 5096] close(3) = 0 [pid 5096] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5096] ioctl(3, TIOCSETD, [21]) = 0 [pid 5096] write(3, NULL, 0) = 0 [pid 5096] exit_group(0) = ? [pid 5096] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5096, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5097 attached , child_tidptr=0x555557386650) = 5097 [pid 5097] set_robust_list(0x555557386660, 24) = 0 [pid 5097] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5097] setpgid(0, 0) = 0 [pid 5097] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5097] write(3, "1000", 4) = 4 [pid 5097] close(3) = 0 [pid 5097] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5097] ioctl(3, TIOCSETD, [21]) = 0 [pid 5097] write(3, NULL, 0) = 0 [pid 5097] exit_group(0) = ? [pid 5097] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5097, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5098 attached , child_tidptr=0x555557386650) = 5098 [pid 5098] set_robust_list(0x555557386660, 24) = 0 [pid 5098] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5098] setpgid(0, 0) = 0 [pid 5098] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5098] write(3, "1000", 4) = 4 [pid 5098] close(3) = 0 [pid 5098] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5098] ioctl(3, TIOCSETD, [21]) = 0 [pid 5098] write(3, NULL, 0) = 0 [pid 5098] exit_group(0) = ? [pid 5098] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5098, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5099 attached , child_tidptr=0x555557386650) = 5099 [pid 5099] set_robust_list(0x555557386660, 24) = 0 [pid 5099] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5099] setpgid(0, 0) = 0 [pid 5099] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5099] write(3, "1000", 4) = 4 [pid 5099] close(3) = 0 [pid 5099] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5099] ioctl(3, TIOCSETD, [21]) = 0 [ 107.783431][ T5099] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 107.792872][ T5099] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5099, name: syz-executor302 [ 107.802353][ T5099] preempt_count: 1, expected: 0 [ 107.807217][ T5099] RCU nest depth: 0, expected: 0 [ 107.812164][ T5099] 3 locks held by syz-executor302/5099: [ 107.817720][ T5099] #0: ffff88807c4490a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 [ 107.827524][ T5099] #1: ffff88807c449130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x293/0x9b0 [ 107.838914][ T5099] #2: ffff88802e85d3e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x150 [ 107.848030][ T5099] irq event stamp: 1258 [ 107.852188][ T5099] hardirqs last enabled at (1257): [] _raw_spin_unlock_irq+0x23/0x50 [ 107.861944][ T5099] hardirqs last disabled at (1258): [] _raw_spin_lock_irqsave+0x52/0x60 [ 107.871872][ T5099] softirqs last enabled at (906): [] __do_softirq+0x596/0x8de [ 107.881020][ T5099] softirqs last disabled at (875): [] irq_exit_rcu+0xb9/0x120 [ 107.890175][ T5099] Preemption disabled at: [ 107.890188][ T5099] [<0000000000000000>] 0x0 [ 107.898944][ T5099] CPU: 1 PID: 5099 Comm: syz-executor302 Tainted: G W 6.7.0-next-20240112-syzkaller #0 [ 107.909976][ T5099] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 107.920130][ T5099] Call Trace: [ 107.923435][ T5099] [ 107.926382][ T5099] dump_stack_lvl+0xd9/0x1b0 [ 107.931024][ T5099] __might_resched+0x3c0/0x5e0 [ 107.935818][ T5099] ? __pfx___might_resched+0x10/0x10 [ 107.941129][ T5099] ? __pfx___lock_acquire+0x10/0x10 [ 107.946370][ T5099] console_lock+0x34/0x150 [ 107.950852][ T5099] do_con_write+0x149/0x7f50 [ 107.955484][ T5099] ? __might_fault+0x13b/0x190 [ 107.960285][ T5099] ? __pfx___lock_acquire+0x10/0x10 [ 107.965527][ T5099] ? __pfx___might_resched+0x10/0x10 [ 107.970849][ T5099] ? __pfx_do_con_write+0x10/0x10 [ 107.975900][ T5099] ? lock_acquire+0x1b1/0x540 [ 107.980626][ T5099] ? __pfx_lock_acquire+0x10/0x10 [ 107.985710][ T5099] ? do_raw_spin_lock+0x12d/0x2c0 [ 107.990771][ T5099] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 107.996181][ T5099] con_write+0x23/0xc0 [ 108.000275][ T5099] gsmld_write+0xd2/0x150 [ 108.004642][ T5099] ? __pfx_gsmld_write+0x10/0x10 [ 108.009626][ T5099] file_tty_write.constprop.0+0x518/0x9b0 [ 108.015497][ T5099] vfs_write+0x6db/0x1100 [ 108.019874][ T5099] ? __pfx_vfs_write+0x10/0x10 [ 108.024668][ T5099] ? find_held_lock+0x2d/0x110 [ 108.029470][ T5099] ? __pfx_lock_release+0x10/0x10 [ 108.034532][ T5099] ? __fget_light+0x176/0x210 [ 108.039250][ T5099] ksys_write+0x12f/0x260 [ 108.043605][ T5099] ? __pfx_ksys_write+0x10/0x10 [ 108.048480][ T5099] ? lockdep_hardirqs_on+0x7c/0x110 [ 108.053706][ T5099] ? _raw_spin_unlock_irq+0x2e/0x50 [ 108.058954][ T5099] ? ptrace_notify+0xf1/0x130 [ 108.063665][ T5099] do_syscall_64+0xd2/0x260 [ 108.068200][ T5099] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 108.074134][ T5099] RIP: 0033:0x7fa35621ccb9 [ 108.078574][ T5099] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 [ 108.098205][ T5099] RSP: 002b:00007ffd8fb2a7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 108.106656][ T5099] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa35621ccb9 [ 108.114648][ T5099] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 108.122660][ T5099] RBP: 000000000001a46b R08: 0000000000000006 R09: 0000000000000006 [pid 5099] write(3, NULL, 0) = 0 [pid 5099] exit_group(0) = ? [pid 5099] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5099, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5100 ./strace-static-x86_64: Process 5100 attached [pid 5100] set_robust_list(0x555557386660, 24) = 0 [pid 5100] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5100] setpgid(0, 0) = 0 [ 108.130739][ T5099] R10: 00007ffd8fb2a4c6 R11: 0000000000000246 R12: 00007ffd8fb2a7cc [ 108.138727][ T5099] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 108.146736][ T5099] [pid 5100] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] write(3, "1000", 4) = 4 [pid 5100] close(3) = 0 [pid 5100] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5100] ioctl(3, TIOCSETD, [21]) = 0 [pid 5100] write(3, NULL, 0) = 0 [pid 5100] exit_group(0) = ? [pid 5100] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5100, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5101 attached , child_tidptr=0x555557386650) = 5101 [pid 5101] set_robust_list(0x555557386660, 24) = 0 [pid 5101] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5101] setpgid(0, 0) = 0 [pid 5101] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5101] write(3, "1000", 4) = 4 [pid 5101] close(3) = 0 [pid 5101] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5101] ioctl(3, TIOCSETD, [21]) = 0 [pid 5101] write(3, NULL, 0) = 0 [pid 5101] exit_group(0) = ? [pid 5101] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5101, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5102 attached , child_tidptr=0x555557386650) = 5102 [pid 5102] set_robust_list(0x555557386660, 24) = 0 [pid 5102] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5102] setpgid(0, 0) = 0 [pid 5102] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5102] write(3, "1000", 4) = 4 [pid 5102] close(3) = 0 [pid 5102] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5102] ioctl(3, TIOCSETD, [21]) = 0 [pid 5102] write(3, NULL, 0) = 0 [pid 5102] exit_group(0) = ? [pid 5102] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5102, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5103 attached , child_tidptr=0x555557386650) = 5103 [pid 5103] set_robust_list(0x555557386660, 24) = 0 [pid 5103] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5103] setpgid(0, 0) = 0 [pid 5103] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5103] write(3, "1000", 4) = 4 [pid 5103] close(3) = 0 [pid 5103] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5103] ioctl(3, TIOCSETD, [21]) = 0 [pid 5103] write(3, NULL, 0) = 0 [pid 5103] exit_group(0) = ? [pid 5103] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5103, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5104 attached , child_tidptr=0x555557386650) = 5104 [pid 5104] set_robust_list(0x555557386660, 24) = 0 [pid 5104] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5104] setpgid(0, 0) = 0 [pid 5104] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5104] write(3, "1000", 4) = 4 [pid 5104] close(3) = 0 [pid 5104] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5104] ioctl(3, TIOCSETD, [21]) = 0 [pid 5104] write(3, NULL, 0) = 0 [pid 5104] exit_group(0) = ? [pid 5104] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5104, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5105 attached , child_tidptr=0x555557386650) = 5105 [pid 5105] set_robust_list(0x555557386660, 24) = 0 [pid 5105] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5105] setpgid(0, 0) = 0 [pid 5105] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5105] write(3, "1000", 4) = 4 [pid 5105] close(3) = 0 [pid 5105] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5105] ioctl(3, TIOCSETD, [21]) = 0 [pid 5105] write(3, NULL, 0) = 0 [pid 5105] exit_group(0) = ? [pid 5105] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5105, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5106 ./strace-static-x86_64: Process 5106 attached [pid 5106] set_robust_list(0x555557386660, 24) = 0 [pid 5106] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5106] setpgid(0, 0) = 0 [pid 5106] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5106] write(3, "1000", 4) = 4 [pid 5106] close(3) = 0 [pid 5106] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5106] ioctl(3, TIOCSETD, [21]) = 0 [pid 5106] write(3, NULL, 0) = 0 [pid 5106] exit_group(0) = ? [pid 5106] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5106, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5107 attached , child_tidptr=0x555557386650) = 5107 [pid 5107] set_robust_list(0x555557386660, 24) = 0 [pid 5107] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5107] setpgid(0, 0) = 0 [pid 5107] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5107] write(3, "1000", 4) = 4 [pid 5107] close(3) = 0 [pid 5107] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5107] ioctl(3, TIOCSETD, [21]) = 0 [pid 5107] write(3, NULL, 0) = 0 [pid 5107] exit_group(0) = ? [pid 5107] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5107, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5108 attached , child_tidptr=0x555557386650) = 5108 [pid 5108] set_robust_list(0x555557386660, 24) = 0 [pid 5108] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5108] setpgid(0, 0) = 0 [pid 5108] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5108] write(3, "1000", 4) = 4 [pid 5108] close(3) = 0 [pid 5108] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5108] ioctl(3, TIOCSETD, [21]) = 0 [ 108.797821][ T5108] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 108.807367][ T5108] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5108, name: syz-executor302 [ 108.816856][ T5108] preempt_count: 1, expected: 0 [ 108.821732][ T5108] RCU nest depth: 0, expected: 0 [ 108.826672][ T5108] 3 locks held by syz-executor302/5108: [ 108.832216][ T5108] #0: ffff888024f750a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 [ 108.841999][ T5108] #1: ffff888024f75130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x293/0x9b0 [ 108.853367][ T5108] #2: ffff8880256b73e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x150 [ 108.862492][ T5108] irq event stamp: 1030 [ 108.866659][ T5108] hardirqs last enabled at (1029): [] _raw_spin_unlock_irq+0x23/0x50 [ 108.876417][ T5108] hardirqs last disabled at (1030): [] _raw_spin_lock_irqsave+0x52/0x60 [ 108.886351][ T5108] softirqs last enabled at (78): [] __do_softirq+0x596/0x8de [ 108.895508][ T5108] softirqs last disabled at (39): [] irq_exit_rcu+0xb9/0x120 [ 108.904478][ T5108] Preemption disabled at: [ 108.904490][ T5108] [<0000000000000000>] 0x0 [ 108.913256][ T5108] CPU: 0 PID: 5108 Comm: syz-executor302 Tainted: G W 6.7.0-next-20240112-syzkaller #0 [ 108.924308][ T5108] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 108.934389][ T5108] Call Trace: [ 108.937684][ T5108] [ 108.940633][ T5108] dump_stack_lvl+0xd9/0x1b0 [ 108.945263][ T5108] __might_resched+0x3c0/0x5e0 [ 108.950066][ T5108] ? __pfx___might_resched+0x10/0x10 [ 108.955392][ T5108] ? __pfx___lock_acquire+0x10/0x10 [ 108.960634][ T5108] console_lock+0x34/0x150 [ 108.965089][ T5108] do_con_write+0x149/0x7f50 [ 108.969717][ T5108] ? __might_fault+0x13b/0x190 [ 108.974510][ T5108] ? __pfx___lock_acquire+0x10/0x10 [ 108.979746][ T5108] ? __pfx___might_resched+0x10/0x10 [ 108.985054][ T5108] ? __pfx_do_con_write+0x10/0x10 [ 108.990100][ T5108] ? lock_acquire+0x1b1/0x540 [ 108.994805][ T5108] ? __pfx_lock_acquire+0x10/0x10 [ 108.999860][ T5108] ? do_raw_spin_lock+0x12d/0x2c0 [ 109.004914][ T5108] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 109.010331][ T5108] con_write+0x23/0xc0 [ 109.014414][ T5108] gsmld_write+0xd2/0x150 [ 109.018785][ T5108] ? __pfx_gsmld_write+0x10/0x10 [ 109.023763][ T5108] file_tty_write.constprop.0+0x518/0x9b0 [ 109.029530][ T5108] vfs_write+0x6db/0x1100 [ 109.033889][ T5108] ? __pfx_vfs_write+0x10/0x10 [ 109.038682][ T5108] ? find_held_lock+0x2d/0x110 [ 109.043479][ T5108] ? __pfx_lock_release+0x10/0x10 [ 109.048542][ T5108] ? __fget_light+0x176/0x210 [ 109.053277][ T5108] ksys_write+0x12f/0x260 [ 109.057634][ T5108] ? __pfx_ksys_write+0x10/0x10 [ 109.062505][ T5108] ? lockdep_hardirqs_on+0x7c/0x110 [ 109.067724][ T5108] ? _raw_spin_unlock_irq+0x2e/0x50 [ 109.072972][ T5108] ? ptrace_notify+0xf1/0x130 [ 109.077688][ T5108] do_syscall_64+0xd2/0x260 [ 109.082241][ T5108] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 109.088189][ T5108] RIP: 0033:0x7fa35621ccb9 [ 109.092636][ T5108] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 [ 109.112268][ T5108] RSP: 002b:00007ffd8fb2a7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 109.120701][ T5108] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa35621ccb9 [ 109.128687][ T5108] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 109.136671][ T5108] RBP: 000000000001a83c R08: 0000000000000006 R09: 0000000000000006 [pid 5108] write(3, NULL, 0) = 0 [pid 5108] exit_group(0) = ? [pid 5108] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5108, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5109 ./strace-static-x86_64: Process 5109 attached [pid 5109] set_robust_list(0x555557386660, 24) = 0 [pid 5109] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5109] setpgid(0, 0) = 0 [pid 5109] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5109] write(3, "1000", 4) = 4 [pid 5109] close(3) = 0 [pid 5109] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [ 109.144656][ T5108] R10: 00007ffd8fb2a4c6 R11: 0000000000000246 R12: 00007ffd8fb2a7cc [ 109.152666][ T5108] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 109.160673][ T5108] [pid 5109] ioctl(3, TIOCSETD, [21]) = 0 [pid 5109] write(3, NULL, 0) = 0 [pid 5109] exit_group(0) = ? [pid 5109] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5109, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5111 ./strace-static-x86_64: Process 5111 attached [pid 5111] set_robust_list(0x555557386660, 24) = 0 [pid 5111] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5111] setpgid(0, 0) = 0 [pid 5111] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5111] write(3, "1000", 4) = 4 [pid 5111] close(3) = 0 [pid 5111] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5111] ioctl(3, TIOCSETD, [21]) = 0 [pid 5111] write(3, NULL, 0) = 0 [pid 5111] exit_group(0) = ? [pid 5111] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5111, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5112 attached , child_tidptr=0x555557386650) = 5112 [pid 5112] set_robust_list(0x555557386660, 24) = 0 [pid 5112] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5112] setpgid(0, 0) = 0 [pid 5112] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5112] write(3, "1000", 4) = 4 [pid 5112] close(3) = 0 [pid 5112] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5112] ioctl(3, TIOCSETD, [21]) = 0 [pid 5112] write(3, NULL, 0) = 0 [pid 5112] exit_group(0) = ? [pid 5112] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5112, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5113 attached , child_tidptr=0x555557386650) = 5113 [pid 5113] set_robust_list(0x555557386660, 24) = 0 [pid 5113] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5113] setpgid(0, 0) = 0 [pid 5113] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5113] write(3, "1000", 4) = 4 [pid 5113] close(3) = 0 [pid 5113] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5113] ioctl(3, TIOCSETD, [21]) = 0 [pid 5113] write(3, NULL, 0) = 0 [pid 5113] exit_group(0) = ? [pid 5113] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5113, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5114 attached , child_tidptr=0x555557386650) = 5114 [pid 5114] set_robust_list(0x555557386660, 24) = 0 [pid 5114] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5114] setpgid(0, 0) = 0 [pid 5114] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5114] write(3, "1000", 4) = 4 [pid 5114] close(3) = 0 [pid 5114] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5114] ioctl(3, TIOCSETD, [21]) = 0 [pid 5114] write(3, NULL, 0) = 0 [pid 5114] exit_group(0) = ? [pid 5114] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5114, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5115 attached , child_tidptr=0x555557386650) = 5115 [pid 5115] set_robust_list(0x555557386660, 24) = 0 [pid 5115] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5115] setpgid(0, 0) = 0 [pid 5115] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5115] write(3, "1000", 4) = 4 [pid 5115] close(3) = 0 [pid 5115] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5115] ioctl(3, TIOCSETD, [21]) = 0 [pid 5115] write(3, NULL, 0) = 0 [pid 5115] exit_group(0) = ? [pid 5115] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5115, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5116 attached , child_tidptr=0x555557386650) = 5116 [pid 5116] set_robust_list(0x555557386660, 24) = 0 [pid 5116] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5116] setpgid(0, 0) = 0 [pid 5116] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5116] write(3, "1000", 4) = 4 [pid 5116] close(3) = 0 [pid 5116] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5116] ioctl(3, TIOCSETD, [21]) = 0 [pid 5116] write(3, NULL, 0) = 0 [pid 5116] exit_group(0) = ? [pid 5116] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5116, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5117 attached , child_tidptr=0x555557386650) = 5117 [pid 5117] set_robust_list(0x555557386660, 24) = 0 [pid 5117] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5117] setpgid(0, 0) = 0 [pid 5117] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5117] write(3, "1000", 4) = 4 [pid 5117] close(3) = 0 [pid 5117] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5117] ioctl(3, TIOCSETD, [21]) = 0 [pid 5117] write(3, NULL, 0) = 0 [pid 5117] exit_group(0) = ? [pid 5117] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5117, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5118 attached , child_tidptr=0x555557386650) = 5118 [pid 5118] set_robust_list(0x555557386660, 24) = 0 [pid 5118] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5118] setpgid(0, 0) = 0 [pid 5118] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5118] write(3, "1000", 4) = 4 [pid 5118] close(3) = 0 [pid 5118] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5118] ioctl(3, TIOCSETD, [21]) = 0 [ 109.881680][ T5118] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 109.891104][ T5118] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5118, name: syz-executor302 [ 109.900564][ T5118] preempt_count: 1, expected: 0 [ 109.905411][ T5118] RCU nest depth: 0, expected: 0 [ 109.910345][ T5118] 3 locks held by syz-executor302/5118: [ 109.915886][ T5118] #0: ffff8880264550a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 [ 109.925689][ T5118] #1: ffff888026455130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x293/0x9b0 [ 109.937044][ T5118] #2: ffff8880266b43e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x150 [ 109.946124][ T5118] irq event stamp: 1104 [ 109.950272][ T5118] hardirqs last enabled at (1103): [] _raw_spin_unlock_irq+0x23/0x50 [ 109.960015][ T5118] hardirqs last disabled at (1104): [] _raw_spin_lock_irqsave+0x52/0x60 [ 109.970108][ T5118] softirqs last enabled at (618): [] __do_softirq+0x596/0x8de [ 109.979251][ T5118] softirqs last disabled at (597): [] irq_exit_rcu+0xb9/0x120 [ 109.988304][ T5118] Preemption disabled at: [ 109.988314][ T5118] [<0000000000000000>] 0x0 [ 109.997142][ T5118] CPU: 0 PID: 5118 Comm: syz-executor302 Tainted: G W 6.7.0-next-20240112-syzkaller #0 [ 110.008176][ T5118] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 110.018253][ T5118] Call Trace: [ 110.021550][ T5118] [ 110.024493][ T5118] dump_stack_lvl+0xd9/0x1b0 [ 110.029123][ T5118] __might_resched+0x3c0/0x5e0 [ 110.033916][ T5118] ? __pfx___might_resched+0x10/0x10 [ 110.039228][ T5118] ? __pfx___lock_acquire+0x10/0x10 [ 110.044475][ T5118] console_lock+0x34/0x150 [ 110.048935][ T5118] do_con_write+0x149/0x7f50 [ 110.053574][ T5118] ? __might_fault+0x13b/0x190 [ 110.058383][ T5118] ? __pfx___lock_acquire+0x10/0x10 [ 110.063713][ T5118] ? __pfx___might_resched+0x10/0x10 [ 110.069035][ T5118] ? __pfx_do_con_write+0x10/0x10 [ 110.074166][ T5118] ? lock_acquire+0x1b1/0x540 [ 110.078893][ T5118] ? __pfx_lock_acquire+0x10/0x10 [ 110.083964][ T5118] ? do_raw_spin_lock+0x12d/0x2c0 [ 110.089016][ T5118] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 110.095046][ T5118] con_write+0x23/0xc0 [ 110.099237][ T5118] gsmld_write+0xd2/0x150 [ 110.103610][ T5118] ? __pfx_gsmld_write+0x10/0x10 [ 110.108587][ T5118] file_tty_write.constprop.0+0x518/0x9b0 [ 110.114357][ T5118] vfs_write+0x6db/0x1100 [ 110.118720][ T5118] ? __pfx_vfs_write+0x10/0x10 [ 110.123528][ T5118] ? find_held_lock+0x2d/0x110 [ 110.128340][ T5118] ? __pfx_lock_release+0x10/0x10 [ 110.133498][ T5118] ? __fget_light+0x176/0x210 [ 110.138228][ T5118] ksys_write+0x12f/0x260 [ 110.142594][ T5118] ? __pfx_ksys_write+0x10/0x10 [ 110.147466][ T5118] ? lockdep_hardirqs_on+0x7c/0x110 [ 110.152698][ T5118] ? _raw_spin_unlock_irq+0x2e/0x50 [ 110.157935][ T5118] ? ptrace_notify+0xf1/0x130 [ 110.162667][ T5118] do_syscall_64+0xd2/0x260 [ 110.167233][ T5118] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 110.173171][ T5118] RIP: 0033:0x7fa35621ccb9 [ 110.177635][ T5118] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 [ 110.197641][ T5118] RSP: 002b:00007ffd8fb2a7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 110.206077][ T5118] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa35621ccb9 [ 110.214069][ T5118] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 110.222056][ T5118] RBP: 000000000001ac6d R08: 0000000000000006 R09: 0000000000000006 [pid 5118] write(3, NULL, 0) = 0 [pid 5118] exit_group(0) = ? [pid 5118] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5118, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- [ 110.230045][ T5118] R10: 00007ffd8fb2a4c6 R11: 0000000000000246 R12: 00007ffd8fb2a7cc [ 110.238044][ T5118] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 110.246058][ T5118] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5119 attached , child_tidptr=0x555557386650) = 5119 [pid 5119] set_robust_list(0x555557386660, 24) = 0 [pid 5119] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5119] setpgid(0, 0) = 0 [pid 5119] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5119] write(3, "1000", 4) = 4 [pid 5119] close(3) = 0 [pid 5119] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5119] ioctl(3, TIOCSETD, [21]) = 0 [pid 5119] write(3, NULL, 0) = 0 [pid 5119] exit_group(0) = ? [pid 5119] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5119, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5120 attached , child_tidptr=0x555557386650) = 5120 [pid 5120] set_robust_list(0x555557386660, 24) = 0 [pid 5120] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5120] setpgid(0, 0) = 0 [pid 5120] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5120] write(3, "1000", 4) = 4 [pid 5120] close(3) = 0 [pid 5120] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5120] ioctl(3, TIOCSETD, [21]) = 0 [pid 5120] write(3, NULL, 0) = 0 [pid 5120] exit_group(0) = ? [pid 5120] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5120, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5121 attached , child_tidptr=0x555557386650) = 5121 [pid 5121] set_robust_list(0x555557386660, 24) = 0 [pid 5121] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5121] setpgid(0, 0) = 0 [pid 5121] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5121] write(3, "1000", 4) = 4 [pid 5121] close(3) = 0 [pid 5121] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5121] ioctl(3, TIOCSETD, [21]) = 0 [pid 5121] write(3, NULL, 0) = 0 [pid 5121] exit_group(0) = ? [pid 5121] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5121, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5122 attached , child_tidptr=0x555557386650) = 5122 [pid 5122] set_robust_list(0x555557386660, 24) = 0 [pid 5122] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5122] setpgid(0, 0) = 0 [pid 5122] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5122] write(3, "1000", 4) = 4 [pid 5122] close(3) = 0 [pid 5122] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5122] ioctl(3, TIOCSETD, [21]) = 0 [pid 5122] write(3, NULL, 0) = 0 [pid 5122] exit_group(0) = ? [pid 5122] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5122, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5123 attached , child_tidptr=0x555557386650) = 5123 [pid 5123] set_robust_list(0x555557386660, 24) = 0 [pid 5123] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5123] setpgid(0, 0) = 0 [pid 5123] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5123] write(3, "1000", 4) = 4 [pid 5123] close(3) = 0 [pid 5123] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5123] ioctl(3, TIOCSETD, [21]) = 0 [pid 5123] write(3, NULL, 0) = 0 [pid 5123] exit_group(0) = ? [pid 5123] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5123, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5124 attached , child_tidptr=0x555557386650) = 5124 [pid 5124] set_robust_list(0x555557386660, 24) = 0 [pid 5124] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5124] setpgid(0, 0) = 0 [pid 5124] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5124] write(3, "1000", 4) = 4 [pid 5124] close(3) = 0 [pid 5124] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5124] ioctl(3, TIOCSETD, [21]) = 0 [pid 5124] write(3, NULL, 0) = 0 [pid 5124] exit_group(0) = ? [pid 5124] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5124, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5125 attached , child_tidptr=0x555557386650) = 5125 [pid 5125] set_robust_list(0x555557386660, 24) = 0 [pid 5125] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5125] setpgid(0, 0) = 0 [pid 5125] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5125] write(3, "1000", 4) = 4 [pid 5125] close(3) = 0 [pid 5125] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5125] ioctl(3, TIOCSETD, [21]) = 0 [pid 5125] write(3, NULL, 0) = 0 [pid 5125] exit_group(0) = ? [pid 5125] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5125, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5126 attached , child_tidptr=0x555557386650) = 5126 [pid 5126] set_robust_list(0x555557386660, 24) = 0 [pid 5126] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5126] setpgid(0, 0) = 0 [pid 5126] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5126] write(3, "1000", 4) = 4 [pid 5126] close(3) = 0 [pid 5126] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5126] ioctl(3, TIOCSETD, [21]) = 0 [pid 5126] write(3, NULL, 0) = 0 [pid 5126] exit_group(0) = ? [pid 5126] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5126, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5127 attached , child_tidptr=0x555557386650) = 5127 [pid 5127] set_robust_list(0x555557386660, 24) = 0 [pid 5127] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5127] setpgid(0, 0) = 0 [pid 5127] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5127] write(3, "1000", 4) = 4 [pid 5127] close(3) = 0 [pid 5127] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5127] ioctl(3, TIOCSETD, [21]) = 0 [ 110.933861][ T5127] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 110.943323][ T5127] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5127, name: syz-executor302 [ 110.952798][ T5127] preempt_count: 1, expected: 0 [ 110.957658][ T5127] RCU nest depth: 0, expected: 0 [ 110.962601][ T5127] 3 locks held by syz-executor302/5127: [ 110.968156][ T5127] #0: ffff88807edcb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 [ 110.977949][ T5127] #1: ffff88807edcb130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x293/0x9b0 [ 110.989309][ T5127] #2: ffff88807fcf13e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x150 [ 110.998408][ T5127] irq event stamp: 1326 [ 111.002559][ T5127] hardirqs last enabled at (1325): [] _raw_spin_unlock_irq+0x23/0x50 [ 111.012307][ T5127] hardirqs last disabled at (1326): [] _raw_spin_lock_irqsave+0x52/0x60 [ 111.022228][ T5127] softirqs last enabled at (1288): [] __do_softirq+0x596/0x8de [ 111.031461][ T5127] softirqs last disabled at (1247): [] irq_exit_rcu+0xb9/0x120 [ 111.040625][ T5127] Preemption disabled at: [ 111.040635][ T5127] [<0000000000000000>] 0x0 [ 111.049397][ T5127] CPU: 1 PID: 5127 Comm: syz-executor302 Tainted: G W 6.7.0-next-20240112-syzkaller #0 [ 111.060435][ T5127] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 111.070503][ T5127] Call Trace: [ 111.073792][ T5127] [ 111.076734][ T5127] dump_stack_lvl+0xd9/0x1b0 [ 111.081359][ T5127] __might_resched+0x3c0/0x5e0 [ 111.086151][ T5127] ? __pfx___might_resched+0x10/0x10 [ 111.091457][ T5127] ? __pfx___lock_acquire+0x10/0x10 [ 111.096708][ T5127] console_lock+0x34/0x150 [ 111.101176][ T5127] do_con_write+0x149/0x7f50 [ 111.105787][ T5127] ? __might_fault+0x13b/0x190 [ 111.110586][ T5127] ? __pfx___lock_acquire+0x10/0x10 [ 111.115867][ T5127] ? __pfx___might_resched+0x10/0x10 [ 111.121176][ T5127] ? __pfx_do_con_write+0x10/0x10 [ 111.126216][ T5127] ? lock_acquire+0x1b1/0x540 [ 111.130926][ T5127] ? __pfx_lock_acquire+0x10/0x10 [ 111.135988][ T5127] ? do_raw_spin_lock+0x12d/0x2c0 [ 111.141047][ T5127] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 111.146443][ T5127] con_write+0x23/0xc0 [ 111.150536][ T5127] gsmld_write+0xd2/0x150 [ 111.154903][ T5127] ? __pfx_gsmld_write+0x10/0x10 [ 111.159865][ T5127] file_tty_write.constprop.0+0x518/0x9b0 [ 111.165621][ T5127] vfs_write+0x6db/0x1100 [ 111.169993][ T5127] ? __pfx_vfs_write+0x10/0x10 [ 111.174797][ T5127] ? find_held_lock+0x2d/0x110 [ 111.179586][ T5127] ? __pfx_lock_release+0x10/0x10 [ 111.184638][ T5127] ? __fget_light+0x176/0x210 [ 111.189348][ T5127] ksys_write+0x12f/0x260 [ 111.193695][ T5127] ? __pfx_ksys_write+0x10/0x10 [ 111.198560][ T5127] ? lockdep_hardirqs_on+0x7c/0x110 [ 111.203781][ T5127] ? _raw_spin_unlock_irq+0x2e/0x50 [ 111.209010][ T5127] ? ptrace_notify+0xf1/0x130 [ 111.213719][ T5127] do_syscall_64+0xd2/0x260 [ 111.218247][ T5127] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 111.224169][ T5127] RIP: 0033:0x7fa35621ccb9 [ 111.228599][ T5127] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 [ 111.248251][ T5127] RSP: 002b:00007ffd8fb2a7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 111.256685][ T5127] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa35621ccb9 [ 111.264669][ T5127] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 111.272666][ T5127] RBP: 000000000001b0c5 R08: 0000000000000006 R09: 0000000000000006 [pid 5127] write(3, NULL, 0) = 0 [pid 5127] exit_group(0) = ? [pid 5127] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5127, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5128 attached , child_tidptr=0x555557386650) = 5128 [pid 5128] set_robust_list(0x555557386660, 24) = 0 [ 111.280657][ T5127] R10: 00007ffd8fb2a4c6 R11: 0000000000000246 R12: 00007ffd8fb2a7cc [ 111.288645][ T5127] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 111.296645][ T5127] [pid 5128] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5128] setpgid(0, 0) = 0 [pid 5128] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5128] write(3, "1000", 4) = 4 [pid 5128] close(3) = 0 [pid 5128] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5128] ioctl(3, TIOCSETD, [21]) = 0 [pid 5128] write(3, NULL, 0) = 0 [pid 5128] exit_group(0) = ? [pid 5128] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5128, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5129 attached , child_tidptr=0x555557386650) = 5129 [pid 5129] set_robust_list(0x555557386660, 24) = 0 [pid 5129] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5129] setpgid(0, 0) = 0 [pid 5129] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5129] write(3, "1000", 4) = 4 [pid 5129] close(3) = 0 [pid 5129] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5129] ioctl(3, TIOCSETD, [21]) = 0 [pid 5129] write(3, NULL, 0) = 0 [pid 5129] exit_group(0) = ? [pid 5129] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5129, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5130 attached , child_tidptr=0x555557386650) = 5130 [pid 5130] set_robust_list(0x555557386660, 24) = 0 [pid 5130] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5130] setpgid(0, 0) = 0 [pid 5130] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5130] write(3, "1000", 4) = 4 [pid 5130] close(3) = 0 [pid 5130] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5130] ioctl(3, TIOCSETD, [21]) = 0 [pid 5130] write(3, NULL, 0) = 0 [pid 5130] exit_group(0) = ? [pid 5130] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5130, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5131 attached , child_tidptr=0x555557386650) = 5131 [pid 5131] set_robust_list(0x555557386660, 24) = 0 [pid 5131] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5131] setpgid(0, 0) = 0 [pid 5131] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5131] write(3, "1000", 4) = 4 [pid 5131] close(3) = 0 [pid 5131] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5131] ioctl(3, TIOCSETD, [21]) = 0 [pid 5131] write(3, NULL, 0) = 0 [pid 5131] exit_group(0) = ? [pid 5131] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5131, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5132 attached , child_tidptr=0x555557386650) = 5132 [pid 5132] set_robust_list(0x555557386660, 24) = 0 [pid 5132] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5132] setpgid(0, 0) = 0 [pid 5132] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5132] write(3, "1000", 4) = 4 [pid 5132] close(3) = 0 [pid 5132] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5132] ioctl(3, TIOCSETD, [21]) = 0 [pid 5132] write(3, NULL, 0) = 0 [pid 5132] exit_group(0) = ? [pid 5132] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5132, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5133 attached , child_tidptr=0x555557386650) = 5133 [pid 5133] set_robust_list(0x555557386660, 24) = 0 [pid 5133] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5133] setpgid(0, 0) = 0 [pid 5133] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5133] write(3, "1000", 4) = 4 [pid 5133] close(3) = 0 [pid 5133] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5133] ioctl(3, TIOCSETD, [21]) = 0 [pid 5133] write(3, NULL, 0) = 0 [pid 5133] exit_group(0) = ? [pid 5133] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5133, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5134 attached , child_tidptr=0x555557386650) = 5134 [pid 5134] set_robust_list(0x555557386660, 24) = 0 [pid 5134] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5134] setpgid(0, 0) = 0 [pid 5134] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5134] write(3, "1000", 4) = 4 [pid 5134] close(3) = 0 [pid 5134] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5134] ioctl(3, TIOCSETD, [21]) = 0 [pid 5134] write(3, NULL, 0) = 0 [pid 5134] exit_group(0) = ? [pid 5134] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5134, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5135 attached , child_tidptr=0x555557386650) = 5135 [pid 5135] set_robust_list(0x555557386660, 24) = 0 [pid 5135] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5135] setpgid(0, 0) = 0 [pid 5135] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5135] write(3, "1000", 4) = 4 [pid 5135] close(3) = 0 [pid 5135] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5135] ioctl(3, TIOCSETD, [21]) = 0 [pid 5135] write(3, NULL, 0) = 0 [pid 5135] exit_group(0) = ? [pid 5135] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5135, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5136 attached , child_tidptr=0x555557386650) = 5136 [pid 5136] set_robust_list(0x555557386660, 24) = 0 [pid 5136] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5136] setpgid(0, 0) = 0 [pid 5136] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5136] write(3, "1000", 4) = 4 [pid 5136] close(3) = 0 [pid 5136] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5136] ioctl(3, TIOCSETD, [21]) = 0 [ 111.970512][ T5136] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 111.979952][ T5136] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5136, name: syz-executor302 [ 111.989596][ T5136] preempt_count: 1, expected: 0 [ 111.994446][ T5136] RCU nest depth: 0, expected: 0 [ 111.999387][ T5136] 3 locks held by syz-executor302/5136: [ 112.004955][ T5136] #0: ffff888023d6f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 [ 112.014739][ T5136] #1: ffff888023d6f130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x293/0x9b0 [ 112.026084][ T5136] #2: ffff8880785f13e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x150 [ 112.035176][ T5136] irq event stamp: 1028 [ 112.039329][ T5136] hardirqs last enabled at (1027): [] _raw_spin_unlock_irq+0x23/0x50 [ 112.049080][ T5136] hardirqs last disabled at (1028): [] _raw_spin_lock_irqsave+0x52/0x60 [ 112.059009][ T5136] softirqs last enabled at (0): [] copy_process+0x2450/0x9780 [ 112.068150][ T5136] softirqs last disabled at (0): [<0000000000000000>] 0x0 [ 112.075266][ T5136] Preemption disabled at: [ 112.075275][ T5136] [<0000000000000000>] 0x0 [ 112.084013][ T5136] CPU: 0 PID: 5136 Comm: syz-executor302 Tainted: G W 6.7.0-next-20240112-syzkaller #0 [ 112.095047][ T5136] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 112.105107][ T5136] Call Trace: [ 112.108400][ T5136] [ 112.111340][ T5136] dump_stack_lvl+0xd9/0x1b0 [ 112.115983][ T5136] __might_resched+0x3c0/0x5e0 [ 112.120769][ T5136] ? __pfx___might_resched+0x10/0x10 [ 112.126084][ T5136] ? __pfx___lock_acquire+0x10/0x10 [ 112.131353][ T5136] console_lock+0x34/0x150 [ 112.135805][ T5136] do_con_write+0x149/0x7f50 [ 112.140424][ T5136] ? __might_fault+0x13b/0x190 [ 112.145215][ T5136] ? __pfx___lock_acquire+0x10/0x10 [ 112.150439][ T5136] ? __pfx___might_resched+0x10/0x10 [ 112.155749][ T5136] ? __pfx_do_con_write+0x10/0x10 [ 112.160802][ T5136] ? lock_acquire+0x1b1/0x540 [ 112.165538][ T5136] ? __pfx_lock_acquire+0x10/0x10 [ 112.170593][ T5136] ? do_raw_spin_lock+0x12d/0x2c0 [ 112.175645][ T5136] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 112.181064][ T5136] con_write+0x23/0xc0 [ 112.185174][ T5136] gsmld_write+0xd2/0x150 [ 112.189527][ T5136] ? __pfx_gsmld_write+0x10/0x10 [ 112.194488][ T5136] file_tty_write.constprop.0+0x518/0x9b0 [ 112.200245][ T5136] vfs_write+0x6db/0x1100 [ 112.204627][ T5136] ? __pfx_vfs_write+0x10/0x10 [ 112.209426][ T5136] ? find_held_lock+0x2d/0x110 [ 112.214225][ T5136] ? __pfx_lock_release+0x10/0x10 [ 112.219312][ T5136] ? __fget_light+0x176/0x210 [ 112.224065][ T5136] ksys_write+0x12f/0x260 [ 112.228411][ T5136] ? __pfx_ksys_write+0x10/0x10 [ 112.233276][ T5136] ? lockdep_hardirqs_on+0x7c/0x110 [ 112.238499][ T5136] ? _raw_spin_unlock_irq+0x2e/0x50 [ 112.243766][ T5136] ? ptrace_notify+0xf1/0x130 [ 112.248475][ T5136] do_syscall_64+0xd2/0x260 [ 112.253004][ T5136] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 112.258965][ T5136] RIP: 0033:0x7fa35621ccb9 [ 112.263659][ T5136] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 [ 112.283290][ T5136] RSP: 002b:00007ffd8fb2a7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 112.291815][ T5136] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa35621ccb9 [ 112.299825][ T5136] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 112.307810][ T5136] RBP: 000000000001b4d4 R08: 0000000000000006 R09: 0000000000000006 [pid 5136] write(3, NULL, 0) = 0 [pid 5136] exit_group(0) = ? [pid 5136] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5136, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- [ 112.315799][ T5136] R10: 00007ffd8fb2a4c6 R11: 0000000000000246 R12: 00007ffd8fb2a7cc [ 112.323783][ T5136] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 112.331802][ T5136] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5137 ./strace-static-x86_64: Process 5137 attached [pid 5137] set_robust_list(0x555557386660, 24) = 0 [pid 5137] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5137] setpgid(0, 0) = 0 [pid 5137] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5137] write(3, "1000", 4) = 4 [pid 5137] close(3) = 0 [pid 5137] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5137] ioctl(3, TIOCSETD, [21]) = 0 [pid 5137] write(3, NULL, 0) = 0 [pid 5137] exit_group(0) = ? [pid 5137] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5137, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5139 ./strace-static-x86_64: Process 5139 attached [pid 5139] set_robust_list(0x555557386660, 24) = 0 [pid 5139] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5139] setpgid(0, 0) = 0 [pid 5139] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5139] write(3, "1000", 4) = 4 [pid 5139] close(3) = 0 [pid 5139] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5139] ioctl(3, TIOCSETD, [21]) = 0 [pid 5139] write(3, NULL, 0) = 0 [pid 5139] exit_group(0) = ? [pid 5139] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5139, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5140 attached , child_tidptr=0x555557386650) = 5140 [pid 5140] set_robust_list(0x555557386660, 24) = 0 [pid 5140] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5140] setpgid(0, 0) = 0 [pid 5140] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5140] write(3, "1000", 4) = 4 [pid 5140] close(3) = 0 [pid 5140] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5140] ioctl(3, TIOCSETD, [21]) = 0 [pid 5140] write(3, NULL, 0) = 0 [pid 5140] exit_group(0) = ? [pid 5140] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5140, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5141 attached , child_tidptr=0x555557386650) = 5141 [pid 5141] set_robust_list(0x555557386660, 24) = 0 [pid 5141] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5141] setpgid(0, 0) = 0 [pid 5141] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5141] write(3, "1000", 4) = 4 [pid 5141] close(3) = 0 [pid 5141] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5141] ioctl(3, TIOCSETD, [21]) = 0 [pid 5141] write(3, NULL, 0) = 0 [pid 5141] exit_group(0) = ? [pid 5141] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5141, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5142 attached , child_tidptr=0x555557386650) = 5142 [pid 5142] set_robust_list(0x555557386660, 24) = 0 [pid 5142] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5142] setpgid(0, 0) = 0 [pid 5142] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5142] write(3, "1000", 4) = 4 [pid 5142] close(3) = 0 [pid 5142] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5142] ioctl(3, TIOCSETD, [21]) = 0 [pid 5142] write(3, NULL, 0) = 0 [pid 5142] exit_group(0) = ? [pid 5142] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5142, si_uid=0, si_status=0, si_utime=0, si_stime=1 /* 0.01 s */} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5143 ./strace-static-x86_64: Process 5143 attached [pid 5143] set_robust_list(0x555557386660, 24) = 0 [pid 5143] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5143] setpgid(0, 0) = 0 [pid 5143] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5143] write(3, "1000", 4) = 4 [pid 5143] close(3) = 0 [pid 5143] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5143] ioctl(3, TIOCSETD, [21]) = 0 [pid 5143] write(3, NULL, 0) = 0 [pid 5143] exit_group(0) = ? [pid 5143] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5143, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5144 ./strace-static-x86_64: Process 5144 attached [pid 5144] set_robust_list(0x555557386660, 24) = 0 [pid 5144] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5144] setpgid(0, 0) = 0 [pid 5144] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5144] write(3, "1000", 4) = 4 [pid 5144] close(3) = 0 [pid 5144] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5144] ioctl(3, TIOCSETD, [21]) = 0 [pid 5144] write(3, NULL, 0) = 0 [pid 5144] exit_group(0) = ? [pid 5144] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5144, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5145 attached , child_tidptr=0x555557386650) = 5145 [pid 5145] set_robust_list(0x555557386660, 24) = 0 [pid 5145] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5145] setpgid(0, 0) = 0 [pid 5145] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5145] write(3, "1000", 4) = 4 [pid 5145] close(3) = 0 [pid 5145] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5145] ioctl(3, TIOCSETD, [21]) = 0 [ 113.015664][ T5145] BUG: sleeping function called from invalid context at kernel/printk/printk.c:2634 [ 113.025095][ T5145] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 5145, name: syz-executor302 [ 113.034583][ T5145] preempt_count: 1, expected: 0 [ 113.039434][ T5145] RCU nest depth: 0, expected: 0 [ 113.044398][ T5145] 3 locks held by syz-executor302/5145: [ 113.049948][ T5145] #0: ffff8880303640a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 [ 113.059736][ T5145] #1: ffff888030364130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x293/0x9b0 [ 113.071118][ T5145] #2: ffff888023e2e3e0 (&gsm->tx_lock){....}-{2:2}, at: gsmld_write+0x62/0x150 [ 113.080207][ T5145] irq event stamp: 1086 [ 113.084357][ T5145] hardirqs last enabled at (1085): [] _raw_spin_unlock_irq+0x23/0x50 [ 113.094110][ T5145] hardirqs last disabled at (1086): [] _raw_spin_lock_irqsave+0x52/0x60 [ 113.104043][ T5145] softirqs last enabled at (142): [] __do_softirq+0x596/0x8de [ 113.113185][ T5145] softirqs last disabled at (41): [] irq_exit_rcu+0xb9/0x120 [ 113.122146][ T5145] Preemption disabled at: [ 113.122156][ T5145] [<0000000000000000>] 0x0 [ 113.130945][ T5145] CPU: 0 PID: 5145 Comm: syz-executor302 Tainted: G W 6.7.0-next-20240112-syzkaller #0 [ 113.142077][ T5145] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 113.152172][ T5145] Call Trace: [ 113.155460][ T5145] [ 113.158402][ T5145] dump_stack_lvl+0xd9/0x1b0 [ 113.163028][ T5145] __might_resched+0x3c0/0x5e0 [ 113.167820][ T5145] ? __pfx___might_resched+0x10/0x10 [ 113.173126][ T5145] ? __pfx___lock_acquire+0x10/0x10 [ 113.178357][ T5145] console_lock+0x34/0x150 [ 113.182810][ T5145] do_con_write+0x149/0x7f50 [ 113.187425][ T5145] ? __might_fault+0x13b/0x190 [ 113.192237][ T5145] ? __pfx___lock_acquire+0x10/0x10 [ 113.197487][ T5145] ? __pfx___might_resched+0x10/0x10 [ 113.202814][ T5145] ? __pfx_do_con_write+0x10/0x10 [ 113.207887][ T5145] ? lock_acquire+0x1b1/0x540 [ 113.212593][ T5145] ? __pfx_lock_acquire+0x10/0x10 [ 113.217667][ T5145] ? do_raw_spin_lock+0x12d/0x2c0 [ 113.222715][ T5145] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 113.228114][ T5145] con_write+0x23/0xc0 [ 113.232197][ T5145] gsmld_write+0xd2/0x150 [ 113.236545][ T5145] ? __pfx_gsmld_write+0x10/0x10 [ 113.241508][ T5145] file_tty_write.constprop.0+0x518/0x9b0 [ 113.247267][ T5145] vfs_write+0x6db/0x1100 [ 113.251614][ T5145] ? __pfx_vfs_write+0x10/0x10 [ 113.256388][ T5145] ? find_held_lock+0x2d/0x110 [ 113.261194][ T5145] ? __pfx_lock_release+0x10/0x10 [ 113.266239][ T5145] ? __fget_light+0x176/0x210 [ 113.270956][ T5145] ksys_write+0x12f/0x260 [ 113.275304][ T5145] ? __pfx_ksys_write+0x10/0x10 [ 113.280167][ T5145] ? lockdep_hardirqs_on+0x7c/0x110 [ 113.285393][ T5145] ? _raw_spin_unlock_irq+0x2e/0x50 [ 113.290622][ T5145] ? ptrace_notify+0xf1/0x130 [ 113.295341][ T5145] do_syscall_64+0xd2/0x260 [ 113.299894][ T5145] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 113.305840][ T5145] RIP: 0033:0x7fa35621ccb9 [ 113.310268][ T5145] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 [ 113.329890][ T5145] RSP: 002b:00007ffd8fb2a7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 113.338333][ T5145] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa35621ccb9 [ 113.346318][ T5145] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 [ 113.354303][ T5145] RBP: 000000000001b8c9 R08: 0000000000000006 R09: 0000000000000006 [pid 5145] write(3, NULL, 0) = 0 [pid 5145] exit_group(0) = ? [pid 5145] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5145, si_uid=0, si_status=0, si_utime=0, si_stime=2 /* 0.02 s */} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5146 attached , child_tidptr=0x555557386650) = 5146 [pid 5146] set_robust_list(0x555557386660, 24) = 0 [pid 5146] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 113.362287][ T5145] R10: 00007ffd8fb2a4c6 R11: 0000000000000246 R12: 00007ffd8fb2a7cc [ 113.370293][ T5145] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 113.378305][ T5145] [pid 5146] setpgid(0, 0) = 0 [pid 5146] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5146] write(3, "1000", 4) = 4 [pid 5146] close(3) = 0 [pid 5146] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5146] ioctl(3, TIOCSETD, [21]) = 0 [pid 5146] write(3, NULL, 0) = 0 [pid 5146] exit_group(0) = ? [pid 5146] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5146, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5147 attached , child_tidptr=0x555557386650) = 5147 [pid 5147] set_robust_list(0x555557386660, 24) = 0 [pid 5147] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5147] setpgid(0, 0) = 0 [pid 5147] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5147] write(3, "1000", 4) = 4 [pid 5147] close(3) = 0 [pid 5147] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5147] ioctl(3, TIOCSETD, [21]) = 0 [pid 5147] write(3, NULL, 0) = 0 [pid 5147] exit_group(0) = ? [pid 5147] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5147, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5148 attached , child_tidptr=0x555557386650) = 5148 [pid 5148] set_robust_list(0x555557386660, 24) = 0 [pid 5148] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5148] setpgid(0, 0) = 0 [pid 5148] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5148] write(3, "1000", 4) = 4 [pid 5148] close(3) = 0 [pid 5148] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5148] ioctl(3, TIOCSETD, [21]) = 0 [pid 5148] write(3, NULL, 0) = 0 [pid 5148] exit_group(0) = ? [pid 5148] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5148, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5149 attached , child_tidptr=0x555557386650) = 5149 [pid 5149] set_robust_list(0x555557386660, 24) = 0 [pid 5149] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5149] setpgid(0, 0) = 0 [pid 5149] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5149] write(3, "1000", 4) = 4 [pid 5149] close(3) = 0 [pid 5149] openat(AT_FDCWD, "/dev/char/4:21", O_RDWR) = 3 [pid 5149] ioctl(3, TIOCSETD, [21]) = 0 [pid 5149] write(3, NULL, 0) = 0 [pid 5149] exit_group(0) = ? [pid 5149] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5149, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555557386650) = 5150 ./strace-static-x86_64: Process 5150 attached [pid 5150] set_robust_list(0x555557386660, 24) = 0