INFO: task kworker/1:6:6938 blocked for more than 143 seconds. Not tainted 6.16.0-rc7-syzkaller-g89be9a83ccf1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:6 state:D stack:24360 pid:6938 tgid:6938 ppid:2 task_flags:0x4248060 flags:0x00004000 Workqueue: xfs-conv/loop5 xfs_end_io Call Trace: context_switch kernel/sched/core.c:5397 [inline] __schedule+0x16fd/0x4cf0 kernel/sched/core.c:6786 __schedule_loop kernel/sched/core.c:6864 [inline] schedule+0x165/0x360 kernel/sched/core.c:6879 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6936 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0x1b5/0x200 kernel/locking/rwsem.c:1694 xfs_setfilesize+0xdb/0x440 fs/xfs/xfs_aops.c:65 xfs_end_ioend+0x419/0x690 fs/xfs/xfs_aops.c:164 xfs_end_io+0x253/0x2d0 fs/xfs/xfs_aops.c:205 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402 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 INFO: task syz.5.57:7511 blocked for more than 143 seconds. Not tainted 6.16.0-rc7-syzkaller-g89be9a83ccf1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.57 state:D stack:21832 pid:7511 tgid:7510 ppid:6662 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5397 [inline] __schedule+0x16fd/0x4cf0 kernel/sched/core.c:6786 __schedule_loop kernel/sched/core.c:6864 [inline] schedule+0x165/0x360 kernel/sched/core.c:6879 io_schedule+0x80/0xd0 kernel/sched/core.c:7724 folio_wait_bit_common+0x6b0/0xb90 mm/filemap.c:1317 folio_wait_writeback+0xb0/0x100 mm/page-writeback.c:3126 __filemap_fdatawait_range+0x147/0x230 mm/filemap.c:539 file_write_and_wait_range+0x275/0x330 mm/filemap.c:798 xfs_file_fsync+0x1a3/0xa30 fs/xfs/xfs_file.c:140 generic_write_sync include/linux/fs.h:3031 [inline] xfs_file_buffered_write+0x713/0x890 fs/xfs/xfs_file.c:1018 do_iter_readv_writev+0x56e/0x7f0 fs/read_write.c:-1 vfs_writev+0x31a/0x960 fs/read_write.c:1057 do_pwritev fs/read_write.c:1153 [inline] __do_sys_pwritev2 fs/read_write.c:1211 [inline] __se_sys_pwritev2+0x179/0x290 fs/read_write.c:1202 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:0x7f5815d8e929 RSP: 002b:00007f5816b70038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f5815fb5fa0 RCX: 00007f5815d8e929 RDX: 0000000000000001 RSI: 00002000000001c0 RDI: 0000000000000004 RBP: 00007f5815e10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000e7b R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5815fb5fa0 R15: 00007ffca1ff3068 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8e144bf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #0: ffffffff8e144bf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:998 1 lock held by khungtaskd/31: #0: ffffffff8e13f0e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13f0e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13f0e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 3 locks held by kworker/u8:3/49: 2 locks held by getty/5595: #0: ffff888033dc80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000333b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 4 locks held by kworker/1:4/5967: #0: ffff88805e0d2148 ((wq_completion)xfs-conv/loop2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88805e0d2148 ((wq_completion)xfs-conv/loop2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc90003217bc0 ((work_completion)(&ip->i_ioend_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90003217bc0 ((work_completion)(&ip->i_ioend_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffff88807b200618 (sb_internal#2){.+.+}-{0:0}, at: xfs_setfilesize+0xb3/0x440 fs/xfs/xfs_aops.c:61 #3: ffff8880733746d8 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_setfilesize+0xdb/0x440 fs/xfs/xfs_aops.c:65 4 locks held by kworker/0:6/6932: #0: ffff88805f994d48 ((wq_completion)xfs-conv/loop3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88805f994d48 ((wq_completion)xfs-conv/loop3){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc90003d7fbc0 ((work_completion)(&ip->i_ioend_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90003d7fbc0 ((work_completion)(&ip->i_ioend_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffff88805d04e618 (sb_internal#2){.+.+}-{0:0}, at: xfs_setfilesize+0xb3/0x440 fs/xfs/xfs_aops.c:61 #3: ffff888073375658 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_setfilesize+0xdb/0x440 fs/xfs/xfs_aops.c:65 4 locks held by kworker/1:6/6938: #0: ffff8880250c8548 ((wq_completion)xfs-conv/loop5){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff8880250c8548 ((wq_completion)xfs-conv/loop5){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3321 #1: ffffc90003d8fbc0 ((work_completion)(&ip->i_ioend_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90003d8fbc0 ((work_completion)(&ip->i_ioend_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3321 #2: ffff88807cb64618 (sb_internal#2){.+.+}-{0:0}, at: xfs_setfilesize+0xb3/0x440 fs/xfs/xfs_aops.c:61 #3: ffff88806400e5d8 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_setfilesize+0xdb/0x440 fs/xfs/xfs_aops.c:65 2 locks held by kworker/u8:8/7028: 2 locks held by udevd/7248: 1 lock held by syz.5.57/7511: #0: ffff88807cb64428 (sb_writers#12){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3096 [inline] #0: ffff88807cb64428 (sb_writers#12){.+.+}-{0:0}, at: vfs_writev+0x288/0x960 fs/read_write.c:1055 4 locks held by syz.5.57/7545: #0: ffff88807cb64428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff88806400e7f0 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff88806400e7f0 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 #2: ffff88807cb64618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1098 #3: ffff88806400e5d8 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1104 4 locks held by syz.6.73/8045: 1 lock held by syz.3.95/8126: #0: ffff88805d04e428 (sb_writers#12){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3096 [inline] #0: ffff88805d04e428 (sb_writers#12){.+.+}-{0:0}, at: vfs_writev+0x288/0x960 fs/read_write.c:1055 4 locks held by syz.3.95/8198: #0: ffff88805d04e428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff888073375870 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff888073375870 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 #2: ffff88805d04e618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1098 #3: ffff888073375658 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1104 1 lock held by syz.2.99/8207: #0: ffff88807b200428 (sb_writers#12){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3096 [inline] #0: ffff88807b200428 (sb_writers#12){.+.+}-{0:0}, at: vfs_writev+0x288/0x960 fs/read_write.c:1055 5 locks held by syz.2.99/8244: 4 locks held by syz.1.116/8468: #0: ffff888059444428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff888073376030 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff888073376030 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 #2: ffff888059444618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1098 #3: ffff888073375e18 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1104 2 locks held by kworker/u8:9/8624: 4 locks held by syz.4.166/9014: #0: ffff88802f280428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff888073371a70 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff888073371a70 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 #2: ffff88802f280618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1098 #3: ffff888073371858 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1104 4 locks held by syz.8.215/9448: #0: ffff888054432428 (sb_writers#12){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff888064207770 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff888064207770 (&sb->s_type->i_mutex_key#20){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 fs/xattr.c:320 #2: ffff888054432618 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0x13c/0x4a0 fs/xfs/xfs_trans.c:1098 #3: ffff888064207558 (&xfs_nondir_ilock_class){++++}-{4:4}, at: xfs_trans_alloc_inode+0x161/0x4a0 fs/xfs/xfs_trans.c:1104 3 locks held by syz-executor/9557: #0: ffffffff8eca3700 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8eca3700 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8eca3700 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:570 #1: ffffffff8f51c108 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff8f51c108 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffffffff8f51c108 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8db/0x1c70 net/core/rtnetlink.c:4054 #2: ffffffff8e144bf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #2: ffffffff8e144bf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:998 5 locks held by syz.0.241/9567: 2 locks held by syz.7.239/9570: 1 lock held by syz.5.242/9578: 2 locks held by syz.6.243/9582: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc7-syzkaller-g89be9a83ccf1 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 9567 Comm: syz.0.241 Not tainted 6.16.0-rc7-syzkaller-g89be9a83ccf1 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:expire_timers kernel/time/timer.c:1798 [inline] RIP: 0010:__run_timers kernel/time/timer.c:2372 [inline] RIP: 0010:__run_timer_base+0x615/0x860 kernel/time/timer.c:2384 Code: 43 12 00 b8 00 00 20 00 41 21 c4 75 2c e8 43 3f 12 00 4c 8b 64 24 18 4c 89 e7 e8 36 3f c2 09 4c 89 f7 48 89 de 48 8b 54 24 20 d6 40 00 00 4c 89 e7 e8 3e 3c c2 09 eb 2a e8 17 3f 12 00 4c 8b RSP: 0018:ffffc90000a08ca0 EFLAGS: 00000202 RAX: 0000000000000101 RBX: ffffffff89759990 RCX: 0000000000000100 RDX: 000000010000189a RSI: ffffffff89759990 RDI: ffff888028026410 RBP: ffffc90000a08e10 R08: ffffffff8fa1dcf7 R09: 1ffffffff1f43b9e R10: dffffc0000000000 R11: fffffbfff1f43b9f R12: ffff8880b8725940 R13: 1ffff920001411ac R14: ffff888028026410 R15: ffffc90000a08d60 FS: 00007f3885f926c0(0000) GS:ffff888125d23000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000000f000 CR3: 0000000047bc7000 CR4: 0000000000350ef0 Call Trace: run_timer_base kernel/time/timer.c:2393 [inline] run_timer_softirq+0xb7/0x180 kernel/time/timer.c:2403 handle_softirqs+0x286/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2061 [inline] RIP: 0010:vprintk_emit+0x58f/0x7a0 kernel/printk/printk.c:2449 Code: 85 32 01 00 00 e8 e1 23 1f 00 41 89 df 4d 85 f6 48 8b 1c 24 75 07 e8 d0 23 1f 00 eb 06 e8 c9 23 1f 00 fb 48 c7 c7 60 33 13 8e <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 53 e8 19 37 RSP: 0018:ffffc9000fbf6d20 EFLAGS: 00000293 RAX: ffffffff81a10307 RBX: ffffffff81a101c4 RCX: ffff88801dfd9e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8e133360 RBP: ffffc9000fbf6e30 R08: ffffffff8fa1dcf7 R09: 1ffffffff1f43b9e R10: dffffc0000000000 R11: fffffbfff1f43b9f R12: dffffc0000000000 R13: 1ffff92001f7eda8 R14: 0000000000000200 R15: 0000000000000068 _printk+0xcf/0x120 kernel/printk/printk.c:2475 __xfs_printk fs/xfs/xfs_message.c:24 [inline] _xfs_alert_tag+0x1cb/0x2d0 fs/xfs/xfs_message.c:74 xfs_buf_corruption_error+0xd1/0x160 fs/xfs/xfs_error.c:425 __xfs_buf_mark_corrupt+0x2c/0x1a0 fs/xfs/xfs_buf.c:1495 xfs_btree_lookup_get_block+0x3df/0x500 fs/xfs/libxfs/xfs_btree.c:1928 xfs_btree_lookup+0x4e1/0x1410 fs/xfs/libxfs/xfs_btree.c:2018 xfs_inobt_lookup fs/xfs/libxfs/xfs_ialloc.c:47 [inline] xfs_dialloc_ag_finobt_near+0x120/0x690 fs/xfs/libxfs/xfs_ialloc.c:1384 xfs_dialloc_ag fs/xfs/libxfs/xfs_ialloc.c:1606 [inline] xfs_dialloc_try_ag fs/xfs/libxfs/xfs_ialloc.c:1835 [inline] xfs_dialloc+0xe91/0x1920 fs/xfs/libxfs/xfs_ialloc.c:1945 xfs_create+0x5d1/0xad0 fs/xfs/xfs_inode.c:719 xfs_generic_create+0x3c9/0xad0 fs/xfs/xfs_iops.c:216 lookup_open fs/namei.c:3717 [inline] open_last_lookups fs/namei.c:3816 [inline] path_openat+0x14f4/0x3830 fs/namei.c:4052 do_filp_open+0x1fa/0x410 fs/namei.c:4082 do_sys_openat2+0x121/0x1c0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_open fs/open.c:1460 [inline] __se_sys_open fs/open.c:1456 [inline] __x64_sys_open+0x11e/0x150 fs/open.c:1456 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:0x7f388518e929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3885f92038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f38853b5fa0 RCX: 00007f388518e929 RDX: 0000000000000020 RSI: 000000000014927e RDI: 0000200000001340 RBP: 00007f3885210b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f38853b5fa0 R15: 00007ffc62db9d98