INFO: task syz-executor:5970 blocked for more than 143 seconds. Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:14416 pid:5970 tgid:5970 ppid:1 task_flags:0x400140 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5367 [inline] __schedule+0x1ac3/0x5090 kernel/sched/core.c:6748 __schedule_loop kernel/sched/core.c:6825 [inline] schedule+0x163/0x360 kernel/sched/core.c:6840 wb_wait_for_completion+0x166/0x270 fs/fs-writeback.c:216 sync_inodes_sb+0x28f/0xb50 fs/fs-writeback.c:2821 sync_filesystem+0x176/0x230 fs/sync.c:64 generic_shutdown_super+0x72/0x2d0 fs/super.c:621 kill_block_super+0x44/0x90 fs/super.c:1710 xfs_kill_sb+0x15/0x50 fs/xfs/xfs_super.c:2115 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x422/0x4c0 fs/namespace.c:1435 task_work_run+0x251/0x310 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4c3158e497 RSP: 002b:00007ffc942d8698 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f4c3160e08c RCX: 00007f4c3158e497 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc942d8750 RBP: 00007ffc942d8750 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc942d97e0 R13: 00007f4c3160e08c R14: 000000000001fbdf R15: 00007ffc942d9820 Showing all locks held in the system: 1 lock held by ksoftirqd/0/15: 1 lock held by khungtaskd/31: #0: ffffffff8eb3a760 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] ffffffff8eb3a760 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] ffffffff8eb3a760 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6761 4 locks held by kworker/u8:2/36: 2 locks held by getty/5584: #0: ffff888035e490a0 (&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+0x53d/0x16b0 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/5970: #0: ffff88807940e0e0 (&type->s_umount_key#52){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88807940e0e0 (&type->s_umount_key#52){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88807940e0e0 (&type->s_umount_key#52){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffff888142f7c7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff888142f7c7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x270/0xb50 fs/fs-writeback.c:2819 1 lock held by syz.3.142/7325: #0: ffff88807940e0e0 (&type->s_umount_key#52){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807940e0e0 (&type->s_umount_key#52){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz-executor/8808: #0: ffffffff8eb3fc78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] ffffffff8eb3fc78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x454/0x830 kernel/rcu/tree_exp.h:998 1 lock held by syz.2.372/10133: #0: ffffffff8eb3fc78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #0: ffffffff8eb3fc78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x454/0x830 kernel/rcu/tree_exp.h:998 3 locks held by udevadm/10160: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x4ab/0x4e0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:236 [inline] watchdog+0x1058/0x10a0 kernel/hung_task.c:399 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 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: 36 Comm: kworker/u8:2 Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: writeback wb_workfn (flush-7:5) RIP: 0010:do_raw_spin_lock+0x5/0x370 kernel/locking/spinlock_debug.c:114 Code: 80 c1 03 38 c1 7c 91 48 89 df e8 56 62 89 00 eb 87 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 <48> 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48 81 ec a0 00 00 RSP: 0018:ffffc90000007ad8 EFLAGS: 00000086 RAX: 66802acdca772c00 RBX: ffff88801aca0000 RCX: 66802acdca772c00 RDX: 0000000000000000 RSI: ffffffff8e2abebe RDI: ffff88801aca0000 RBP: dffffc0000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff11003591238 R13: ffff88801ac95c00 R14: 0000000000000008 R15: ffff88801aca0000 FS: 0000000000000000(0000) GS:ffff88812525a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff96ea5fe8 CR3: 0000000028038000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __queue_work+0x785/0x10a0 call_timer_fn+0x189/0x650 kernel/time/timer.c:1789 expire_timers kernel/time/timer.c:1835 [inline] __run_timers kernel/time/timer.c:2414 [inline] __run_timer_base+0x699/0x8e0 kernel/time/timer.c:2426 run_timer_base kernel/time/timer.c:2435 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2445 handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xfb/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 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+0x702/0xa10 kernel/printk/printk.c:2431 Code: 00 e8 22 5d 21 00 4c 8d bc 24 a0 00 00 00 4d 85 e4 75 07 e8 10 5d 21 00 eb 06 e8 09 5d 21 00 fb 49 bc 00 00 00 00 00 fc ff df <48> c7 c7 00 63 a1 8e 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 RSP: 0018:ffffc90000ac5760 EFLAGS: 00000293 RAX: ffffffff81a1f527 RBX: 0000000000000000 RCX: ffff888141ad1e00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000ac5870 R08: ffffffff81a1f500 R09: 1ffffffff2077a6e R10: dffffc0000000000 R11: fffffbfff2077a6f R12: dffffc0000000000 R13: 1ffff92000158af0 R14: ffffffff81a1f362 R15: ffffc90000ac5800 _printk+0xd5/0x120 kernel/printk/printk.c:2457 print_hex_dump+0x1aa/0x260 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:466 xfs_allocbt_read_verify+0x5e/0xd0 __xfs_buf_ioend+0x1fd/0x690 fs/xfs/xfs_buf.c:1306 xfs_buf_iowait+0x180/0x4c0 fs/xfs/xfs_buf.c:1521 _xfs_buf_read fs/xfs/xfs_buf.c:746 [inline] xfs_buf_read_map+0x3c4/0xb20 fs/xfs/xfs_buf.c:812 xfs_trans_read_buf_map+0x261/0xa90 fs/xfs/xfs_trans_buf.c:304 xfs_trans_read_buf fs/xfs/xfs_trans.h:212 [inline] xfs_btree_read_buf_block+0x371/0x5c0 fs/xfs/libxfs/xfs_btree.c:1402 xfs_btree_lookup_get_block+0x35e/0x630 fs/xfs/libxfs/xfs_btree.c:1907 xfs_btree_lookup+0x4ed/0x15f0 fs/xfs/libxfs/xfs_btree.c:2018 xfs_alloc_lookup fs/xfs/libxfs/xfs_alloc.c:166 [inline] xfs_alloc_lookup_eq fs/xfs/libxfs/xfs_alloc.c:184 [inline] xfs_alloc_fixup_trees+0x27f/0x1050 fs/xfs/libxfs/xfs_alloc.c:626 xfs_alloc_cur_finish+0xe6/0x500 fs/xfs/libxfs/xfs_alloc.c:1117 xfs_alloc_ag_vextent_near+0x133d/0x1960 fs/xfs/libxfs/xfs_alloc.c:1776 xfs_alloc_vextent_iterate_ags+0x5ed/0x950 fs/xfs/libxfs/xfs_alloc.c:3739 xfs_alloc_vextent_start_ag+0x406/0x980 fs/xfs/libxfs/xfs_alloc.c:3814 xfs_bmap_btalloc_best_length fs/xfs/libxfs/xfs_bmap.c:3764 [inline] xfs_bmap_btalloc fs/xfs/libxfs/xfs_bmap.c:3809 [inline] xfs_bmapi_allocate+0x1b17/0x3640 fs/xfs/libxfs/xfs_bmap.c:4222 xfs_bmapi_convert_one_delalloc fs/xfs/libxfs/xfs_bmap.c:4731 [inline] xfs_bmapi_convert_delalloc+0x9b0/0x1a40 fs/xfs/libxfs/xfs_bmap.c:4787 xfs_map_blocks+0x7af/0x1030 fs/xfs/xfs_aops.c:364 iomap_writepage_map_blocks fs/iomap/buffered-io.c:1755 [inline] iomap_writepage_map fs/iomap/buffered-io.c:1905 [inline] iomap_writepages+0x107e/0x3080 fs/iomap/buffered-io.c:1959 xfs_vm_writepages+0xfe/0x150 fs/xfs/xfs_aops.c:483 do_writepages+0x36a/0x890 mm/page-writeback.c:2687 __writeback_single_inode+0x14f/0x10d0 fs/fs-writeback.c:1680 writeback_sb_inodes+0x822/0x1360 fs/fs-writeback.c:1976 wb_writeback+0x415/0xb90 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x412/0x10b0 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd30 kernel/workqueue.c:3400 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245