INFO: task kworker/1:4:5047 blocked for more than 143 seconds. Not tainted 6.4.0-rc4-syzkaller-00047-gafead42fdfca #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:4 state:D stack:24256 pid:5047 ppid:2 flags:0x00004000 Workqueue: events linkwatch_event Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799 linkwatch_event+0xe/0x60 net/core/link_watch.c:277 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task kworker/1:1:7445 blocked for more than 144 seconds. Not tainted 6.4.0-rc4-syzkaller-00047-gafead42fdfca #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:1 state:D stack:24608 pid:7445 ppid:2 flags:0x00004000 Workqueue: events switchdev_deferred_process_work Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799 switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:75 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task kworker/1:2:7542 blocked for more than 145 seconds. Not tainted 6.4.0-rc4-syzkaller-00047-gafead42fdfca #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:26880 pid:7542 ppid:2 flags:0x00004000 Workqueue: ipv6_addrconf addrconf_dad_work Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6804 __mutex_lock_common+0xe33/0x2530 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x1b/0x20 kernel/locking/mutex.c:799 addrconf_dad_work+0xd0/0x16b0 net/ipv6/addrconf.c:4088 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf276f0 ( rcu_tasks.tasks_gp_mutex ){+.+.}-{3:3} , at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf27ab0 ( rcu_tasks_trace.tasks_gp_mutex ){+.+.}-{3:3} , at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf27520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by khugepaged/35: #0: ffffffff8cfd0ba8 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x570 mm/swap.c:852 2 locks held by getty/4744: #0: ffff88814a721098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176 3 locks held by kworker/1:4/5047: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9000577fd20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffffffff8e09fb08 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:277 7 locks held by kworker/1:7/5062: 2 locks held by kworker/u4:8/15834: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90005d1fd20 ( connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 6 locks held by kworker/u4:14/17189: #0: ffff88801425b138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90005bbfd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffffffff8e093850 (pernet_ops_rwsem){++++}-{3:3} , at: cleanup_net+0xf5/0xb80 net/core/net_namespace.c:576 #3: ffffffff8e09fb08 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xdb/0x630 net/core/dev.c:11377 #4: ffff88807af32cf8 (team->team_lock_key #3 ){+.+.}-{3:3} , at: team_del_slave+0x32/0x1d0 drivers/net/team/team.c:1999 #5: ffffffff8cf2cbf8 ( rcu_state.exp_mutex ){+.+.}-{3:3} , at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] , at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992 3 locks held by kworker/1:0/1460: #0: ffff888012471d38 ( (wq_completion)events_power_efficient ){+.+.}-{0:0} , at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9000316fd20 ( (reg_check_chans).work ){+.+.}-{0:0} , at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffffffff8e09fb08 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x91/0xde0 net/wireless/reg.c:2455 3 locks held by kworker/0:0/2148: #0: ffff88814a333538 ( (wq_completion)ipv6_addrconf ){+.+.}-{0:0} , at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9000c867d20 ( (work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffffffff8e09fb08 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16b0 net/ipv6/addrconf.c:4088 3 locks held by kworker/1:1/7445: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9001941fd20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffffffff8e09fb08 ( rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:75 3 locks held by kworker/0:4/7537: 3 locks held by kworker/1:2/7542: #0: ffff88814a333538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9000318fd20 ( (work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffffffff8e09fb08 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16b0 net/ipv6/addrconf.c:4088 2 locks held by kworker/u4:0/7575: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc900033bfd20 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by dhcpcd/7636: #0: ffff88804e6d6130 ( sk_lock-AF_PACKET ){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1697 [inline] ){+.+.}-{0:0}, at: packet_do_bind+0x28/0xbd0 net/packet/af_packet.c:3202 #1: ffffffff8cf2cbf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8cf2cbf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992 1 lock held by dhcpcd/7637: #0: ffff888050d00130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1697 [inline] #0: ffff888050d00130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x28/0xbd0 net/packet/af_packet.c:3202 1 lock held by dhcpcd/7638: #0: ffff88805348e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1697 [inline] #0: ffff88805348e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x28/0xbd0 net/packet/af_packet.c:3202 1 lock held by dhcpcd/7639: #0: ffff888050d02130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1697 [inline] ffff888050d02130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x28/0xbd0 net/packet/af_packet.c:3202 1 lock held by dhcpcd/7640: #0: ffff88804ae98130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1697 [inline] #0: ffff88804ae98130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x28/0xbd0 net/packet/af_packet.c:3202 1 lock held by dhcpcd/7641: #0: ffff8880771ae130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1697 [inline] #0: ffff8880771ae130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x28/0xbd0 net/packet/af_packet.c:3202 1 lock held by syz-executor.4/7669: #0: ffffffff8e09fb08 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e09fb08 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x7ce/0xf40 net/core/rtnetlink.c:6392 1 lock held by syz-executor.0/7671: #0: ffffffff8e09fb08 ( rtnl_mutex ){+.+.}-{3:3} , at: rtnl_lock net/core/rtnetlink.c:78 [inline] , at: rtnetlink_rcv_msg+0x7ce/0xf40 net/core/rtnetlink.c:6392 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc4-syzkaller-00047-gafead42fdfca #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+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/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+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:379 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: 17188 Comm: kworker/u4:13 Not tainted 6.4.0-rc4-syzkaller-00047-gafead42fdfca #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:85 [inline] RIP: 0010:memory_is_nonzero mm/kasan/generic.c:102 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:128 [inline] RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline] RIP: 0010:check_region_inline mm/kasan/generic.c:178 [inline] RIP: 0010:kasan_check_range+0x7f/0x290 mm/kasan/generic.c:187 Code: 00 00 00 00 fc ff df 4f 8d 34 1a 4c 89 f5 4c 29 cd 48 83 fd 10 7f 26 48 85 ed 0f 84 3a 01 00 00 49 f7 d2 49 01 da 41 80 39 00 <0f> 85 c4 01 00 00 49 ff c1 49 ff c2 75 ee e9 1d 01 00 00 45 89 cf RSP: 0018:ffffc90005fc78c0 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffffffff2065066 RCX: ffffffff816b1ca2 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90328330 RBP: 0000000000000001 R08: dffffc0000000000 R09: fffffbfff2065066 R10: ffffffffffffffff R11: dffffc0000000001 R12: 00000000000006ba R13: 1ffff1100b01950d R14: fffffbfff2065067 R15: ffff8880580ca8f8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcfeab8a866 CR3: 00000000220c9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] check_wait_context kernel/locking/lockdep.c:4751 [inline] __lock_acquire+0x4b2/0x2070 kernel/locking/lockdep.c:5038 lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5705 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x35/0x50 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:355 [inline] batadv_nc_purge_paths+0xe8/0x3a0 net/batman-adv/network-coding.c:442 batadv_nc_worker+0x2d3/0x5c0 net/batman-adv/network-coding.c:720 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308