INFO: task jfsCommit:115 blocked for more than 143 seconds. Not tainted 6.13.0-rc3-syzkaller-00026-g59dbb9d81adf #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack:26224 pid:115 tgid:115 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 io_schedule+0x8d/0x110 kernel/sched/core.c:7681 __lock_metapage fs/jfs/jfs_metapage.c:51 [inline] lock_metapage+0x26a/0x450 fs/jfs/jfs_metapage.c:65 __get_metapage+0x57c/0xdc0 fs/jfs/jfs_metapage.c:640 diIAGRead+0xcb/0x140 fs/jfs/jfs_imap.c:2672 diFree+0xa7e/0x2fb0 fs/jfs/jfs_imap.c:959 jfs_evict_inode+0x32d/0x440 fs/jfs/inode.c:156 evict+0x4e8/0x9a0 fs/inode.c:796 txUpdateMap+0x931/0xb10 fs/jfs/jfs_txnmgr.c:2367 txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline] jfs_lazycommit+0x49a/0xb80 fs/jfs/jfs_txnmgr.c:2733 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 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 2 locks held by jfsCommit/115: #0: ffff888049f38920 (&(imap->im_aglock[index])){+.+.}-{4:4}, at: diFree+0x37c/0x2fb0 fs/jfs/jfs_imap.c:889 #1: ffff88805a3c5430 (&jfs_ip->rdwrlock/1){++++}-{4:4}, at: diFree+0x398/0x2fb0 fs/jfs/jfs_imap.c:894 1 lock held by udevd/5194: 2 locks held by getty/5574: #0: ffff888031a9e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by syz-executor/7080: 2 locks held by kworker/u8:14/8708: #0: ffff8880b873e758 (&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 3 locks held by kworker/u8:25/8723: 1 lock held by syz-executor/9140: #0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 3 locks held by syz-executor/12533: #0: ffff88805bf900e0 (&type->s_umount_key#68){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88805bf900e0 (&type->s_umount_key#68){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88805bf900e0 (&type->s_umount_key#68){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffff88806d080278 (&c->state_lock){+.+.}-{4:4}, at: __bch2_fs_stop+0xfd/0x5c0 fs/bcachefs/super.c:620 #2: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #2: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 2 locks held by syz.1.792/13705: 2 locks held by syz.4.793/13721: 1 lock held by syz.7.794/13760: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc3-syzkaller-00026-g59dbb9d81adf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/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:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 8723 Comm: kworker/u8:25 Not tainted 6.13.0-rc3-syzkaller-00026-g59dbb9d81adf #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:psi_group_change+0x920/0x1190 kernel/sched/psi.c:860 Code: 35 00 00 48 8b 5c 24 78 74 16 48 89 df e8 58 ab 8a 00 4c 8b 04 24 48 be 00 00 00 00 00 fc ff df 48 c7 c5 40 f2 03 00 48 03 2b <48> 89 e8 48 c1 e8 03 80 3c 30 00 74 16 48 89 ef e8 2b ab 8a 00 4c RSP: 0018:ffffc90000007540 EFLAGS: 00000082 RAX: 0000000000000001 RBX: ffffffff8e2cfb58 RCX: 0000000000000080 RDX: 0000000000000110 RSI: dffffc0000000000 RDI: ffff8880b8728970 RBP: ffff8880b873f240 R08: ffff8880b8728940 R09: 0000000000000080 R10: ffff8880b8728974 R11: ffff8880b8728978 R12: 0000000000000000 R13: 1ffffffff1c59f6b R14: 0000000000000190 R15: 000000000000000c FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005592ab215950 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: psi_task_change+0xed/0x270 kernel/sched/psi.c:912 psi_dequeue kernel/sched/stats.h:187 [inline] dequeue_task+0x4e0/0x590 kernel/sched/core.c:2091 detach_task kernel/sched/fair.c:9501 [inline] detach_tasks kernel/sched/fair.c:9637 [inline] sched_balance_rq+0x5df4/0x8620 kernel/sched/fair.c:11781 sched_balance_domains+0x565/0xa90 kernel/sched/fair.c:12202 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/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:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline] RIP: 0010:_raw_spin_unlock_irq+0x29/0x50 kernel/locking/spinlock.c:202 Code: 90 f3 0f 1e fa 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ea 79 b7 f5 48 89 df e8 22 c1 b8 f5 e8 bd e1 e3 f5 fb bf 01 00 00 00 32 26 aa f5 65 8b 05 a3 78 40 74 85 c0 74 06 5b c3 cc cc cc cc RSP: 0018:ffffc900101c7bb0 EFLAGS: 00000282 RAX: c029a2a2548c1f00 RBX: ffff88801aca0000 RCX: ffffffff9a377903 RDX: dffffc0000000000 RSI: ffffffff8c0a9760 RDI: 0000000000000001 RBP: ffffc900101c7dc0 R08: ffffffff90184f37 R09: 1ffffffff20309e6 R10: dffffc0000000000 R11: fffffbfff20309e7 R12: ffff88805ce3d7e0 R13: dffffc0000000000 R14: ffff888030b22408 R15: 0000000002000000 process_one_work kernel/workqueue.c:3198 [inline] process_scheduled_works+0x85c/0x1840 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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