INFO: task syz-executor.5:5443 blocked for more than 143 seconds.
Not tainted 6.2.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:28776 pid:5443 ppid:5104 flags:0x20000004
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]
__ia32_sys_sendto+0xdf/0x1b0 net/socket.c:2125
do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
__do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178
do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203
entry_SYSENTER_compat_after_hwframe+0x70/0x82
RIP: 0023:0xf7fd1549
RSP: 002b:00000000f7fab5cc EFLAGS: 00000296 ORIG_RAX: 0000000000000171
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000020000c80
RBP: 0000000000000010 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Showing all locks held in the system:
5 locks held by kworker/0:0/7:
#0: ffff888017606d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888017606d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888017606d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888017606d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888017606d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888017606d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffff8880b98287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x930 kernel/sched/psi.c:976
#2: ffff888044080078 (&group->avgs_lock){+.+.}-{3:3}, at: psi_avgs_work+0x7c/0x1f0 kernel/sched/psi.c:450
#3: ffffffff91e95b38 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x132/0x3e0 lib/debugobjects.c:665
#4: ffffffff91e1ebb8 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:984 [inline]
#4: ffffffff91e1ebb8 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0xcb/0x420 lib/debugobjects.c:1027
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8c790f30 (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: ffffffff8c790c30 (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: ffffffff8c791a80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x57/0x264 kernel/locking/lockdep.c:6494
5 locks held by kworker/0:3/1127:
#0: ffff888017606d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888017606d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888017606d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888017606d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline]
#0: ffff888017606d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline]
#0: ffff888017606d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1710 kernel/workqueue.c:2260
#1: ffffc90005fa7da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1710 kernel/workqueue.c:2264
#2: ffff8880227fa190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline]
#2: ffff8880227fa190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4810 drivers/usb/core/hub.c:5737
#3: ffff888035517190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline]
#3: ffff888035517190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:983
#4: ffff888032582118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:831 [inline]
#4: ffff888032582118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x530 drivers/base/dd.c:983
2 locks held by getty/4748:
#0: ffff88802bf43098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
5 locks held by kworker/u4:6/5276:
#0: ffff8880b983b598 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:537
#1: ffff8880b98287c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2de/0x930 kernel/sched/psi.c:976
#2: ffff8880b9829618 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:999
#3: ffffffff91dee210 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x132/0x3e0 lib/debugobjects.c:665
#4: ffffffff8c658928 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_apply+0x12/0x30 arch/x86/kernel/jump_label.c:145
3 locks held by kworker/u4:8/5380:
3 locks held by syz-executor.5/5443:
#0: ffff888043a98130 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline]
#0: ffff888043a98130 (sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_sendmsg+0xce/0x1910 net/mptcp/protocol.c:1708
#1: ffff88802c3725f0 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline]
#1: ffff88802c3725f0 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_sendmsg_fastopen net/mptcp/protocol.c:1672 [inline]
#1: ffff88802c3725f0 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_sendmsg+0x1296/0x1910 net/mptcp/protocol.c:1715
#2: ffff88802c3725f0 (k-sk_lock-AF_INET/1){+.+.}-{0:0}, at: __mptcp_close_ssk+0x19e/0x780 net/mptcp/protocol.c:2322
3 locks held by syz-executor.5/5575:
#0: ffff888043a98cb0 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline]
#0: ffff888043a98cb0 (sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_sendmsg+0xce/0x1910 net/mptcp/protocol.c:1708
#1: ffff88802c3719b0 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline]
#1: ffff88802c3719b0 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_sendmsg_fastopen net/mptcp/protocol.c:1672 [inline]
#1: ffff88802c3719b0 (k-sk_lock-AF_INET){+.+.}-{0:0}, at: mptcp_sendmsg+0x1296/0x1910 net/mptcp/protocol.c:1715
#2: ffff88802c3719b0 (k-sk_lock-AF_INET/1){+.+.}-{0:0}, at: __mptcp_close_ssk+0x19e/0x780 net/mptcp/protocol.c:2322
3 locks held by udevd/5875:
#0: ffff888044c45488 (&of->mutex){+.+.}-{3:3}, at: kernfs_file_read_iter fs/kernfs/file.c:240 [inline]
#0: ffff888044c45488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_read_iter+0x18e/0x790 fs/kernfs/file.c:280
#1: ffff88807aa08e88 (kn->active#25){.+.+}-{0:0}, at: kernfs_file_read_iter fs/kernfs/file.c:241 [inline]
#1: ffff88807aa08e88 (kn->active#25){.+.+}-{0:0}, at: kernfs_fop_read_iter+0x1b1/0x790 fs/kernfs/file.c:280
#2: ffff888035517190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:836 [inline]
#2: ffff888035517190 (&dev->mutex){....}-{3:3}, at: read_descriptors+0x40/0x2c0 drivers/usb/core/sysfs.c:874
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc2-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+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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5745 Comm: kworker/u4:9 Not tainted 6.2.0-rc2-syzkaller #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 kernel/locking/lockdep.c:5373 [inline]
RIP: 0010:lock_release+0x33a/0x810 kernel/locking/lockdep.c:5688
Code: 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 6c 04 00 00 49 8d bf 28 0a 00 00 48 8b 1b 48 b8 00 00 00 00 00 fc ff df 48 89 fa <48> c1 ea 03 80 3c 02 00 0f 85 3d 04 00 00 41 8d 45 ff 49 89 9f 28
RSP: 0018:ffffc900001e0b88 EFLAGS: 00000046
RAX: dffffc0000000000 RBX: a61b44cf871dac5d RCX: ffffc900001e0bd8
RDX: ffff88807e85a768 RSI: 0000000000000000 RDI: ffff88807e85a768
RBP: 1ffff9200003c173 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000003
R13: 0000000000000004 R14: ffff88807e85a770 R15: ffff88807e859d40
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c000453000 CR3: 0000000027f19000 CR4: 00000000003506e0
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]
select_task_rq_fair+0x4bb/0x4160 kernel/sched/fair.c:7426
select_task_rq kernel/sched/core.c:3504 [inline]
try_to_wake_up+0x417/0x2080 kernel/sched/core.c:4201
hrtimer_wakeup+0x47/0x60 kernel/time/hrtimer.c:1939
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x690/0xfb0 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
__sysvec_apic_timer_interrupt+0x180/0x640 arch/x86/kernel/apic/apic.c:1113
sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__local_bh_enable_ip+0xac/0x130 kernel/softirq.c:403
Code: 1d 21 d4 b6 7e 65 8b 05 1a d4 b6 7e a9 00 ff ff 00 74 45 bf 01 00 00 00 e8 51 e7 09 00 e8 9c fc 3a 00 fb 65 8b 05 fc d3 b6 7e <85> c0 74 58 5b 5d c3 65 8b 05 22 ae b5 7e 85 c0 75 a2 0f 0b eb 9e
RSP: 0018:ffffc9000307fc00 EFLAGS: 00000202
RAX: 0000000080000000 RBX: 00000000fffffe00 RCX: 1ffffffff2270f9e
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffffff8994a365 R08: 0000000000000001 R09: ffffffff91336b97
R10: 0000000000000001 R11: 0000000000000000 R12: ffff88807ebb97a8
R13: ffff88807ebb8c80 R14: dffffc0000000000 R15: ffffffff8994a5c0
spin_unlock_bh include/linux/spinlock.h:395 [inline]
batadv_nc_purge_paths+0x2a5/0x3a0 net/batman-adv/network-coding.c:471
batadv_nc_worker+0x8fd/0xfa0 net/batman-adv/network-coding.c:720
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