INFO: task syz-executor.4:21897 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27440 pid:21897 tgid:21896 ppid:5091 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 __super_lock fs/super.c:56 [inline] super_lock+0x196/0x400 fs/super.c:120 super_lock_excl fs/super.c:145 [inline] grab_super+0xaf/0x370 fs/super.c:534 sget_fc+0x1fa/0x770 fs/super.c:793 vfs_get_super fs/super.c:1268 [inline] get_tree_single+0x2f/0x140 fs/super.c:1300 vfs_get_tree+0x8c/0x2a0 fs/super.c:1784 vfs_cmd_create+0xe4/0x230 fs/fsopen.c:230 __do_sys_fsconfig fs/fsopen.c:476 [inline] __se_sys_fsconfig+0x967/0xec0 fs/fsopen.c:349 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fa9c7e7cda9 RSP: 002b:00007fa9c8c1b0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007fa9c7fabf80 RCX: 00007fa9c7e7cda9 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000003 RBP: 00007fa9c7ec947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa9c7fabf80 R15: 00007ffce8beaf08 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/0:2/923: 3 locks held by kworker/u4:6/2389: 4 locks held by klogd/4497: #0: ffff8880b983c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffff8880b9828988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 #2: ffff88807879c578 (&p->pi_lock){-.-.}-{2:2}, at: class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:553 [inline] #2: ffff88807879c578 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xaf/0x1460 kernel/sched/core.c:4253 #3: ffff8880b993c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 2 locks held by getty/4811: #0: ffff88802a2980a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.0/5098: #0: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:995 2 locks held by kworker/1:2/13136: #0: ffff88801308a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff88801308a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc9000c11fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc9000c11fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 3 locks held by kworker/u5:0/17059: #0: ffff888033de9538 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888033de9538 ((wq_completion)hci6){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc900099f7d20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc900099f7d20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff88802a1b9060 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1e0/0x400 net/bluetooth/hci_sync.c:305 4 locks held by syz-executor.2/17793: #0: ffff88802e8fc420 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88803da19800 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:837 [inline] #1: ffff88803da19800 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x26a/0x830 fs/namei.c:4385 #2: ffff888037e3d400 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: stack_depot_save_flags+0x150/0x650 lib/stackdepot.c:508 #3: ffff8880b9828988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 3 locks held by syz-executor.3/21714: 2 locks held by syz-executor.4/21897: #0: ffff88807d26e470 (&fc->uapi_mutex){+.+.}-{3:3}, at: __do_sys_fsconfig fs/fsopen.c:474 [inline] #0: ffff88807d26e470 (&fc->uapi_mutex){+.+.}-{3:3}, at: __se_sys_fsconfig+0x8e6/0xec0 fs/fsopen.c:349 #1: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #1: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: super_lock+0x196/0x400 fs/super.c:120 2 locks held by syz-executor.3/22051: #0: ffff888016b7c470 (&fc->uapi_mutex){+.+.}-{3:3}, at: __do_sys_fsconfig fs/fsopen.c:474 [inline] #0: ffff888016b7c470 (&fc->uapi_mutex){+.+.}-{3:3}, at: __se_sys_fsconfig+0x8e6/0xec0 fs/fsopen.c:349 #1: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #1: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: super_lock+0x196/0x400 fs/super.c:120 4 locks held by syz-executor.4/22085: 2 locks held by syz-executor.3/22362: #0: ffff88803414ac70 (&fc->uapi_mutex){+.+.}-{3:3}, at: __do_sys_fsconfig fs/fsopen.c:474 [inline] #0: ffff88803414ac70 (&fc->uapi_mutex){+.+.}-{3:3}, at: __se_sys_fsconfig+0x8e6/0xec0 fs/fsopen.c:349 #1: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #1: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: super_lock+0x196/0x400 fs/super.c:120 2 locks held by kworker/u4:4/22619: #0: ffff888013089938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888013089938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc9000c01fd20 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc9000c01fd20 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 1 lock held by syz-executor.1/22735: #0: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz-executor.1/22740: #0: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz-executor.3/22914: #0: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz-executor.3/22943: #0: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff88801c23c0e0 (&type->s_umount_key#126){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 7 locks held by syz-executor.1/22945: #0: ffff88802f1da420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2795 [inline] #0: ffff88802f1da420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x233/0xca0 fs/read_write.c:586 #1: ffff88808ea7ac88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1eb/0x510 fs/kernfs/file.c:325 #2: ffff888021455d98 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20f/0x510 fs/kernfs/file.c:326 #3: ffffffff8e4a2ca8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff888034b950e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff888034b950e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff888034b950e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7a0 drivers/base/dd.c:1292 #5: ffff888034b96250 (&devlink->lock_key#4){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1672 #6: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #6: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:995 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/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+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 21714 Comm: syz-executor.3 Not tainted 6.8.0-rc1-syzkaller-00169-gecb1b8288dc7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4798 [inline] RIP: 0010:__lock_acquire+0x875/0x1fd0 kernel/locking/lockdep.c:5087 Code: 8b 5d 00 81 e3 ff 1f 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 e0 83 df 90 be 08 00 00 00 e8 23 47 7e 00 48 0f a3 1d 4b ea 71 0f <73> 1a 48 69 c3 c8 00 00 00 48 8d 98 e0 e2 ad 90 48 ba 00 00 00 00 RSP: 0018:ffffc9000e707830 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000083 RCX: ffffffff816d998d RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90df83f0 RBP: 0000000000000003 R08: ffffffff90df83f7 R09: 1ffffffff21bf07e R10: dffffc0000000000 R11: fffffbfff21bf07f R12: 0000000000000002 R13: ffff888033606470 R14: 0000000000000002 R15: ffff888033606470 FS: 00007f95cbf5d6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f327dd01404 CR3: 000000001c688000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e3/0x530 kernel/locking/lockdep.c:5754 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 d_walk+0x1bd/0x700 fs/dcache.c:1253 shrink_dcache_parent+0x144/0x3b0 fs/dcache.c:1487 do_one_tree+0x23/0xe0 fs/dcache.c:1538 shrink_dcache_for_umount+0x7d/0x130 fs/dcache.c:1555 generic_shutdown_super+0x6a/0x2c0 fs/super.c:624 kill_anon_super fs/super.c:1230 [inline] kill_litter_super+0x76/0xb0 fs/super.c:1240 gadgetfs_kill_sb+0x26/0x110 drivers/usb/gadget/legacy/inode.c:2111 deactivate_locked_super+0xc1/0x130 fs/super.c:477 put_fs_context+0x94/0x770 fs/fs_context.c:516 fscontext_release+0x65/0x80 fs/fsopen.c:73 __fput+0x428/0x890 fs/file_table.c:376 task_work_run+0x24a/0x300 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:108 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0x167/0x370 kernel/entry/common.c:212 do_syscall_64+0x102/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f95cb27cda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f95cbf5d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000124 RAX: 0000000000000003 RBX: 00007f95cb3abf80 RCX: 00007f95cb27cda9 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000004 RBP: 00007f95cb2c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f95cb3abf80 R15: 00007ffceb4f8918