INFO: task syz-executor.4:5838 blocked for more than 143 seconds. Not tainted 6.2.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27240 pid:5838 ppid:5107 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 __lock_sock+0x1cf/0x330 net/core/sock.c:2904 lock_sock_nested+0x99/0xf0 net/core/sock.c:3475 lock_sock include/net/sock.h:1725 [inline] mptcp_sendmsg+0xfc/0x1cf0 net/mptcp/protocol.c:1708 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0x597/0x8e0 net/socket.c:2476 ___sys_sendmsg net/socket.c:2530 [inline] __sys_sendmsg+0x28e/0x390 net/socket.c:2559 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff1a488c0a9 RSP: 002b:00007ff1a5510168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007ff1a49ac050 RCX: 00007ff1a488c0a9 RDX: 0000000000000840 RSI: 0000000020000700 RDI: 0000000000000003 RBP: 00007ff1a48e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7e23944f R14: 00007ff1a5510300 R15: 0000000000022000 INFO: task syz-executor.4:5839 blocked for more than 145 seconds. Not tainted 6.2.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26384 pid:5839 ppid:5107 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 __lock_sock+0x1cf/0x330 net/core/sock.c:2904 lock_sock_nested+0x99/0xf0 net/core/sock.c:3475 __mptcp_close_ssk+0x198/0x690 net/mptcp/protocol.c:2322 mptcp_destroy_common+0x58c/0xa30 net/mptcp/protocol.c:3152 mptcp_disconnect+0xc1/0x270 net/mptcp/protocol.c:3003 __inet_stream_connect+0xa3e/0xe10 net/ipv4/af_inet.c:717 tcp_sendmsg_fastopen+0x3b0/0x610 net/ipv4/tcp.c:1200 mptcp_sendmsg_fastopen net/mptcp/protocol.c:1676 [inline] mptcp_sendmsg+0x307/0x1cf0 net/mptcp/protocol.c:1715 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] ____sys_sendmsg+0x597/0x8e0 net/socket.c:2476 ___sys_sendmsg net/socket.c:2530 [inline] __sys_sendmsg+0x28e/0x390 net/socket.c:2559 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff1a488c0a9 RSP: 002b:00007ff1a33fe168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007ff1a49ac120 RCX: 00007ff1a488c0a9 RDX: 0000000020000851 RSI: 0000000020000fc0 RDI: 0000000000000003 RBP: 00007ff1a48e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc7e23944f R14: 00007ff1a33fe300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/u4:0/9: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d523910 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d524110 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d523740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:6/2419: 2 locks held by getty/4740: #0: ffff88802c343098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177 2 locks held by kworker/0:5/5160: #0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc90004707d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 4 locks held by kworker/u4:8/5574: 1 lock held by syz-executor.4/5838: #0: ffff88807b300130 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline] #0: ffff88807b300130 (sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_sendmsg+0xfc/0x1cf0 net/mptcp/protocol.c:1708 3 locks held by syz-executor.4/5839: #0: ffff88807b300130 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline] #0: ffff88807b300130 (sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_sendmsg+0xfc/0x1cf0 net/mptcp/protocol.c:1708 #1: ffff888022c4e330 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline] #1: ffff888022c4e330 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_sendmsg_fastopen net/mptcp/protocol.c:1672 [inline] #1: ffff888022c4e330 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_sendmsg+0x28f/0x1cf0 net/mptcp/protocol.c:1715 #2: ffff888022c4e330 (k-sk_lock-AF_INET/1){+.+.}-{0:0}, at: __mptcp_close_ssk+0x198/0x690 net/mptcp/protocol.c:2322 2 locks held by kworker/u4:11/7062: #0: ffff888012879138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc9000ac6fd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 2 locks held by syz-executor.5/7659: #0: ffff8880184840e0 (&type->s_umount_key#49/1){+.+.}-{3:3}, at: alloc_super+0x212/0x920 fs/super.c:228 #1: ffffffff8d528d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #1: ffffffff8d528d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a6/0x890 kernel/rcu/tree_exp.h:946 2 locks held by syz-executor.0/7665: #0: ffff8880760500e0 (&type->s_umount_key#49/1){+.+.}-{3:3}, at: alloc_super+0x212/0x920 fs/super.c:228 #1: ffffffff8d528d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #1: ffffffff8d528d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46f/0x890 kernel/rcu/tree_exp.h:946 6 locks held by syz-executor.0/7674: #0: ffff88801930a868 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x242/0x2e0 fs/file.c:1046 #1: ffff88801de12460 (sb_writers#10){.+.+}-{0:0}, at: vfs_write+0x275/0xbb0 fs/read_write.c:580 #2: ffff888076edc888 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1f3/0x500 fs/kernfs/file.c:325 #3: ffffffff8d54b368 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_kn_lock_live+0xe4/0x280 kernel/cgroup/cgroup.c:1673 #4: ffffffff8d3c1030 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2435 [inline] #4: ffffffff8d3c1030 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_procs_write_start+0x196/0x600 kernel/cgroup/cgroup.c:2939 #5: ffffffff8d54b550 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2437 [inline] #5: ffffffff8d54b550 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_procs_write_start+0x1ab/0x600 kernel/cgroup/cgroup.c:2939 1 lock held by syz-executor.3/7670: #0: ffff88809377c0e0 (&type->s_umount_key#49/1){+.+.}-{3:3}, at: alloc_super+0x212/0x920 fs/super.c:228 2 locks held by syz-executor.2/7681: 2 locks held by syz-executor.1/7683: #0: ffff88801de120e0 (&type->s_umount_key#48){+.+.}-{3:3}, at: grab_super+0x58/0x190 fs/super.c:386 #1: ffffffff8d54b368 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_do_get_tree+0x1a9/0x670 kernel/cgroup/cgroup.c:2170 1 lock held by syz-executor.4/7688: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e3/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x19b/0x3e0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_idle_do_entry drivers/acpi/processor_idle.c:570 [inline] NMI backtrace for cpu 1 skipped: idling at acpi_idle_enter+0x43d/0x800 drivers/acpi/processor_idle.c:707