INFO: task syz.8.365:8583 blocked for more than 143 seconds. Not tainted 6.14.0-rc6-syzkaller-00202-ga29967be967e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.365 state:D stack:27552 pid:8583 tgid:8532 ppid:8086 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5378 [inline] __schedule+0x18bc/0x4c40 kernel/sched/core.c:6765 __schedule_loop kernel/sched/core.c:6842 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6857 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6914 rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:877 [inline] jfs_fsync+0x98/0x1d0 fs/jfs/file.c:28 vfs_fsync_range fs/sync.c:187 [inline] vfs_fsync fs/sync.c:201 [inline] do_fsync fs/sync.c:212 [inline] __do_sys_fsync fs/sync.c:217 [inline] __se_sys_fsync fs/sync.c:215 [inline] __x64_sys_fsync+0x18e/0x1f0 fs/sync.c:215 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:0x7f1a95b8d169 RSP: 002b:00007f1a935f4038 EFLAGS: 00000246 ORIG_RAX: 000000000000004a RAX: ffffffffffffffda RBX: 00007f1a95da6240 RCX: 00007f1a95b8d169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007f1a95c0e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f1a95da6240 R15: 00007ffd76ab0208 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: 1 lock held by khungtaskd/31: #0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746 4 locks held by kworker/u8:2/36: #0: ffff888020e94148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888020e94148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 kernel/workqueue.c:3319 #1: ffffc90000ac7c60 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000ac7c60 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 kernel/workqueue.c:3319 #2: ffff88802e4300e0 (&type->s_umount_key#71){++++}-{4:4}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562 #3: ffff88805ee7a6a8 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x24a/0x590 fs/jfs/inode.c:102 4 locks held by kworker/u8:7/1333: 2 locks held by getty/5583: #0: ffff88814e7100a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900032fb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x616/0x1770 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/8088: #0: ffffffff8eb3e8b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:334 [inline] #0: ffffffff8eb3e8b8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x820 kernel/rcu/tree_exp.h:996 2 locks held by kworker/u8:9/8226: #0: ffff8880b873e7d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598 #1: ffff8880b8728948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987 4 locks held by syz.8.365/8533: 1 lock held by syz.8.365/8583: #0: ffff88805ee7aa58 (&type->i_mutex_dir_key#14){++++}-{4:4}, at: inode_lock include/linux/fs.h:877 [inline] #0: ffff88805ee7aa58 (&type->i_mutex_dir_key#14){++++}-{4:4}, at: jfs_fsync+0x98/0x1d0 fs/jfs/file.c:28 2 locks held by syz-executor/8837: #0: ffff88806ab1c0e0 (&type->s_umount_key#57){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88806ab1c0e0 (&type->s_umount_key#57){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88806ab1c0e0 (&type->s_umount_key#57){+.+.}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8eb3e780 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3741 2 locks held by syz.3.661/11873: 4 locks held by syz.0.663/11938: 2 locks held by udevadm/11955: 1 lock held by sed/11958: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.14.0-rc6-syzkaller-00202-ga29967be967e #0 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+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: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:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 3 Comm: pool_workqueue_ Not tainted 6.14.0-rc6-syzkaller-00202-ga29967be967e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:chain_hlock_class_idx kernel/locking/lockdep.c:437 [inline] RIP: 0010:remove_class_from_lock_chain kernel/locking/lockdep.c:6181 [inline] RIP: 0010:remove_class_from_lock_chains kernel/locking/lockdep.c:6219 [inline] RIP: 0010:zap_class+0x199/0x840 kernel/locking/lockdep.c:6261 Code: c1 eb 08 81 fb 00 00 50 00 73 7b 48 63 c3 48 8d ac 00 00 e7 44 93 48 89 e8 48 c1 e8 03 42 0f b6 04 30 84 c0 75 34 0f b7 45 00 <25> ff 1f 00 00 49 39 c4 74 66 43 0f b6 44 35 00 84 c0 75 31 41 8b RSP: 0018:ffffc90000087bc8 EFLAGS: 00000046 RAX: 0000000000000118 RBX: 000000000000651c RCX: 0000000000010dc7 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff94516920 RBP: ffffffff9345b138 R08: ffffffff94516927 R09: 1ffffffff28a2d24 R10: dffffc0000000000 R11: fffffbfff28a2d25 R12: 0000000000000724 R13: 1ffffffff28a9e98 R14: dffffc0000000000 R15: ffffffff9454f4c0 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6f2be1d5a0 CR3: 000000003405c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lockdep_free_key_range kernel/locking/lockdep.c:6387 [inline] lockdep_unregister_key+0x3d2/0x610 kernel/locking/lockdep.c:6589 wq_unregister_lockdep kernel/workqueue.c:4816 [inline] pwq_release_workfn+0x6d1/0x800 kernel/workqueue.c:5112 kthread_worker_fn+0x4f7/0xb70 kernel/kthread.c:1010 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244