INFO: task syz-executor.5:5278 blocked for more than 143 seconds. Not tainted 6.1.0-syzkaller-11778-gc183e6c3ec34 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26288 pid:5278 ppid:5109 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 __lock_sock+0x141/0x260 net/core/sock.c:2904 lock_sock_nested+0xda/0xf0 net/core/sock.c:3475 lock_sock include/net/sock.h:1725 [inline] mptcp_stream_connect+0x49/0x110 net/mptcp/protocol.c:3620 __sys_connect_file+0x153/0x1a0 net/socket.c:1976 __sys_connect+0x165/0x1a0 net/socket.c:1993 __do_sys_connect net/socket.c:2003 [inline] __se_sys_connect net/socket.c:2000 [inline] __x64_sys_connect+0x73/0xb0 net/socket.c:2000 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:0x7f1350a8c0a9 RSP: 002b:00007f1351803168 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f1350babf80 RCX: 00007f1350a8c0a9 RDX: 0000000000000010 RSI: 0000000020001200 RDI: 0000000000000003 RBP: 00007f1350ae7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe8e8ad46f R14: 00007f1351803300 R15: 0000000000022000 INFO: task syz-executor.5:5282 blocked for more than 143 seconds. Not tainted 6.1.0-syzkaller-11778-gc183e6c3ec34 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26400 pid:5282 ppid:5109 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0xb8a/0x5450 kernel/sched/core.c:6555 schedule+0xde/0x1b0 kernel/sched/core.c:6631 __lock_sock+0x141/0x260 net/core/sock.c:2904 lock_sock_nested+0xda/0xf0 net/core/sock.c:3475 __mptcp_close_ssk+0x19e/0x780 net/mptcp/protocol.c:2322 mptcp_destroy_common+0x169/0x650 net/mptcp/protocol.c:3152 mptcp_disconnect+0xb7/0x450 net/mptcp/protocol.c:3003 __inet_stream_connect+0xc95/0xed0 net/ipv4/af_inet.c:717 tcp_sendmsg_fastopen+0x3c4/0x710 net/ipv4/tcp.c:1200 mptcp_sendmsg_fastopen net/mptcp/protocol.c:1676 [inline] mptcp_sendmsg+0x1359/0x1910 net/mptcp/protocol.c:1715 inet_sendmsg+0x9d/0xe0 net/ipv4/af_inet.c:827 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xd3/0x120 net/socket.c:734 __sys_sendto+0x23a/0x340 net/socket.c:2117 __do_sys_sendto net/socket.c:2129 [inline] __se_sys_sendto net/socket.c:2125 [inline] __x64_sys_sendto+0xe1/0x1b0 net/socket.c:2125 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:0x7f1350a8c0a9 RSP: 002b:00007f13517c1168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f1350bac120 RCX: 00007f1350a8c0a9 RDX: 0000000000000020 RSI: 0000000020001240 RDI: 0000000000000003 RBP: 00007f1350ae7ae9 R08: 0000000020001280 R09: 0000000000000010 R10: 00000000240600c1 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe8e8ad46f R14: 00007f13517c1300 R15: 0000000000022000 Showing all locks held in the system: 3 locks held by kworker/u4:0/9: #0: ffff8880b993b598 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:537 #1: ffff8880b99287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x930 kernel/sched/psi.c:976 #2: ffff88807527cd40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1114 [inline] #2: ffff88807527cd40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0x94/0xe80 net/mac80211/ibss.c:1680 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c790c70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c790970 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8c7917c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494 2 locks held by getty/4749: #0: ffff8880282a4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.5/5278: #0: ffff888047090130 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline] #0: ffff888047090130 (sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_stream_connect+0x49/0x110 net/mptcp/protocol.c:3620 3 locks held by syz-executor.5/5282: #0: ffff888047090130 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline] #0: ffff888047090130 (sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_sendmsg+0xce/0x1910 net/mptcp/protocol.c:1708 #1: ffff888026e699b0 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline] #1: ffff888026e699b0 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_sendmsg_fastopen net/mptcp/protocol.c:1672 [inline] #1: ffff888026e699b0 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_sendmsg+0x1296/0x1910 net/mptcp/protocol.c:1715 #2: ffff888026e699b0 (k-sk_lock-AF_INET/1){+.+.}-{0:0}, at: __mptcp_close_ssk+0x19e/0x780 net/mptcp/protocol.c:2322 2 locks held by syz-executor.2/7289: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.0-syzkaller-11778-gc183e6c3ec34 #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+0xd1/0x138 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x24/0x18a lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x333/0x3c0 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+0xc75/0xfc0 kernel/hung_task.c:377 kthread+0x2e8/0x3a0 kernel/kthread.c:376 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 CPU: 0 PID: 46 Comm: kworker/u4:3 Not tainted 6.1.0-syzkaller-11778-gc183e6c3ec34 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: bat_events batadv_nc_worker RIP: 0010:lock_release+0x5b/0x810 kernel/locking/lockdep.c:5676 Code: b3 8a b5 41 48 c1 ed 03 48 c7 44 24 18 70 79 01 8c 48 01 e8 48 c7 44 24 20 40 ef 63 81 c7 00 f1 f1 f1 f1 c7 40 04 f1 f1 04 f2 40 08 04 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 84 24 88 00 RSP: 0018:ffffc90000b77bc0 EFLAGS: 00000282 RAX: fffff5200016ef7a RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff888017c43a80 RSI: ffffffff89945e9d RDI: ffffffff8c7917c0 RBP: 1ffff9200016ef7a R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8c7917c0 R13: 0000000000000000 R14: dffffc0000000000 R15: 000000000000035a FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdbd08fe68 CR3: 0000000022e5a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:330 [inline] rcu_read_unlock include/linux/rcupdate.h:797 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x86f/0xfa0 net/batman-adv/network-coding.c:719 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x669/0x1090 kernel/workqueue.c:2436 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308