INFO: task syz.4.5:5959 blocked for more than 143 seconds. Not tainted 6.12.0-rc5-syzkaller-00181-g6c52d4da1c74 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.5 state:D stack:25752 pid:5959 tgid:5926 ppid:5829 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x185a/0x4b70 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 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:257 xfs_fs_goingdown+0xa9/0x160 fs/xfs/xfs_fsops.c:444 xfs_file_ioctl+0x12e5/0x1a30 fs/xfs/xfs_ioctl.c:1343 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xf9/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:0x7ff82cd7e719 RSP: 002b:00007ff82dc2f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ff82cf36058 RCX: 00007ff82cd7e719 RDX: 000000002001f980 RSI: 000000008004587d RDI: 0000000000000005 RBP: 00007ff82cdf132e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff82cf36058 R15: 00007ffef6b925f8 Showing all locks held in the system: 3 locks held by kworker/1:0/25: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffff8880b8728948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987 #2: ffff8880b872b7d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 kernel/time/timer.c:1051 1 lock held by khungtaskd/30: #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by getty/5583: #0: ffff8880308440a0 (&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+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/5832: 5 locks held by syz.4.5/5959: #0: ffff888148c83b30 (&bdev->bd_fsfreeze_mutex){+.+.}-{3:3}, at: bdev_freeze+0x2a/0x220 block/bdev.c:248 #1: ffff888032b5a420 (sb_writers#18){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline] #1: ffff888032b5a420 (sb_writers#18){++++}-{0:0}, at: freeze_super+0x4e9/0xee0 fs/super.c:2085 #2: ffff888032b5a0e0 (&type->s_umount_key#59){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #2: ffff888032b5a0e0 (&type->s_umount_key#59){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #2: ffff888032b5a0e0 (&type->s_umount_key#59){++++}-{3:3}, at: freeze_super+0x4f1/0xee0 fs/super.c:2086 #3: ffff888032b5a518 (sb_pagefaults#2){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline] #3: ffff888032b5a518 (sb_pagefaults#2){++++}-{0:0}, at: freeze_super+0x519/0xee0 fs/super.c:2090 #4: ffff888032b5a610 (sb_internal#2){++++}-{0:0}, at: sb_wait_write fs/super.c:1896 [inline] #4: ffff888032b5a610 (sb_internal#2){++++}-{0:0}, at: freeze_super+0x7cc/0xee0 fs/super.c:2104 1 lock held by syz-executor/6356: #0: ffffffff8e93d338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e93d338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz.5.229/8398: #0: ffff888032b5a0e0 (&type->s_umount_key#59){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888032b5a0e0 (&type->s_umount_key#59){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 2 locks held by syz-executor/8587: #0: ffff88804dc3c0e0 (&type->s_umount_key#58){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88804dc3c0e0 (&type->s_umount_key#58){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88804dc3c0e0 (&type->s_umount_key#58){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8e93d200 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:4562 1 lock held by syz-executor/8871: #0: ffffffff8e93d338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #0: ffffffff8e93d338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976 5 locks held by kworker/u8:10/9025: 2 locks held by sed/9301: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc5-syzkaller-00181-g6c52d4da1c74 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 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: 24 Comm: ksoftirqd/1 Not tainted 6.12.0-rc5-syzkaller-00181-g6c52d4da1c74 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:check_preemption_disabled+0x0/0x120 lib/smp_processor_id.c:13 Code: c7 c0 2f 60 8c 48 c7 c6 00 30 60 8c eb 1c 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <41> 57 41 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 RSP: 0018:ffffc900001e7988 EFLAGS: 00000002 RAX: 0000000000000001 RBX: ffff88801da88000 RCX: 00000000000000e8 RDX: ffff8880555171f8 RSI: ffffffff8c0acac0 RDI: ffffffff8c603020 RBP: 0000000000000000 R08: ffffc900001e77a0 R09: 000000000000000b R10: ffffc900001e7670 R11: ffffffff81809220 R12: ffff888055517110 R13: ffff8880619a6f88 R14: ffffffff81fb813d R15: 0000000000000282 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc59be5048 CR3: 000000004b75a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_hardirqs_off+0x75/0x110 kernel/locking/lockdep.c:4507 trace_hardirqs_off+0x12/0x40 kernel/trace/trace_preemptirq.c:87 kasan_quarantine_put+0x3d/0x230 mm/kasan/quarantine.c:207 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:2342 [inline] slab_free_after_rcu_debug+0x11c/0x290 mm/slub.c:4629 rcu_do_batch kernel/rcu/tree.c:2567 [inline] rcu_core+0xaaa/0x17a0 kernel/rcu/tree.c:2823 handle_softirqs+0x2c5/0x980 kernel/softirq.c:554 run_ksoftirqd+0xca/0x130 kernel/softirq.c:927 smpboot_thread_fn+0x544/0xa30 kernel/smpboot.c:164 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