INFO: task syz.4.1722:12858 blocked for more than 143 seconds. Not tainted 6.16.0-rc4-syzkaller-00013-g66701750d556 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.1722 state:D stack:22448 pid:12858 tgid:12857 ppid:5837 task_flags:0x440140 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5396 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6785 __schedule_loop kernel/sched/core.c:6863 [inline] schedule+0x165/0x360 kernel/sched/core.c:6878 schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75 ___down_common kernel/locking/semaphore.c:268 [inline] __down_common+0x319/0x6a0 kernel/locking/semaphore.c:293 down+0x80/0xd0 kernel/locking/semaphore.c:100 xfs_buf_lock+0x15d/0x4d0 fs/xfs/xfs_buf.c:996 xfs_buf_find_lock+0x42/0x4c0 fs/xfs/xfs_buf.c:422 xfs_buf_lookup fs/xfs/xfs_buf.c:475 [inline] xfs_buf_get_map+0x10b7/0x1860 fs/xfs/xfs_buf.c:597 xfs_buf_read_map+0x82/0xa50 fs/xfs/xfs_buf.c:702 xfs_trans_read_buf_map+0x1d7/0x8e0 fs/xfs/xfs_trans_buf.c:304 xfs_trans_read_buf fs/xfs/xfs_trans.h:212 [inline] xfs_read_agf+0x281/0x5c0 fs/xfs/libxfs/xfs_alloc.c:3376 xfs_alloc_read_agf+0x17c/0xb70 fs/xfs/libxfs/xfs_alloc.c:3411 xfs_alloc_fix_freelist+0x60a/0x1300 fs/xfs/libxfs/xfs_alloc.c:2875 xfs_free_extent_fix_freelist+0x13e/0x240 fs/xfs/libxfs/xfs_alloc.c:3965 xfs_rmap_finish_init_cursor+0xae/0x210 fs/xfs/libxfs/xfs_rmap.c:2645 xfs_rmap_finish_one+0x2a2/0x710 fs/xfs/libxfs/xfs_rmap.c:2708 xfs_rmap_update_finish_item+0x25/0x40 fs/xfs/xfs_rmap_item.c:437 xfs_defer_finish_one+0x5c8/0xcf0 fs/xfs/libxfs/xfs_defer.c:595 xfs_defer_finish_noroll+0x910/0x12d0 fs/xfs/libxfs/xfs_defer.c:707 xfs_trans_commit+0x10b/0x1c0 fs/xfs/xfs_trans.c:947 xfs_iomap_write_unwritten+0x554/0xa70 fs/xfs/xfs_iomap.c:686 xfs_dio_write_end_io+0x4df/0x700 fs/xfs/xfs_file.c:594 iomap_dio_complete+0x145/0x980 fs/iomap/direct-io.c:102 xfs_file_dio_write_aligned+0x157/0x1b0 fs/xfs/xfs_file.c:703 xfs_file_dio_write fs/xfs/xfs_file.c:914 [inline] xfs_file_write_iter+0x8b6/0xa60 fs/xfs/xfs_file.c:1124 iter_file_splice_write+0x93a/0x1000 fs/splice.c:738 do_splice_from fs/splice.c:935 [inline] direct_splice_actor+0x101/0x160 fs/splice.c:1158 splice_direct_to_actor+0x5a8/0xcc0 fs/splice.c:1102 do_splice_direct_actor fs/splice.c:1201 [inline] do_splice_direct+0x181/0x270 fs/splice.c:1227 do_sendfile+0x4da/0x7e0 fs/read_write.c:1370 __do_sys_sendfile64 fs/read_write.c:1431 [inline] __se_sys_sendfile64+0x13e/0x190 fs/read_write.c:1417 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f572c98e929 RSP: 002b:00007f572d85f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007f572cbb5fa0 RCX: 00007f572c98e929 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004 RBP: 00007f572ca10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000fffe82 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f572cbb5fa0 R15: 00007ffc92f7dde8 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffff8880b8639f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xad/0x140 kernel/sched/core.c:614 2 locks held by kworker/0:0/9: 1 lock held by khungtaskd/31: #0: ffffffff8e13ee20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13ee20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13ee20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 2 locks held by getty/5583: #0: ffff8880351e20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 4 locks held by syz.4.1722/12858: #0: ffff88803353c428 (sb_writers#25){.+.+}-{0:0}, at: direct_splice_actor+0x49/0x160 fs/splice.c:1157 #1: ffff888039c4d0b0 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: xfs_ilock+0x119/0x390 fs/xfs/xfs_inode.c:152 #2: ffff88803353c618 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1096 #3: ffff888039c4ce98 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1102 4 locks held by syz.4.1722/12895: #0: ffff88803353c428 (sb_writers#25){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff888039c4b970 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff888039c4b970 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 #2: ffff88803353c618 (sb_internal#3){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1096 #3: ffff888039c4b758 (&xfs_dir_ilock_class){++++}-{4:4}, at: xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1102 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc4-syzkaller-00013-g66701750d556 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:307 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:470 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.16.0-rc4-syzkaller-00013-g66701750d556 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:pv_native_safe_halt+0x13/0x20 arch/x86/kernel/paravirt.c:82 Code: 6e 4c a9 f5 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 63 35 21 00 f3 0f 1e fa fb f4 43 4c a9 f5 cc cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffffff8de07d80 EFLAGS: 00000282 RAX: 701d405bdd666f00 RBX: ffffffff81974d88 RCX: 701d405bdd666f00 RDX: 0000000000000001 RSI: ffffffff8d982066 RDI: ffffffff8be28cc0 RBP: ffffffff8de07ea8 R08: ffff8880b8632f5b R09: 1ffff110170c65eb R10: dffffc0000000000 R11: ffffed10170c65ec R12: ffffffff8fa104f0 R13: 0000000000000000 R14: 0000000000000000 R15: 1ffffffff1bd2a50 FS: 0000000000000000(0000) GS:ffff888125c50000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f718bd80ab8 CR3: 00000000761f1000 CR4: 0000000000350ef0 Call Trace: arch_safe_halt arch/x86/include/asm/paravirt.h:107 [inline] default_idle+0x13/0x20 arch/x86/kernel/process.c:749 default_idle_call+0x74/0xb0 kernel/sched/idle.c:117 cpuidle_idle_call kernel/sched/idle.c:185 [inline] do_idle+0x1e8/0x510 kernel/sched/idle.c:325 cpu_startup_entry+0x44/0x60 kernel/sched/idle.c:423 rest_init+0x2de/0x300 init/main.c:745 start_kernel+0x47d/0x500 init/main.c:1102 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:307 x86_64_start_kernel+0x143/0x1c0 arch/x86/kernel/head64.c:288 common_startup_64+0x13e/0x147