INFO: task kworker/u8:6:1049 blocked for more than 143 seconds. Not tainted 6.10.0-rc6-next-20240702-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:6 state:D stack:19992 pid:1049 tgid:1049 ppid:2 flags:0x00004000 Workqueue: events_unbound call_usermodehelper_exec_work Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 percpu_rwsem_wait+0x3c2/0x450 kernel/locking/percpu-rwsem.c:162 __percpu_down_read+0xee/0x130 kernel/locking/percpu-rwsem.c:177 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] cgroup_threadgroup_change_begin include/linux/cgroup-defs.h:790 [inline] cgroup_css_set_fork kernel/cgroup/cgroup.c:6417 [inline] cgroup_can_fork+0xb97/0xc80 kernel/cgroup/cgroup.c:6546 copy_process+0x21c0/0x3d70 kernel/fork.c:2472 kernel_clone+0x226/0x8f0 kernel/fork.c:2788 user_mode_thread+0x132/0x1a0 kernel/fork.c:2866 call_usermodehelper_exec_sync kernel/umh.c:133 [inline] call_usermodehelper_exec_work+0x9b/0x230 kernel/umh.c:164 process_one_work kernel/workqueue.c:3224 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3305 worker_thread+0x86d/0xd40 kernel/workqueue.c:3383 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INFO: task syz-executor:8578 blocked for more than 144 seconds. Not tainted 6.10.0-rc6-next-20240702-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:24160 pid:8578 tgid:8578 ppid:5078 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 percpu_rwsem_wait+0x3c2/0x450 kernel/locking/percpu-rwsem.c:162 __percpu_down_read+0xee/0x130 kernel/locking/percpu-rwsem.c:177 percpu_down_read include/linux/percpu-rwsem.h:65 [inline] cgroup_threadgroup_change_begin include/linux/cgroup-defs.h:790 [inline] exit_signals+0x4a9/0x5c0 kernel/signal.c:3014 do_exit+0x6b4/0x27f0 kernel/exit.c:839 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 get_signal+0x16a1/0x1740 kernel/signal.c:2923 arch_do_signal_or_restart+0x96/0x830 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb89696be53 RSP: 002b:00007ffdbb9002e8 EFLAGS: 00000202 ORIG_RAX: 000000000000003d RAX: fffffffffffffe00 RBX: 0000000000002184 RCX: 00007fb89696be53 RDX: 0000000040000000 RSI: 00007ffdbb9002fc RDI: 00000000ffffffff RBP: 00007ffdbb9002fc R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000c R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000009 INFO: task syz-executor:8688 blocked for more than 145 seconds. Not tainted 6.10.0-rc6-next-20240702-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:19824 pid:8688 tgid:8688 ppid:8680 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5248 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6600 __schedule_loop kernel/sched/core.c:6677 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6692 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6749 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 device_lock include/linux/device.h:1009 [inline] device_del+0xa6/0x9b0 drivers/base/core.c:3830 device_unregister+0x20/0xc0 drivers/base/core.c:3909 nsim_bus_dev_del drivers/net/netdevsim/bus.c:462 [inline] del_device_store+0x363/0x480 drivers/net/netdevsim/bus.c:226 kernfs_fop_write_iter+0x3a1/0x500 fs/kernfs/file.c:334 new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa72/0xc90 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1438b7471f RSP: 002b:00007ffce9d7c660 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f1438b7471f RDX: 0000000000000001 RSI: 00007ffce9d7c6b0 RDI: 0000000000000005 RBP: 00007f1438be4579 R08: 0000000000000000 R09: 00007ffce9d7c4b7 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 R13: 00007ffce9d7c6b0 R14: 00007f1439834620 R15: 0000000000000003 Showing all locks held in the system: 3 locks held by kworker/u8:1/12: #0: ffff888029d5c148 ( (wq_completion)ipv6_addrconf ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3199 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90000117d00 ( (work_completion)(&(&net->ipv6.addr_chk_work)->work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3200 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5fed08 ( rtnl_mutex ){+.+.}-{3:3} , at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4733 1 lock held by khungtaskd/30: #0: ffffffff8e335860 (rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:333 [inline] , at: rcu_read_lock include/linux/rcupdate.h:845 [inline] , at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6704 6 locks held by kworker/u8:2/35: #0: ffff888015edd948 ((wq_completion)netns ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3199 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc90000ab7d00 ( net_cleanup_work ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3200 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5f2190 ( pernet_ops_rwsem ){++++}-{3:3} , at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:594 #3: ffff88806201f0e8 ( &dev->mutex){....}-{3:3} , at: device_lock include/linux/device.h:1009 [inline] , at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] , at: devlink_pernet_pre_exit+0x13b/0x440 net/devlink/core.c:506 #4: ffff888061ae8250 (&devlink->lock_key#17){+.+.}-{3:3} , at: devl_lock net/devlink/core.c:276 [inline] , at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] , at: devlink_pernet_pre_exit+0x14d/0x440 net/devlink/core.c:506 #5: ffffffff8f5fed08 ( rtnl_mutex ){+.+.}-{3:3} , at: netdev_wait_allrefs_any net/core/dev.c:10617 [inline] , at: netdev_run_todo+0x7b2/0x1000 net/core/dev.c:10736 2 locks held by kworker/u8:4/61: #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900015cfd00 ((work_completion)(&pool->idle_cull_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3200 [inline] #1: ffffc900015cfd00 ((work_completion)(&pool->idle_cull_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 3 locks held by kworker/u8:6/1049: #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900041bfd00 ((work_completion)(&sub_info->work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3200 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8e363ad0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: copy_process+0x21c0/0x3d70 kernel/fork.c:2472 2 locks held by kworker/u8:7/2395: #0: ffff888015089148 ((wq_completion)events_unbound ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3199 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc900090cfd00 ((work_completion)(&pool->idle_cull_work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3200 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 3 locks held by kworker/1:2/2528: #0: ffff888015080948 ((wq_completion)events ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3199 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc9000948fd00 ( deferred_process_work){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3200 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5fed08 (rtnl_mutex ){+.+.}-{3:3} , at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 1 lock held by dhcpcd/4760: #0: ffffffff8e363ad0 ( cgroup_threadgroup_rwsem ){++++}-{0:0} , at: copy_process+0x21c0/0x3d70 kernel/fork.c:2472 2 locks held by getty/4847: #0: ffff88802a7860a0 ( &tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3} , at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 1 lock held by kworker/u9:9/5105: #0: ffffffff8e363ad0 (cgroup_threadgroup_rwsem ){++++}-{0:0} , at: do_exit+0x6b4/0x27f0 kernel/exit.c:839 3 locks held by kworker/1:5/5140: #0: ffff888015081948 ( (wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3199 [inline] (wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc9000408fd00 ( (reg_check_chans).work ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3200 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 #2: ffffffff8f5fed08 (rtnl_mutex){+.+.}-{3:3} , at: reg_check_chans_work+0x99/0xfd0 net/wireless/reg.c:2480 3 locks held by kworker/0:4/5141: 3 locks held by kworker/0:6/5144: 1 lock held by kworker/1:7/5202: #0: ffffffff8e363ad0 ( cgroup_threadgroup_rwsem){++++}-{0:0} , at: do_exit+0x6b4/0x27f0 kernel/exit.c:839 1 lock held by kworker/0:7/5205: #0: ffffffff8e363ad0 ( cgroup_threadgroup_rwsem ){++++}-{0:0} , at: do_exit+0x6b4/0x27f0 kernel/exit.c:839 2 locks held by kworker/u8:9/5226: #0: ffff888015089148 ( (wq_completion)events_unbound ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3199 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3305 #1: ffffc9000454fd00 ( (work_completion)(&pool->idle_cull_work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3200 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3305 1 lock held by syz-executor/8578: #0: ffffffff8e363ad0 ( cgroup_threadgroup_rwsem){++++}-{0:0} , at: do_exit+0x6b4/0x27f0 kernel/exit.c:839 6 locks held by syz-executor/8595: 5 locks held by syz-executor/8688: #0: ffff88802f500420 ( sb_writers #8 ){.+.+}-{0:0} , at: file_start_write include/linux/fs.h:2876 [inline] , at: vfs_write+0x227/0xc90 fs/read_write.c:586 #1: ffff88802e91f488 ( &of->mutex){+.+.}-{3:3} , at: kernfs_fop_write_iter+0x1eb/0x500 fs/kernfs/file.c:325 #2: ffff888022c65968 (kn->active#49){.+.+}-{0:0} , at: kernfs_fop_write_iter+0x20f/0x500 fs/kernfs/file.c:326 #3: ffffffff8ef04908 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff88806201f0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff88806201f0e8 (&dev->mutex){....}-{3:3}, at: device_del+0xa6/0x9b0 drivers/base/core.c:3830 1 lock held by syz.4.843/8698: 1 lock held by syz.3.845/8720: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc6-next-20240702-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:144 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 8720 Comm: syz.3.845 Not tainted 6.10.0-rc6-next-20240702-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__lock_acquire+0x45f/0x2000 kernel/locking/lockdep.c:5136 Code: e1 01 c1 e1 12 c1 e0 14 31 d2 83 7c 24 68 00 0f 95 c2 c1 e2 13 41 c1 e7 15 41 09 d7 41 09 c7 41 09 cf 41 09 ff 48 8b 44 24 28 <0f> b6 04 30 84 c0 0f 85 3d 13 00 00 44 8b ac 24 e0 00 00 00 48 8b RSP: 0018:ffffc90003107990 EFLAGS: 00000006 RAX: 1ffff1100519dca0 RBX: 00000000000001b4 RCX: 0000000000040000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 00000000000101b4 RBP: 0000000000000000 R08: ffff888028cee4e0 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1f5efd6 R12: 00000000000001b4 R13: ffff88802f526098 R14: ffff888028cee4d8 R15: 00000000000501b4 FS: 00007fb89772b6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 000000005f5fc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5816 __might_fault+0xc6/0x120 mm/memory.c:6376 __clear_user arch/x86/include/asm/uaccess_64.h:165 [inline] clear_user arch/x86/include/asm/uaccess_64.h:189 [inline] copy_siginfo_to_user+0x52/0xa0 kernel/signal.c:3394 x64_setup_rt_frame+0x75d/0xcc0 arch/x86/kernel/signal_64.c:194 setup_rt_frame arch/x86/kernel/signal.c:223 [inline] handle_signal arch/x86/kernel/signal.c:267 [inline] arch_do_signal_or_restart+0x435/0x830 arch/x86/kernel/signal.c:312 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb896975b97 Code: ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 <0f> 05 48 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 RSP: 002b:00007fb89772b0f8 EFLAGS: 00000246 RAX: 00000000000000ca RBX: 00007fb896b03f68 RCX: 00007fb896975b99 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fb896b03f68 RBP: 00007fb896b03f60 R08: 00007fb89772b6c0 R09: 00007fb89772b6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb896b03f6c