INFO: task syz-executor.3:5446 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-syzkaller-g022ce8862dff #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27816 pid:5446 ppid:5348 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 tty_open_by_driver drivers/tty/tty_io.c:2045 [inline] tty_open+0x59c/0x1010 drivers/tty/tty_io.c:2128 chrdev_open+0x26a/0x770 fs/char_dev.c:414 do_dentry_open+0x6cc/0x13f0 fs/open.c:920 do_open fs/namei.c:3636 [inline] path_openat+0x1baa/0x2750 fs/namei.c:3791 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1383 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa917e3bf74 RSP: 002b:00007fa918fa1ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fa917f9bf60 RCX: 00007fa917e3bf74 RDX: 0000000000000002 RSI: 00007fa918fa1d40 RDI: 00000000ffffff9c RBP: 00007fa918fa1d40 R08: 0000000000000000 R09: 000000000000000e R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007fff3261527f R14: 00007fa918fa2300 R15: 0000000000022000 INFO: task syz-executor.5:5448 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-syzkaller-g022ce8862dff #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27624 pid:5448 ppid:5349 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 tty_open_by_driver drivers/tty/tty_io.c:2045 [inline] tty_open+0x59c/0x1010 drivers/tty/tty_io.c:2128 chrdev_open+0x26a/0x770 fs/char_dev.c:414 do_dentry_open+0x6cc/0x13f0 fs/open.c:920 do_open fs/namei.c:3636 [inline] path_openat+0x1baa/0x2750 fs/namei.c:3791 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1383 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0ba943bf74 RSP: 002b:00007f0baa556ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f0ba959bf60 RCX: 00007f0ba943bf74 RDX: 0000000000000002 RSI: 00007f0baa556d40 RDI: 00000000ffffff9c RBP: 00007f0baa556d40 R08: 0000000000000000 R09: 000000000000000e R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffda68f374f R14: 00007f0baa557300 R15: 0000000000022000 INFO: task syz-executor.1:5450 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-syzkaller-g022ce8862dff #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27592 pid:5450 ppid:5352 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 tty_open_by_driver drivers/tty/tty_io.c:2045 [inline] tty_open+0x59c/0x1010 drivers/tty/tty_io.c:2128 chrdev_open+0x26a/0x770 fs/char_dev.c:414 do_dentry_open+0x6cc/0x13f0 fs/open.c:920 do_open fs/namei.c:3636 [inline] path_openat+0x1baa/0x2750 fs/namei.c:3791 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1383 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fbe8803bf74 RSP: 002b:00007fbe89134ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fbe8819bf60 RCX: 00007fbe8803bf74 RDX: 0000000000000002 RSI: 00007fbe89134d40 RDI: 00000000ffffff9c RBP: 00007fbe89134d40 R08: 0000000000000000 R09: 000000000000000e R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffe5d8d369f R14: 00007fbe89135300 R15: 0000000000022000 INFO: task syz-executor.0:5452 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-syzkaller-g022ce8862dff #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27984 pid:5452 ppid:5351 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 tty_open_by_driver drivers/tty/tty_io.c:2045 [inline] tty_open+0x59c/0x1010 drivers/tty/tty_io.c:2128 chrdev_open+0x26a/0x770 fs/char_dev.c:414 do_dentry_open+0x6cc/0x13f0 fs/open.c:920 do_open fs/namei.c:3636 [inline] path_openat+0x1baa/0x2750 fs/namei.c:3791 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1383 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb6e483bf74 RSP: 002b:00007fb6e5956ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fb6e499bf60 RCX: 00007fb6e483bf74 RDX: 0000000000000002 RSI: 00007fb6e5956d40 RDI: 00000000ffffff9c RBP: 00007fb6e5956d40 R08: 0000000000000000 R09: 000000000000000e R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffd0917acaf R14: 00007fb6e5957300 R15: 0000000000022000 INFO: task syz-executor.4:5475 blocked for more than 143 seconds. Not tainted 6.4.0-rc5-syzkaller-g022ce8862dff #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27688 pid:5475 ppid:5454 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 tty_open_by_driver drivers/tty/tty_io.c:2045 [inline] tty_open+0x59c/0x1010 drivers/tty/tty_io.c:2128 chrdev_open+0x26a/0x770 fs/char_dev.c:414 do_dentry_open+0x6cc/0x13f0 fs/open.c:920 do_open fs/namei.c:3636 [inline] path_openat+0x1baa/0x2750 fs/namei.c:3791 do_filp_open+0x1ba/0x410 fs/namei.c:3818 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356 do_sys_open fs/open.c:1372 [inline] __do_sys_openat fs/open.c:1388 [inline] __se_sys_openat fs/open.c:1383 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1383 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f249a23bf74 RSP: 002b:00007f249b440ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f249a39bf60 RCX: 00007f249a23bf74 RDX: 0000000000000002 RSI: 00007f249b440d40 RDI: 00000000ffffff9c RBP: 00007f249b440d40 R08: 0000000000000000 R09: 000000000000000e R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002 R13: 00007ffffc683e5f R14: 00007f249b441300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c7984b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c7981b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8c7990c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6559 2 locks held by getty/4755: #0: ffff888027ec4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 4 locks held by syz-executor.2/5444: 1 lock held by syz-executor.3/5446: #0: ffffffff8d241528 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline] #0: ffffffff8d241528 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x59c/0x1010 drivers/tty/tty_io.c:2128 1 lock held by syz-executor.5/5448: #0: ffffffff8d241528 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline] #0: ffffffff8d241528 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x59c/0x1010 drivers/tty/tty_io.c:2128 1 lock held by syz-executor.1/5450: #0: ffffffff8d241528 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline] #0: ffffffff8d241528 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x59c/0x1010 drivers/tty/tty_io.c:2128 1 lock held by syz-executor.0/5452: #0: ffffffff8d241528 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline] #0: ffffffff8d241528 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x59c/0x1010 drivers/tty/tty_io.c:2128 1 lock held by syz-executor.4/5475: #0: ffffffff8d241528 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2045 [inline] #0: ffffffff8d241528 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x59c/0x1010 drivers/tty/tty_io.c:2128 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc5-syzkaller-g022ce8862dff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt+0x40/0x50 drivers/acpi/processor_idle.c:112