INFO: task syz.2.3:5366 blocked for more than 143 seconds. Not tainted 6.11.0-rc4-syzkaller-00019-gb311c1b497e5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.3 state:D stack:22512 pid:5366 tgid:5330 ppid:5220 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 xfs_ail_push_all_sync+0x236/0x310 fs/xfs/xfs_trans_ail.c:726 xfs_log_quiesce+0xdf/0x5b0 fs/xfs/xfs_log.c:1018 xfs_fs_freeze+0x8d/0x1a0 fs/xfs/xfs_super.c:936 freeze_super+0x81b/0xee0 fs/super.c:2107 fs_bdev_freeze+0x1ac/0x320 fs/super.c:1484 bdev_freeze+0xd6/0x220 block/bdev.c:256 xfs_fs_goingdown+0xa9/0x160 fs/xfs/xfs_fsops.c:446 xfs_file_ioctl+0x12d7/0x19e0 fs/xfs/xfs_ioctl.c:1473 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbc19d79e79 RSP: 002b:00007fbc1aa76038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fbc19f16058 RCX: 00007fbc19d79e79 RDX: 0000000020000080 RSI: 000000008004587d RDI: 0000000000000006 RBP: 00007fbc19de7916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbc19f16058 R15: 00007ffffd2f5b98 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: #0: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:296 [inline] #0: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:958 3 locks held by kworker/u8:0/11: 1 lock held by khungtaskd/30: #0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6626 2 locks held by getty/4968: #0: ffff88802b6ae0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000311b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ac/0x1e00 drivers/tty/n_tty.c:2211 5 locks held by syz.2.3/5366: #0: ffff88801d942fb0 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: bdev_freeze+0x2a/0x220 block/bdev.c:247 #1: ffff888022fd8420 (sb_writers#13){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline] #1: ffff888022fd8420 (sb_writers#13){++++}-{0:0}, at: freeze_super+0x4e9/0xee0 fs/super.c:2085 #2: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #2: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #2: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: freeze_super+0x4f1/0xee0 fs/super.c:2086 #3: ffff888022fd8518 (sb_pagefaults#2){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline] #3: ffff888022fd8518 (sb_pagefaults#2){++++}-{0:0}, at: freeze_super+0x519/0xee0 fs/super.c:2090 #4: ffff888022fd8610 (sb_internal#3){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline] #4: ffff888022fd8610 (sb_internal#3){++++}-{0:0}, at: freeze_super+0x7cc/0xee0 fs/super.c:2104 1 lock held by syz.1.74/5987: #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.1.74/6036: #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.1.74/6039: #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.1.74/6041: #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.1.74/6044: #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.1.74/6045: #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.86/6070: #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.2.139/6620: #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.3.162/6766: #0: ffff888022fd80e0 (&type->s_umount_key #57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz-executor/6869: #0: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:328 [inline] #0: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:958 1 lock held by syz.2.185/6991: #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 4 locks held by syz-executor/7030: 1 lock held by syz.1.248/7386: #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.1.248/7399: #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888022fd80e0 (&type->s_umount_key#57){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc4-syzkaller-00019-gb311c1b497e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5362 Comm: xfsaild/loop2 Not tainted 6.11.0-rc4-syzkaller-00019-gb311c1b497e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3762 [inline] RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3781 [inline] RIP: 0010:validate_chain+0x1e6/0x5900 kernel/locking/lockdep.c:3836 Code: 89 df e8 8d 24 87 00 48 89 5c 24 48 48 8b 1b 48 85 db 74 48 48 83 c3 f8 74 42 4c 8d 7b 18 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 <74> 08 4c 89 ff e8 60 24 87 00 49 8b 07 4c 39 f0 0f 84 7e 03 00 00 RSP: 0018:ffffc90000a18640 EFLAGS: 00000046 RAX: 1ffffffff26ba94f RBX: ffffffff935d4a60 RCX: ffffffff8170815e RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff934f4840 RBP: ffffc90000a18940 R08: ffffffff934f4847 R09: 1ffffffff269e908 R10: dffffc0000000000 R11: fffffbfff269e909 R12: dffffc0000000000 R13: ffff88807b4be528 R14: df51ddef8b1a227a R15: ffffffff935d4a78 FS: 0000000000000000(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110f243525 CR3: 0000000021308000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x137a/0x2040 kernel/locking/lockdep.c:5142 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:560 raw_spin_rq_lock kernel/sched/sched.h:1415 [inline] rq_lock kernel/sched/sched.h:1714 [inline] ttwu_queue kernel/sched/core.c:3844 [inline] try_to_wake_up+0x7cc/0x1470 kernel/sched/core.c:4167 hrtimer_wakeup+0x62/0x80 kernel/time/hrtimer.c:1925 __run_hrtimer kernel/time/hrtimer.c:1689 [inline] __hrtimer_run_queues+0x59b/0xd50 kernel/time/hrtimer.c:1753 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1815 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline] __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2010 [inline] RIP: 0010:vprintk_emit+0x5ac/0x7c0 kernel/printk/printk.c:2347 Code: 05 20 00 4c 21 e3 0f 85 3a 01 00 00 e8 fd 00 20 00 4d 89 ec 4d 85 ff 75 07 e8 f0 00 20 00 eb 06 e8 e9 00 20 00 fb 44 8b 3c 24 <48> c7 c7 20 3d 61 8e 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 RSP: 0018:ffffc90004bc76a0 EFLAGS: 00000293 RAX: ffffffff817389c7 RBX: 0000000000000000 RCX: ffff88807b4bda00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90004bc7790 R08: ffffffff817389a5 R09: 1ffffffff1fed8b5 R10: dffffc0000000000 R11: fffffbfff1fed8b6 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffffff81738825 R15: 0000000000000067 _printk+0xd5/0x120 kernel/printk/printk.c:2373 bio_check_eod block/blk-core.c:543 [inline] submit_bio_noacct+0x1018/0x1920 block/blk-core.c:770 xfs_buf_ioapply_map+0x461/0x5d0 fs/xfs/xfs_buf.c:1586 _xfs_buf_ioapply+0x306/0x660 fs/xfs/xfs_buf.c:1674 __xfs_buf_submit+0x34f/0x7f0 fs/xfs/xfs_buf.c:1758 xfs_buf_delwri_submit_buffers+0x6dc/0x980 fs/xfs/xfs_buf.c:2325 xfsaild_push fs/xfs/xfs_trans_ail.c:601 [inline] xfsaild+0x27c3/0x2e00 fs/xfs/xfs_trans_ail.c:705 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244