INFO: task kworker/0:0:20224 blocked for more than 143 seconds. Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:24504 pid:20224 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_verify_work 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 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 addrconf_verify_work+0x15/0x30 net/ipv6/addrconf.c:4624 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task kworker/1:0:9494 blocked for more than 143 seconds. Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:0 state:D stack:23200 pid:9494 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_verify_work 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 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 addrconf_verify_work+0x15/0x30 net/ipv6/addrconf.c:4624 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.4:27102 blocked for more than 144 seconds. Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27952 pid:27102 ppid:14763 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 do_ipv6_setsockopt+0x434/0x4480 net/ipv6/ipv6_sockglue.c:420 ipv6_setsockopt+0x58/0x190 net/ipv6/ipv6_sockglue.c:1023 __sys_setsockopt+0x631/0x970 net/socket.c:2246 __do_sys_setsockopt net/socket.c:2257 [inline] __se_sys_setsockopt net/socket.c:2254 [inline] __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2254 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:0x7fc2f7c8c0a9 RSP: 002b:00007fc2f67dd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007fc2f7dac050 RCX: 00007fc2f7c8c0a9 RDX: 000000000000001c RSI: 0000000000000029 RDI: 0000000000000003 RBP: 00007fc2f7ce7ae9 R08: 0000000000000014 R09: 0000000000000000 R10: 0000000020000080 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd79c0229f R14: 00007fc2f67dd300 R15: 0000000000022000 Showing all locks held in the system: 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 2 locks held by kswapd0/83: 2 locks held by getty/4735: #0: ffff888028929098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177 3 locks held by kworker/0:0/20224: #0: ffff88802823ed38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc9000331fd00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffffffff8e664088 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x15/0x30 net/ipv6/addrconf.c:4624 3 locks held by kworker/1:0/9494: #0: ffff88802823ed38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc9000360fd00 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffffffff8e664088 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x15/0x30 net/ipv6/addrconf.c:4624 1 lock held by syz-executor.4/11520: 1 lock held by syz-executor.5/11568: 1 lock held by syz-executor.4/11622: 1 lock held by syz-executor.0/11653: 3 locks held by syz-executor.4/11711: 7 locks held by kworker/1:5/11793: #0: ffff8880b993a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 #1: ffff8880b9927748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x682/0xa30 kernel/sched/psi.c:976 #2: ffffffff8d677158 (kernfs_notify_lock){..-.}-{2:2}, at: spin_lock_irq include/linux/spinlock.h:375 [inline] #2: ffffffff8d677158 (kernfs_notify_lock){..-.}-{2:2}, at: kernfs_notify_workfn+0x5f5/0x670 fs/kernfs/file.c:913 #3: ffffffff8d523740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:324 #4: ffffffff8d5237a0 (rcu_read_lock_bh){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:324 #5: ffffffff8d523740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 include/linux/rcupdate.h:324 #6: ffff8880b9839a18 (&pool->lock){-.-.}-{2:2}, at: __queue_work+0x5f4/0xd60 1 lock held by syz-executor.4/14479: 2 locks held by syz-executor.4/14642: 3 locks held by kworker/u4:11/14640: #0: ffff8880b983a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 #1: ffff8880b9827748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x682/0xa30 kernel/sched/psi.c:976 #2: ffff88809be08d40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1114 [inline] #2: ffff88809be08d40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0xa0/0x1510 net/mac80211/ibss.c:1680 1 lock held by syz-executor.4/27098: 2 locks held by syz-executor.4/27102: #0: ffffffff8e664088 (rtnl_mutex){+.+.}-{3:3}, at: do_ipv6_setsockopt+0x3f7/0x4480 net/ipv6/ipv6_sockglue.c:419 #1: ffff88807bb36730 (sk_lock-AF_INET6){+.+.}-{0:0}, at: do_ipv6_setsockopt+0x434/0x4480 net/ipv6/ipv6_sockglue.c:420 1 lock held by syz-executor.5/27196: #0: ffffffff8e664088 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:75 [inline] #0: ffffffff8e664088 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x773/0xec0 net/core/rtnetlink.c:6138 1 lock held by syz-executor.4/27205: #0: ffffffff8e664088 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:75 [inline] #0: ffffffff8e664088 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x773/0xec0 net/core/rtnetlink.c:6138 1 lock held by syz-executor.4/27211: #0: ffffffff8e664088 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:75 [inline] #0: ffffffff8e664088 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x773/0xec0 net/core/rtnetlink.c:6138 2 locks held by dhcpcd/27218: #0: ffff88817fe08130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1725 [inline] #0: ffff88817fe08130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2a/0xce0 net/packet/af_packet.c:3194 #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 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #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 CPU: 1 PID: 7722 Comm: kworker/u4:26 Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #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+0x2df/0x870 kernel/locking/lockdep.c:5688 Code: 8b 36 48 8b 5c 24 08 48 81 c3 28 0a 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74 0e 48 89 df 49 89 d5 e8 a4 c0 77 00 4c 89 ea <4c> 89 33 44 39 fa 0f 84 60 02 00 00 ff c2 48 8b 7c 24 08 48 8b 74 RSP: 0018:ffffc90003adfaa0 EFLAGS: 00000046 RAX: 1ffff11012489c3d RBX: ffff88809244e1e8 RCX: ffffc90003adfb03 RDX: 0000000000000002 RSI: ffffffff8d523740 RDI: ffff88809244e248 RBP: ffffc90003adfbc8 R08: dffffc0000000000 R09: fffffbfff1d603b6 R10: fffffbfff1d603b6 R11: 1ffffffff1d603b5 R12: dffffc0000000000 R13: ffff88809244e268 R14: 787ecb18009b4bcb R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055960c1f4680 CR3: 000000000d28e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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+0x251/0x5b0 net/batman-adv/network-coding.c:719 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308