INFO: task kworker/1:1H:51 blocked for more than 143 seconds. Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:1H state:D stack:25904 pid:51 ppid:2 flags:0x00004000 Workqueue: xfs-log/loop0 xlog_ioend_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_timeout+0xb0/0x310 kernel/time/timer.c:2143 ___down_common+0x33e/0x5e0 kernel/locking/semaphore.c:225 __down_common+0x64/0x250 kernel/locking/semaphore.c:246 down+0x84/0xc0 kernel/locking/semaphore.c:63 xfs_buf_lock+0x154/0x4b0 fs/xfs/xfs_buf.c:1119 xfs_buf_item_unpin+0x1cd/0x6c0 fs/xfs/xfs_buf_item.c:581 xfs_trans_committed_bulk+0x346/0x830 fs/xfs/xfs_trans.c:808 xlog_cil_committed+0x26d/0xe40 fs/xfs/xfs_log_cil.c:795 xlog_cil_process_committed+0x159/0x1a0 fs/xfs/xfs_log_cil.c:823 xlog_state_shutdown_callbacks+0x2ba/0x3b0 fs/xfs/xfs_log.c:538 xlog_force_shutdown+0x32c/0x390 fs/xfs/xfs_log.c:3837 xlog_ioend_work+0xad/0x100 fs/xfs/xfs_log.c:1429 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:34:30070 blocked for more than 144 seconds. Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:34 state:D stack:23904 pid:30070 ppid:2 flags:0x00004000 Workqueue: xfs-inodegc/loop0 xfs_inodegc_worker 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_timeout+0xb0/0x310 kernel/time/timer.c:2143 ___down_common+0x33e/0x5e0 kernel/locking/semaphore.c:225 __down_common+0x64/0x250 kernel/locking/semaphore.c:246 down+0x84/0xc0 kernel/locking/semaphore.c:63 xfs_buf_lock+0x154/0x4b0 fs/xfs/xfs_buf.c:1119 xfs_trans_getsb+0x89/0x4d0 fs/xfs/xfs_trans_buf.c:190 xfs_trans_apply_sb_deltas+0x28/0x950 fs/xfs/xfs_trans.c:481 __xfs_trans_commit+0x96d/0x11d0 fs/xfs/xfs_trans.c:1009 xfs_trans_roll+0x145/0x4b0 fs/xfs/xfs_trans.c:1160 xfs_defer_trans_roll+0x19e/0x5e0 fs/xfs/libxfs/xfs_defer.c:366 xfs_defer_finish+0xc2/0x180 fs/xfs/libxfs/xfs_defer.c:596 xfs_itruncate_extents_flags+0x377/0xa80 fs/xfs/xfs_inode.c:1377 xfs_itruncate_extents fs/xfs/xfs_inode.h:530 [inline] xfs_inactive_truncate+0x180/0x240 fs/xfs/xfs_inode.c:1516 xfs_inactive+0x485/0x610 fs/xfs/xfs_inode.c:1747 xfs_inodegc_inactivate fs/xfs/xfs_icache.c:1872 [inline] xfs_inodegc_worker+0x2c3/0x770 fs/xfs/xfs_icache.c:1910 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 syz-executor.0:7973 blocked for more than 144 seconds. Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23168 pid:7973 ppid:5028 flags:0x00004004 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 xlog_wait+0x16e/0x1e0 fs/xfs/xfs_log_priv.h:617 xlog_wait_on_iclog+0x307/0x4e0 fs/xfs/xfs_log.c:926 xfs_log_force_seq+0x1da/0x450 fs/xfs/xfs_log.c:3409 __xfs_trans_commit+0xb38/0x11d0 fs/xfs/xfs_trans.c:1021 xfs_sync_sb_buf+0x14f/0x1e0 fs/xfs/libxfs/xfs_sb.c:1112 xfs_ioc_setlabel fs/xfs/xfs_ioctl.c:1801 [inline] xfs_file_ioctl+0x1313/0x16a0 fs/xfs/xfs_ioctl.c:1899 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd555e8c389 RSP: 002b:00007fd556be9168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd555fabf80 RCX: 00007fd555e8c389 RDX: 00000000200001c0 RSI: 0000000041009432 RDI: 0000000000000005 RBP: 00007fd555ed7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc071b0eff R14: 00007fd556be9300 R15: 0000000000022000 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 2 locks held by kworker/1:1H/51: #0: ffff8880251a1138 ((wq_completion)xfs-log/loop0){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90000bc7d20 ((work_completion)(&iclog->ic_end_io_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by getty/4748: #0: ffff888028f67098 (&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 1 lock held by syz-executor.3/5034: #0: ffffffff8cf2cbf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8cf2cbf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992 1 lock held by syz-executor.2/5042: #0: ffff888022ca20e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361 3 locks held by kworker/u4:16/10581: 2 locks held by kworker/1:2/13122: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9001db5fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 4 locks held by kworker/1:34/30070: #0: ffff8880251a2138 ((wq_completion)xfs-inodegc/loop0){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9000d9bfd20 ((work_completion)(&(&gc->work)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffff8880776d8650 (sb_internal#3){.+.+}-{0:0}, at: xfs_inactive_truncate+0xc8/0x240 fs/xfs/xfs_inode.c:1500 #3: ffff888088e9a7d8 (&xfs_nondir_ilock_class#3){++++}-{3:3}, at: xfs_inactive_truncate+0xee/0x240 fs/xfs/xfs_inode.c:1505 1 lock held by syz-executor.0/7973: #0: ffff8880776d8460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write_file+0x5e/0x1f0 fs/namespace.c:438 2 locks held by kworker/1:0/8579: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9000c357d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/0:4/9672: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc9002288fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 3 locks held by kworker/0:17/10310: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90010077d20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 #2: ffffffff8cf2cbf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #2: ffffffff8cf2cbf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992 1 lock held by syz-executor.5/10350: #0: ffff88807deb80e0 (&type->s_umount_key#48/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 2 locks held by syz-executor.0/10355: 1 lock held by syz-executor.4/10353: #0: ffff8880792f80e0 (&type->s_umount_key#48/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10321 Comm: btrfs-fixup Not tainted 6.4.0-rc7-syzkaller-00072-gdad9774deaf1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x36/0x60 kernel/kcov.c:207 Code: 80 35 78 7e 65 8b 15 81 35 78 7e f7 c2 00 01 ff 00 74 11 f7 c2 00 01 00 00 74 35 83 b9 0c 16 00 00 00 74 2c 8b 91 e8 15 00 00 <83> fa 02 75 21 48 8b 91 f0 15 00 00 48 8b 32 48 8d 7e 01 8b 89 ec RSP: 0018:ffffc900100e7d98 EFLAGS: 00000246 RAX: ffffffff8153e09b RBX: ffffc900100e0000 RCX: ffff888020703b80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc900100e5438 RBP: ffffc900100e7ee8 R08: ffffffff8151f04c R09: fffffbfff1cabba6 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000005438 R13: 1ffff110040e082f R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555568d7848 CR3: 0000000038de0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: stack_not_used include/linux/sched/task_stack.h:107 [inline] check_stack_usage kernel/exit.c:776 [inline] do_exit+0x186b/0x2290 kernel/exit.c:918 kthread_exit+0x46/0x60 kernel/kthread.c:307 kthread+0x2d6/0x350 kernel/kthread.c:381 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308