INFO: task jfsCommit:134 blocked for more than 143 seconds. Not tainted 6.1.112-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack:26744 pid:134 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:701 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: ffffffff8d32b1d0 (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: ffffffff8d32b9d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/27: #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494 2 locks held by jfsCommit/134: #0: ffff888052330920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x378/0x2fb0 fs/jfs/jfs_imap.c:889 #1: ffff888058f42638 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diFree+0x394/0x2fb0 fs/jfs/jfs_imap.c:894 2 locks held by getty/3400: #0: ffff88814b9bd098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198 4 locks held by udevd/3722: #0: ffff88804fb10b08 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xae/0xd10 fs/seq_file.c:182 #1: ffff88805b6f6c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4f/0x3a0 fs/kernfs/file.c:154 #2: ffff888060860660 (kn->active#28){.+.+}-{0:0}, at: kernfs_seq_start+0x6e/0x3a0 fs/kernfs/file.c:155 #3: ffff888075a96190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:842 [inline] #3: ffff888075a96190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x22/0x90 drivers/usb/core/sysfs.c:141 6 locks held by kworker/0:15/3926: #0: ffff88801d2f0d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90005137d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff888144fff190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #2: ffff888144fff190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5730 drivers/usb/core/hub.c:5801 #3: ffff888075a96190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #3: ffff888075a96190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:990 #4: ffff888057d5c118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff888057d5c118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:990 #5: ffff8880240f4638 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #5: ffff8880240f4638 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:990 2 locks held by kworker/1:9/5045: #0: ffff888017c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000309fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 1 lock held by syz.4.897/8821: #0: ffffffff8d3304c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x5f0 kernel/rcu/tree.c:4019 1 lock held by syz.0.911/8837: #0: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x930 kernel/rcu/tree_exp.h:962 1 lock held by syz.1.905/8850: #0: ffffffff8d3304c0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x5f0 kernel/rcu/tree.c:4019 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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: 7640 Comm: syz-executor Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:check_wait_context kernel/locking/lockdep.c:4724 [inline] RIP: 0010:__lock_acquire+0x571/0x1f80 kernel/locking/lockdep.c:4999 Code: a3 77 00 48 0f a3 1d fe 42 b3 0f 73 1f 48 8d 04 5b 48 c1 e0 06 48 8d 98 20 51 bb 90 48 ba 00 00 00 00 00 fc ff df 48 8b 34 24 34 48 c7 c0 60 41 33 97 48 c1 e8 03 48 ba 00 00 00 00 00 fc ff RSP: 0018:ffffc900037df6e0 EFLAGS: 00000006 RAX: 0000000000007800 RBX: ffffffff90bbc920 RCX: ffffffff816a8f1a RDX: dffffc0000000000 RSI: ffff88805162e420 RDI: ffffffff911dd230 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff223ba47 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88805162e418 R13: ffff88805162d940 R14: ffff88805162e468 R15: 1ffff1100a2c5c8d FS: 0000555566315500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c291ac9 CR3: 0000000025425000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662 do_write_seqcount_begin_nested include/linux/seqlock.h:515 [inline] do_write_seqcount_begin include/linux/seqlock.h:541 [inline] psi_group_change+0x1ca/0x1410 kernel/sched/psi.c:800 psi_task_switch+0x43d/0x770 kernel/sched/psi.c:1001 psi_sched_switch kernel/sched/stats.h:203 [inline] __schedule+0x2068/0x4570 kernel/sched/core.c:6553 schedule+0xbf/0x180 kernel/sched/core.c:6634 do_nanosleep+0x192/0x5f0 kernel/time/hrtimer.c:2048 hrtimer_nanosleep+0x24d/0x490 kernel/time/hrtimer.c:2101 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1313 [inline] __se_sys_clock_nanosleep+0x323/0x3b0 kernel/time/posix-timers.c:1290 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f42a5db00e5 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 c6 57 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 1f 58 ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007ffc4427cb90 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 00000000000000b9 RCX: 00007f42a5db00e5 RDX: 00007ffc4427cbd0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007ffc4427cc2c R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032 R13: 000000000006858b R14: 0000000000067c23 R15: 00007ffc4427cc80