INFO: task syz-executor.3:5092 blocked for more than 143 seconds. Not tainted 6.7.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:20400 pid:5092 tgid:5092 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1961/0x4ab0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0x149/0x260 kernel/sched/core.c:6778 wb_wait_for_completion+0x166/0x290 fs/fs-writeback.c:192 sync_inodes_sb+0x293/0xb20 fs/fs-writeback.c:2758 sync_filesystem+0x16f/0x220 fs/sync.c:64 generic_shutdown_super+0x72/0x2c0 fs/super.c:669 kill_block_super+0x44/0x90 fs/super.c:1667 xfs_kill_sb+0x15/0x50 fs/xfs/xfs_super.c:2033 deactivate_locked_super+0xc1/0x130 fs/super.c:484 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1256 task_work_run+0x24a/0x300 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x150 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x69/0x2a0 kernel/entry/common.c:296 do_syscall_64+0x52/0x110 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fca5c27e017 RSP: 002b:00007fffdbfeec58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fca5c27e017 RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007fffdbfeed10 RBP: 00007fffdbfeed10 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffdbfefdd0 R13: 00007fca5c2c83b9 R14: 00000000002d6fbb R15: 0000000000000008 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92dae0 ( rcu_read_lock ){....}-{1:2} , at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] , at: rcu_read_lock include/linux/rcupdate.h:747 [inline] , at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4811: #0: ffff88802a1920a0 (&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 2 locks held by syz-executor.3/5092: #0: ffff8880226ec0e0 (&type->s_umount_key#54){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880226ec0e0 (&type->s_umount_key#54){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880226ec0e0 (&type->s_umount_key#54){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:516 #1: ffff8881413e27d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff8881413e27d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2756 5 locks held by kworker/1:6/5154: 2 locks held by kworker/u4:0/22993: 4 locks held by kworker/u4:7/5242: #0: ffff888141e55d38 ((wq_completion)writeback){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:2602 [inline] , at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #1: ffffc900041b7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2602 [inline] #1: ffffc900041b7d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2700 #2: ffff8880226ec608 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x267/0x1320 fs/xfs/libxfs/xfs_bmap.c:4527 #3: ffff88803ef66d98 (&xfs_nondir_ilock_class#3){++++}-{3:3}, at: xfs_bmapi_convert_delalloc+0x295/0x1320 fs/xfs/libxfs/xfs_bmap.c:4532 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.7.0-rc8-syzkaller #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: 5154 Comm: kworker/1:6 Not tainted 6.7.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Workqueue: xfs-buf/loop3 xfs_buf_ioend_work RIP: 0010:__preempt_count_sub arch/x86/include/asm/preempt.h:85 [inline] RIP: 0010:preempt_count_sub+0x5d/0x170 kernel/sched/core.c:5876 Code: 22 65 8b 05 7d 0d a3 7e 89 c1 81 e1 ff ff ff 7f 39 d9 7c 23 81 fb fe 00 00 00 77 07 0f b6 c0 85 c0 74 5b 65 8b 05 5b 0d a3 7e db 65 01 1d 52 0d a3 7e 5b 41 5e c3 90 e8 50 35 1f 03 85 c0 74 RSP: 0018:ffffc90004b6f1e0 EFLAGS: 00000006 RAX: 0000000000000003 RBX: 0000000000000001 RCX: 0000000000000003 RDX: 000000000000064e RSI: ffffffff8bbde0c0 RDI: 0000000000000001 RBP: 00000000000008c4 R08: ffffffff850c0e12 R09: 1ffff110038d8046 R10: dffffc0000000000 R11: ffffed10038d8047 R12: dffffc0000000000 R13: 0000000000002709 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563cab8af070 CR3: 000000000d731000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: delay_tsc+0xb6/0xd0 arch/x86/lib/delay.c:96 wait_for_lsr drivers/tty/serial/8250/8250_port.c:2087 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3366 [inline] serial8250_console_write+0x10c6/0x1820 drivers/tty/serial/8250/8250_port.c:3444 console_emit_next_record kernel/printk/printk.c:2901 [inline] console_flush_all+0x801/0xeb0 kernel/printk/printk.c:2967 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3036 vprintk_emit+0x508/0x720 kernel/printk/printk.c:2303 _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_agf_read_verify+0x200/0x2b0 fs/xfs/libxfs/xfs_alloc.c:3119 xfs_buf_ioend+0x270/0x700 fs/xfs/xfs_buf.c:1309 process_one_work kernel/workqueue.c:2627 [inline] process_scheduled_works+0x90f/0x1420 kernel/workqueue.c:2700 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2781 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