INFO: task kworker/0:6:5164 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller-00311-g3a5879d495b2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:6 state:D stack:23440 pid:5164 tgid:5164 ppid:2 flags:0x00004000 Workqueue: xfs-sync/loop0 xfs_flush_inodes_worker 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 wb_wait_for_completion+0x166/0x290 fs/fs-writeback.c:192 sync_inodes_sb+0x293/0xb20 fs/fs-writeback.c:2758 xfs_flush_inodes_worker+0x61/0x80 fs/xfs/xfs_super.c:616 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 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 INFO: task syz-executor.0:17416 blocked for more than 144 seconds. Not tainted 6.8.0-rc1-syzkaller-00311-g3a5879d495b2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25072 pid:17416 tgid:17416 ppid:5081 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 coredump_task_exit kernel/exit.c:439 [inline] do_exit+0x576/0x2740 kernel/exit.c:825 do_group_exit+0x206/0x2c0 kernel/exit.c:1020 get_signal+0x1769/0x1840 kernel/signal.c:2893 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [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+0xc8/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:0x7ff2b767cda9 RSP: 002b:00007ffe399c0148 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffdfc RBX: 00000000000b1dc5 RCX: 00007ff2b767cda9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007ff2b77abf8c RBP: 0000000000000032 R08: 00007ff2b77abf8c R09: 00007ff2b77abf8c R10: 00007ffe399c0280 R11: 0000000000000246 R12: 00007ff2b77abf8c R13: 00000000000b1df7 R14: 00007ffe399c02a0 R15: 00007ffe399c0280 INFO: task syz-executor.0:17417 blocked for more than 145 seconds. Not tainted 6.8.0-rc1-syzkaller-00311-g3a5879d495b2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:22160 pid:17417 tgid:17416 ppid:5081 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_timeout+0xb0/0x300 kernel/time/timer.c:2159 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+0x354/0x620 kernel/sched/completion.c:148 __flush_work+0x950/0xad0 kernel/workqueue.c:3410 xfs_file_buffered_write+0x35b/0xaa0 fs/xfs/xfs_file.c:808 __kernel_write_iter+0x430/0x8b0 fs/read_write.c:523 dump_emit_page fs/coredump.c:888 [inline] dump_user_range+0x46c/0x910 fs/coredump.c:915 elf_core_dump+0x3c97/0x4540 fs/binfmt_elf.c:2077 do_coredump+0x1ba2/0x2b50 fs/coredump.c:764 get_signal+0x146a/0x1840 kernel/signal.c:2879 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:105 [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+0xc8/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:0x7ff2b767cda9 RSP: 002b:00007ff2b84ce0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffe5 RBX: 00007ff2b77abf80 RCX: 00007ff2b767cda9 RDX: 0000000000000002 RSI: 0000000000000010 RDI: 0000000000000004 RBP: 00007ff2b76c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000100000001 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007ff2b77abf80 R15: 00007ffe399c0068 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/782: #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: ffffc90003337d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc90003337d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 4 locks held by kworker/u4:7/2788: #0: ffff888016a8e138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff888016a8e138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc90009e2fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc90009e2fd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff88802e0c4610 (sb_internal#3){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x267/0x1320 fs/xfs/libxfs/xfs_bmap.c:4542 #3: ffff8880339bf558 (&xfs_nondir_ilock_class#3){++++}-{3:3}, at: xfs_bmapi_convert_delalloc+0x295/0x1320 fs/xfs/libxfs/xfs_bmap.c:4547 2 locks held by getty/4808: #0: ffff88802980b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.4/5094: #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 1 lock held by syz-executor.3/5096: #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 4 locks held by kworker/0:6/5164: #0: ffff88802debbd38 ((wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff88802debbd38 ((wq_completion)xfs-sync/loop0){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc90004a27d20 ((work_completion)(&mp->m_flush_inodes_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc90004a27d20 ((work_completion)(&mp->m_flush_inodes_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #2: ffff88802e0c40e0 (&type->s_umount_key#55){++++}-{3:3}, at: xfs_flush_inodes_worker+0x45/0x80 fs/xfs/xfs_super.c:615 #3: ffff88801ea947d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #3: ffff88801ea947d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756 2 locks held by syz-executor.0/17417: #0: ffff88802e0c4420 (sb_writers#15){.+.+}-{0:0}, at: do_coredump+0x1b74/0x2b50 fs/coredump.c:763 #1: ffff8880339bf778 (&sb->s_type->i_mutex_key#23){++++}-{3:3}, at: xfs_ilock+0xf2/0x3b0 fs/xfs/xfs_inode.c:190 5 locks held by kworker/0:3/17462: 1 lock held by syz-executor.0/19608: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc1-syzkaller-00311-g3a5879d495b2 #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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 17462 Comm: kworker/0:3 Not tainted 6.8.0-rc1-syzkaller-00311-g3a5879d495b2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: xfs-buf/loop0 xfs_buf_ioend_work RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1975 [inline] RIP: 0010:vprintk_emit+0x4e6/0x720 kernel/printk/printk.c:2302 Code: 21 e3 0f 85 a6 01 00 00 e8 17 d0 1d 00 44 8b 24 24 4d 85 ff 75 07 e8 09 d0 1d 00 eb 06 e8 02 d0 1d 00 fb 48 c7 c7 c0 aa 80 8d <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 41 56 e8 31 RSP: 0018:ffffc9000a21f700 EFLAGS: 00000293 RAX: ffffffff81712b5e RBX: 0000000000000000 RCX: ffff88802e481dc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8d80aac0 RBP: ffffc9000a21f7f0 R08: ffffffff81712b3b R09: 1ffffffff21bf29e R10: dffffc0000000000 R11: fffffbfff21bf29f R12: 000000000000004b R13: dffffc0000000000 R14: ffffffff817129bd R15: 0000000000000200 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5a3ebded58 CR3: 0000000013190000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _printk+0xd5/0x120 kernel/printk/printk.c:2328 print_hex_dump+0x1a6/0x250 lib/hexdump.c:285 xfs_hex_dump+0x3d/0x50 fs/xfs/xfs_message.c:110 xfs_buf_verifier_error+0x1ce/0x2a0 fs/xfs/xfs_error.c:460 xfs_agfl_read_verify+0x1eb/0x2a0 fs/xfs/libxfs/xfs_alloc.c:701 xfs_buf_ioend+0x270/0x700 fs/xfs/xfs_buf.c:1309 process_one_work kernel/workqueue.c:2633 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2706 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787 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