INFO: task jfsCommit:106 blocked for more than 143 seconds. Not tainted 6.1.126-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack:26744 pid:106 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 io_schedule+0x88/0x100 kernel/sched/core.c:8786 __lock_metapage fs/jfs/jfs_metapage.c:50 [inline] lock_metapage+0x250/0x370 fs/jfs/jfs_metapage.c:64 __get_metapage+0x50f/0x1040 fs/jfs/jfs_metapage.c:639 diIAGRead+0xcb/0x130 fs/jfs/jfs_imap.c:2672 diFree+0xa7a/0x2fb0 fs/jfs/jfs_imap.c:959 jfs_evict_inode+0x329/0x440 fs/jfs/inode.c:156 evict+0x529/0x930 fs/inode.c:705 txUpdateMap+0x825/0x9e0 fs/jfs/jfs_txnmgr.c:2367 txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline] jfs_lazycommit+0x476/0xb60 fs/jfs/jfs_txnmgr.c:2732 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INFO: task jfsCommit:107 blocked for more than 143 seconds. Not tainted 6.1.126-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack:26968 pid:107 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 io_schedule+0x88/0x100 kernel/sched/core.c:8786 __lock_metapage fs/jfs/jfs_metapage.c:50 [inline] lock_metapage+0x250/0x370 fs/jfs/jfs_metapage.c:64 __get_metapage+0x50f/0x1040 fs/jfs/jfs_metapage.c:639 diIAGRead+0xcb/0x130 fs/jfs/jfs_imap.c:2672 diFree+0xa7a/0x2fb0 fs/jfs/jfs_imap.c:959 jfs_evict_inode+0x329/0x440 fs/jfs/inode.c:156 evict+0x529/0x930 fs/inode.c:705 txUpdateMap+0x825/0x9e0 fs/jfs/jfs_txnmgr.c:2367 txLazyCommit fs/jfs/jfs_txnmgr.c:2664 [inline] jfs_lazycommit+0x476/0xb60 fs/jfs/jfs_txnmgr.c:2732 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32b290 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d32ba90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 2 locks held by kworker/0:1/14: #0: ffff888017c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90000137d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 1 lock held by khungtaskd/28: #0: ffffffff8d32b0c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32b0c0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32b0c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6510 2 locks held by jfsCommit/106: #0: ffff888071398920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x378/0x2fb0 fs/jfs/jfs_imap.c:889 #1: ffff888054af8a78 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x394/0x2fb0 fs/jfs/jfs_imap.c:894 2 locks held by jfsCommit/107: #0: ffff888054e78920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x378/0x2fb0 fs/jfs/jfs_imap.c:889 #1: ffff888054b08a78 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x394/0x2fb0 fs/jfs/jfs_imap.c:894 2 locks held by getty/4008: #0: ffff888030a7d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000325e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198 2 locks held by syz-executor/4251: #0: ffff888024c860e0 (&type->s_umount_key#68){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:362 #1: ffffffff8d722348 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xae/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/4255: #0: ffff888066d920e0 (&type->s_umount_key#68){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:362 #1: ffffffff8d722348 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xae/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/4256: #0: ffff888052a9a0e0 (&type->s_umount_key#68){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:362 #1: ffffffff8d722348 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xae/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/4258: #0: ffff888076db60e0 (&type->s_umount_key#68){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:362 #1: ffffffff8d722348 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xae/0x530 fs/jfs/jfs_logmgr.c:1444 1 lock held by kworker/u4:5/4298: 3 locks held by kworker/1:16/4447: #0: ffff8880b8f3a9d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 #1: ffff8880b8f27788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x419/0x790 kernel/sched/psi.c:999 #2: ffff888076538240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2cd/0x4120 drivers/net/netdevsim/fib.c:1491 3 locks held by kworker/1:18/4654: #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90005e0fd20 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8d3306b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #2: ffffffff8d3306b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x930 kernel/rcu/tree_exp.h:962 1 lock held by syz-executor/5496: #0: ffff8880794980e0 (&type->s_umount_key#68){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:362 4 locks held by syz-executor/6131: #0: ffff88805d682460 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff888054afeb40 (&type->i_mutex_dir_key#13/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff888054afeb40 (&type->i_mutex_dir_key#13/1){+.+.}-{3:3}, at: do_unlinkat+0x266/0x820 fs/namei.c:4373 #2: ffff888054af8ec0 (&sb->s_type->i_mutex_key#30){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff888054af8ec0 (&sb->s_type->i_mutex_key#30){+.+.}-{3:3}, at: vfs_unlink+0xe0/0x5f0 fs/namei.c:4311 #3: ffff888054af8a78 (&jfs_ip->rdwrlock#2){+.+.}-{3:3}, at: jfs_unlink+0x1e3/0xad0 fs/jfs/namei.c:488 5 locks held by kworker/u4:10/6613: #0: ffff888017e16938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000e34fd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e4ff510 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xbf0 net/core/net_namespace.c:583 #3: ffff88804f3713e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_destruct+0x10c/0x2f0 drivers/net/wireguard/device.c:249 #4: ffffffff8d3306b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #4: ffffffff8d3306b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962 2 locks held by syz-executor/7848: #0: ffff888039a050b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:507 [inline] #0: ffff888039a050b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1ff/0x500 net/bluetooth/hci_core.c:2706 #1: ffff888039a04078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x48d/0xfc0 net/bluetooth/hci_sync.c:5165 2 locks held by syz-executor/8089: #0: ffff8880771d50b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:507 [inline] #0: ffff8880771d50b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1ff/0x500 net/bluetooth/hci_core.c:2706 #1: ffff8880771d4078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x48d/0xfc0 net/bluetooth/hci_sync.c:5165 2 locks held by syz.3.896/8123: #0: ffff888027c0d0b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:507 [inline] #0: ffff888027c0d0b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1ff/0x500 net/bluetooth/hci_core.c:2706 #1: ffff888027c0c078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x48d/0xfc0 net/bluetooth/hci_sync.c:5165 2 locks held by syz.1.897/8121: #0: ffff88807c7b10b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:507 [inline] #0: ffff88807c7b10b8 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1ff/0x500 net/bluetooth/hci_core.c:2706 #1: ffff88807c7b0078 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_close_sync+0x48d/0xfc0 net/bluetooth/hci_sync.c:5165 1 lock held by dhcpcd-run-hook/8151: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.126-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ae/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4298 Comm: kworker/u4:5 Not tainted 6.1.126-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:get_running_cputimer include/linux/sched/cputime.h:88 [inline] RIP: 0010:account_group_exec_runtime include/linux/sched/cputime.h:173 [inline] RIP: 0010:update_curr+0x5c7/0xaf0 kernel/sched/fair.c:916 Code: 48 8b 2b 48 8d 9d 98 01 00 00 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 0f 85 2e 01 00 00 83 3b 00 <0f> 84 e8 fd ff ff 48 8b 1c 24 48 81 c3 98 08 00 00 48 89 d8 48 c1 RSP: 0018:ffffc900047bf8b0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff888025abc518 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffffffff8b0c14c0 RDI: ffffffff8b5e67c0 RBP: ffff888025abc380 R08: dffffc0000000000 R09: fffffbfff1d36196 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802ce90080 R13: 1ffff110171c7555 R14: 00000015e9198299 R15: ffff8880b8e3aaa8 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564fbfc8a950 CR3: 000000000d08e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: enqueue_entity+0xb3/0x1770 kernel/sched/fair.c:4750 enqueue_task_fair+0x228/0xb80 kernel/sched/fair.c:6118 enqueue_task+0x181/0x3a0 kernel/sched/core.c:2056 activate_task kernel/sched/core.c:2084 [inline] ttwu_do_activate+0x1b4/0x370 kernel/sched/core.c:3696 ttwu_queue kernel/sched/core.c:3901 [inline] try_to_wake_up+0x76b/0x12e0 kernel/sched/core.c:4224 wake_up_worker kernel/workqueue.c:859 [inline] process_one_work+0x6c3/0x11d0 kernel/workqueue.c:2255 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295