INFO: task kworker/0:0:8 blocked for more than 169 seconds. Not tainted 6.10.0-next-20240716-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:21424 pid:8 tgid:8 ppid:2 flags:0x00004000 Workqueue: events reg_todo Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 wiphy_lock include/net/cfg80211.h:6014 [inline] reg_process_self_managed_hints+0xb9/0x1a0 net/wireless/reg.c:3208 reg_todo+0x7d2/0x8d0 net/wireless/reg.c:3221 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 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 udevd:5116 blocked for more than 173 seconds. Not tainted 6.10.0-next-20240716-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:23520 pid:5116 tgid:5116 ppid:4555 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6752 __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] uevent_show+0x17d/0x340 drivers/base/core.c:2743 dev_attr_show+0x55/0xc0 drivers/base/core.c:2437 sysfs_kf_seq_show+0x331/0x4c0 fs/sysfs/file.c:59 seq_read_iter+0x445/0xd60 fs/seq_file.c:230 new_sync_read fs/read_write.c:395 [inline] vfs_read+0x9bd/0xbc0 fs/read_write.c:476 ksys_read+0x1a0/0x2c0 fs/read_write.c:619 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:0x7faad0f16b6a RSP: 002b:00007ffec33f6a58 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 000055b6424a9730 RCX: 00007faad0f16b6a RDX: 0000000000001000 RSI: 000055b6426bf770 RDI: 0000000000000008 RBP: 000055b6424a9730 R08: 0000000000000008 R09: 0000000000000020 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000003fff R14: 00007ffec33f6f38 R15: 000000000000000a INFO: task syz.2.152:5688 blocked for more than 174 seconds. Not tainted 6.10.0-next-20240716-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.152 state:D stack:24672 pid:5688 tgid:5688 ppid:5104 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5239 [inline] __schedule+0x1800/0x4a60 kernel/sched/core.c:6603 __schedule_loop kernel/sched/core.c:6680 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6695 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2557 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 rcu_barrier+0x41d/0x530 kernel/rcu/tree.c:4554 kvm_mmu_uninit_vm+0x2f/0x60 arch/x86/kvm/mmu/mmu.c:6409 kvm_arch_destroy_vm+0x3a8/0x430 arch/x86/kvm/x86.c:12829 kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1350 [inline] kvm_put_kvm+0xd5e/0x1300 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1386 kvm_vm_release+0x46/0x50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1409 __fput+0x24a/0x8a0 fs/file_table.c:422 task_work_run+0x24f/0x310 kernel/task_work.c:222 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [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+0x168/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:0x7f7a0f175bd9 RSP: 002b:00007fff3691cf38 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f7a0f305a60 RCX: 00007f7a0f175bd9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f7a0f305a60 R08: 0000000000000006 R09: 000000043691d25f R10: 00000000005f9a2c R11: 0000000000000246 R12: 0000000000018376 R13: 0000000000000032 R14: 00007f7a0f305a60 R15: 00007f7a0f304038 Showing all locks held in the system: 4 locks held by kworker/0:0/8: 5 locks held by kworker/0:1/9: 1 lock held by khungtaskd/30: #0: ffffffff8e337a60 ( rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] , at: rcu_read_lock include/linux/rcupdate.h:838 [inline] , at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6695 3 locks held by kworker/1:1H/43: #0: ffff888018aa5948 ( (wq_completion)kblockd ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90000b37d00 ((work_completion)(&q->timeout_work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3207 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8e33ce38 ( rcu_state.exp_mutex ){+.+.}-{3:3} , at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] , at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:967 3 locks held by kworker/R-ipv6_/2622: #0: ffff888029d2b948 ( (wq_completion)ipv6_addrconf){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900091e7c80 ( (work_completion)(&(&net->ipv6.addr_chk_work)->work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3207 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8f609648 ( rtnl_mutex ){+.+.}-{3:3} , at: addrconf_verify_work+0x19/0x30 net/ipv6/addrconf.c:4734 5 locks held by kworker/u8:10/3298: 2 locks held by getty/4858: #0: ffff88802e9890a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 5 locks held by kworker/u9:2/5107: #0: ffff888021b82948 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888021b82948 ((wq_completion)hci1){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90003e17d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] ffffc90003e17d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff888011b34d80 ( &hdev->req_lock){+.+.}-{3:3} , at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:327 #3: ffff888011b34078 ( &hdev->lock ){+.+.}-{3:3} , at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5491 #4: ffffffff8f775168 ( hci_cb_list_lock ){+.+.}-{3:3} , at: hci_connect_cfm include/net/bluetooth/hci_core.h:1962 [inline] , at: hci_conn_failed+0x185/0x340 net/bluetooth/hci_conn.c:1265 5 locks held by kworker/u9:3/5113: #0: ffff8880224ce948 ( (wq_completion)hci2 ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90003e67d00 ( (work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3207 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff888022bf8d80 (&hdev->req_lock ){+.+.}-{3:3} , at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:327 #3: ffff888022bf8078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5491 #4: ffffffff8f775168 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:1962 [inline] #4: ffffffff8f775168 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_failed+0x185/0x340 net/bluetooth/hci_conn.c:1265 5 locks held by kworker/u9:4/5115: #0: ffff8880224c9148 ( (wq_completion)hci4 ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90003e87d00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff888022c80d80 ( &hdev->req_lock ){+.+.}-{3:3} , at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:327 #3: ffff888022c80078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5491 #4: ffffffff8f775168 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:1962 [inline] #4: ffffffff8f775168 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_failed+0x185/0x340 net/bluetooth/hci_conn.c:1265 4 locks held by udevd/5116: #0: ffff88802bd35668 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xb7/0xd60 fs/seq_file.c:182 #1: ffff88801e4fc088 (&of->mutex#2){+.+.}-{3:3} , at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154 #2: ffff88802b1101e8 (kn->active#5){.+.+}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155 #3: ffff88806684d190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff88806684d190 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2743 5 locks held by kworker/u9:5/5118: #0: ffff88802dd00948 ( (wq_completion)hci0 ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3206 [inline] , at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90003ea7d00 ( (work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] (work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff888022bfcd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:327 #3: ffff888022bfc078 (&hdev->lock ){+.+.}-{3:3}, at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5491 #4: ffffffff8f775168 (hci_cb_list_lock){+.+.}-{3:3} , at: hci_connect_cfm include/net/bluetooth/hci_core.h:1962 [inline] , at: hci_conn_failed+0x185/0x340 net/bluetooth/hci_conn.c:1265 5 locks held by kworker/u9:6/5120: #0: ffff8880224cf948 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff8880224cf948 ((wq_completion)hci3){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90003ec7d00 ( (work_completion)(&hdev->cmd_sync_work) ){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3207 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff888022c84d80 (&hdev->req_lock ){+.+.}-{3:3} , at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:327 #3: ffff888022c84078 (&hdev->lock){+.+.}-{3:3}, at: hci_abort_conn_sync+0x1ea/0xde0 net/bluetooth/hci_sync.c:5491 #4: ffffffff8f775168 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:1962 [inline] #4: ffffffff8f775168 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_conn_failed+0x185/0x340 net/bluetooth/hci_conn.c:1265 9 locks held by kworker/0:3/5145: 2 locks held by kworker/0:4/5156: 3 locks held by kworker/0:5/5157: 2 locks held by udevd/5274: #0: ffff88801fbb74c8 ( &disk->open_mutex ){+.+.}-{3:3} , at: bdev_open+0xf0/0xc60 block/bdev.c:897 #1: ffff88801f92ab60 ( &lo->lo_mutex ){+.+.}-{3:3}, at: lo_open+0x4d/0xd0 drivers/block/loop.c:1708 4 locks held by kvm-nx-lpage-re/5683: #0: ffffffff8e365be8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:367 [inline] #0: ffffffff8e365be8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x27/0xe0 kernel/cgroup/cgroup-v1.c:61 #1: ffffffff8e1d1b30 (cpu_hotplug_lock){++++}-{0:0} , at: cgroup_attach_lock+0x11/0x40 kernel/cgroup/cgroup.c:2428 #2: ffffffff8e365dd0 (cgroup_threadgroup_rwsem ){++++}-{0:0}, at: cgroup_attach_task_all+0x31/0xe0 kernel/cgroup/cgroup-v1.c:62 #3: ffffffff8e33ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #3: ffffffff8e33ce38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:967 1 lock held by syz.2.152/5688: #0: ffffffff8e33cd00 (rcu_state.barrier_mutex){+.+.}-{3:3} , at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:4486 1 lock held by syz.0.159/5710: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.10.0-next-20240716-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