INFO: task syz-executor.1:9266 blocked for more than 143 seconds. Not tainted 6.9.0-rc6-syzkaller-00046-g18daea77cca6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:20216 pid:9266 tgid:9266 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2558 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 btrfs_qgroup_wait_for_completion+0x92/0xc0 fs/btrfs/qgroup.c:3963 close_ctree+0x118/0xd40 fs/btrfs/disk-io.c:4257 generic_shutdown_super+0x136/0x2d0 fs/super.c:641 kill_anon_super+0x3b/0x70 fs/super.c:1225 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2091 deactivate_locked_super+0xc4/0x130 fs/super.c:472 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1267 task_work_run+0x24f/0x310 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: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+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc2edc7f1d7 RSP: 002b:00007ffefcf73688 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fc2edc7f1d7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffefcf73740 RBP: 00007ffefcf73740 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffefcf74800 R13: 00007fc2edcc93b9 R14: 000000000005a94e R15: 0000000000000003 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4832: #0: ffff88802f61a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f0e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 4 locks held by kworker/1:5/5145: #0: ffff8880b953e658 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffff8880b9528948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 #2: ffff8880b952a718 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 kernel/time/timer.c:1052 #3: ffff8880b952b7d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 kernel/time/timer.c:1052 1 lock held by syz-executor.1/9266: #0: ffff88802d9180e0 (&type->s_umount_key#66){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88802d9180e0 (&type->s_umount_key#66){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88802d9180e0 (&type->s_umount_key#66){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:504 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc6-syzkaller-00046-g18daea77cca6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4507 Comm: syslogd Not tainted 6.9.0-rc6-syzkaller-00046-g18daea77cca6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__lock_acquire+0x97/0x1fd0 Code: 00 74 12 4c 89 e7 e8 d8 cc 84 00 48 be 00 00 00 00 00 fc ff df 48 c7 c0 00 e4 db 92 49 39 04 24 75 08 c7 44 24 38 00 00 00 00 <89> 5c 24 48 83 fd 01 77 2e 89 e8 49 8d 5c c4 08 48 89 d8 48 c1 e8 RSP: 0018:ffffc9000df5f9f0 EFLAGS: 00000087 RAX: ffffffff92dbe400 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: ffff88807eb2e420 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1f4f99e R12: ffff88807eb2e420 R13: 0000000000000000 R14: ffff88802fb93c00 R15: 0000000000000001 FS: 00007fe474ec7380(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e1193e3680 CR3: 000000002c76e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 percpu_down_read include/linux/percpu-rwsem.h:51 [inline] __sb_start_write include/linux/fs.h:1664 [inline] sb_start_write+0x4d/0x1c0 include/linux/fs.h:1800 file_start_write include/linux/fs.h:2855 [inline] vfs_write+0x233/0xcb0 fs/read_write.c:586 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe47501bbf2 Code: 89 c7 48 89 44 24 08 e8 7b 34 fa ff 48 8b 44 24 08 48 83 c4 28 c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6f 48 8b 15 07 a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffc10d0e198 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fe47501bbf2 RDX: 000000000000009d RSI: 00005621b279cc50 RDI: 0000000000000003 RBP: 00005621b279cc50 R08: 0000000000000001 R09: 0000000000000000 R10: 00007fe4751ba3a3 R11: 0000000000000246 R12: 000000000000009d R13: 00007fe474ec7300 R14: 0000000000000004 R15: 00005621b279ca60