INFO: task kworker/u8:2:32 blocked for more than 143 seconds. Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:2 state:D stack:14552 pid:32 tgid:32 ppid:2 flags:0x00004000 Workqueue: writeback wb_workfn (flush-7:4) Call Trace: <TASK> context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 io_schedule+0x8d/0x110 kernel/sched/core.c:9044 lmGroupCommit+0x79f/0xc10 fs/jfs/jfs_logmgr.c:713 txCommit+0x5e3a/0x6a20 fs/jfs/jfs_txnmgr.c:1304 jfs_commit_inode+0x36a/0x590 fs/jfs/inode.c:108 jfs_write_inode+0x143/0x220 fs/jfs/inode.c:132 write_inode fs/fs-writeback.c:1498 [inline] __writeback_single_inode+0x6b9/0x10b0 fs/fs-writeback.c:1715 writeback_sb_inodes+0x905/0x1260 fs/fs-writeback.c:1941 wb_writeback+0x457/0xce0 fs/fs-writeback.c:2117 wb_do_writeback fs/fs-writeback.c:2264 [inline] wb_workfn+0x410/0x1090 fs/fs-writeback.c:2304 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3348 worker_thread+0x86d/0xd70 kernel/workqueue.c:3429 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 </TASK> INFO: task jfsCommit:111 blocked for more than 144 seconds. Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jfsCommit state:D stack:26736 pid:111 tgid:111 ppid:2 flags:0x00004000 Call Trace: <TASK> context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 io_schedule+0x8d/0x110 kernel/sched/core.c:9044 __lock_metapage fs/jfs/jfs_metapage.c:50 [inline] lock_metapage+0x255/0x370 fs/jfs/jfs_metapage.c:64 __get_metapage+0x513/0x1050 fs/jfs/jfs_metapage.c:639 diIAGRead+0xcb/0x140 fs/jfs/jfs_imap.c:2669 diFree+0xa7e/0x2fb0 fs/jfs/jfs_imap.c:956 jfs_evict_inode+0x32d/0x440 fs/jfs/inode.c:156 evict+0x2a8/0x630 fs/inode.c:667 txUpdateMap+0x829/0x9f0 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:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 </TASK> INFO: task syz-executor.4:13180 blocked for more than 144 seconds. Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:20216 pid:13180 tgid:13180 ppid:1 flags:0x00004002 Call Trace: <TASK> context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 __super_lock fs/super.c:56 [inline] __super_lock_excl fs/super.c:71 [inline] deactivate_super+0xb5/0xf0 fs/super.c:504 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1267 task_work_run+0x24f/0x310 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa1b/0x27e0 kernel/exit.c:878 do_group_exit+0x207/0x2c0 kernel/exit.c:1027 __do_sys_exit_group kernel/exit.c:1038 [inline] __se_sys_exit_group kernel/exit.c:1036 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1036 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f789fc7dca9 RSP: 002b:00007ffcab6eb7b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f789fcc83de RCX: 00007f789fc7dca9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000002 R08: 00007ffcab6e9557 R09: 00007ffcab6eca70 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcab6eca70 R13: 00007f789fcc83b9 R14: 000000000008eee3 R15: 000000000000001e </TASK> INFO: task syz-executor.2:13690 blocked for more than 145 seconds. Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24784 pid:13690 tgid:13689 ppid:13262 flags:0x00024006 Call Trace: <TASK> context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 wb_wait_for_completion+0x166/0x290 fs/fs-writeback.c:217 sync_inodes_sb+0x293/0xb20 fs/fs-writeback.c:2783 iterate_supers+0xc6/0x190 fs/super.c:922 ksys_sync+0xbd/0x1c0 fs/sync.c:102 __do_sys_sync+0xe/0x20 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fec6967dca9 RSP: 002b:00007fec6a4350c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007fec697abf80 RCX: 00007fec6967dca9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fec696c947e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fec697abf80 R15: 00007ffd63b3ec28 </TASK> Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e334da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e334da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e334da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 3 locks held by kworker/u8:2/32: #0: ffff88801bafe148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3242 [inline] #0: ffff88801bafe148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3348 #1: ffffc90000a87d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3243 [inline] #1: ffffc90000a87d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3348 #2: ffff888076dfde48 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x24a/0x590 fs/jfs/inode.c:102 2 locks held by kworker/u8:3/35: #0: ffff888019f25948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3242 [inline] #0: ffff888019f25948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3348 #1: ffffc90000ab7d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3243 [inline] #1: ffffc90000ab7d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3348 2 locks held by jfsCommit/111: #0: ffff888027d38920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x37c/0x2fb0 fs/jfs/jfs_imap.c:886 #1: ffff888076dfcb38 (&jfs_ip->rdwrlock/1){.+.+}-{3:3}, at: diFree+0x398/0x2fb0 fs/jfs/jfs_imap.c:891 2 locks held by kworker/u8:10/2835: #0: ffff888019f25948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3242 [inline] #0: ffff888019f25948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3348 #1: ffffc9000a7cfd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3243 [inline] #1: ffffc9000a7cfd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3348 2 locks held by getty/4830: #0: ffff88802a98b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.4/13180: #0: ffff888067c820e0 (&type->s_umount_key#109){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888067c820e0 (&type->s_umount_key#109){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888067c820e0 (&type->s_umount_key#109){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:504 2 locks held by syz-executor.2/13690: #0: ffff888067c820e0 (&type->s_umount_key#109){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888067c820e0 (&type->s_umount_key#109){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff8880200087d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:389 [inline] #1: ffff8880200087d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xb20 fs/fs-writeback.c:2781 1 lock held by syz-executor.3/14051: #0: ffff888067c820e0 (&type->s_umount_key#109){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888067c820e0 (&type->s_umount_key#109){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz-executor.4/14738: #0: ffff888067c820e0 (&type->s_umount_key#109){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888067c820e0 (&type->s_umount_key#109){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz-executor.3/14821: #0: ffff888067c820e0 (&type->s_umount_key#109){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888067c820e0 (&type->s_umount_key#109){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 3 locks held by syz-executor.1/15172: #0: ffff88807c68c0e0 (&type->s_umount_key#90){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88807c68c0e0 (&type->s_umount_key#90){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88807c68c0e0 (&type->s_umount_key#90){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:504 #1: ffff88804a900278 (&c->state_lock){+.+.}-{3:3}, at: __bch2_fs_stop+0x109/0x550 fs/bcachefs/super.c:621 #2: ffffffff8e33a138 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #2: ffffffff8e33a138 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x463/0x820 kernel/rcu/tree_exp.h:939 1 lock held by syz-executor.4/15384: #0: ffff888067c820e0 (&type->s_umount_key#109){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888067c820e0 (&type->s_umount_key#109){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 </TASK> Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5141 Comm: kworker/0:4 Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events_power_efficient wg_ratelimiter_gc_entries RIP: 0010:preempt_count_sub+0x0/0x170 kernel/sched/core.c:5893 Code: 8c 77 ff ff ff 48 c7 c7 b0 fe a7 8f e8 29 b4 91 00 e9 66 ff ff ff 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 41 56 53 89 fb 48 c7 c0 60 66 6f 94 48 c1 e8 03 49 be RSP: 0018:ffffc9000406fb50 EFLAGS: 00000292 RAX: 0000000000000001 RBX: ffffffff8edb5ce0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffffc9000406fdc0 R08: ffffffff8edb5ce3 R09: 1ffffffff1db6b9c R10: dffffc0000000000 R11: fffffbfff1db6b9d R12: 0000000000000000 R13: dffffc0000000000 R14: 000000af6d10107f R15: ffffffff8edb5e00 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe23329ff8 CR3: 000000000e134000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <NMI> </NMI> <TASK> __raw_spin_unlock include/linux/spinlock_api_smp.h:143 [inline] _raw_spin_unlock+0x28/0x50 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:391 [inline] wg_ratelimiter_gc_entries+0x3ab/0x470 drivers/net/wireguard/ratelimiter.c:76 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0xa10/0x17c0 kernel/workqueue.c:3348 worker_thread+0x86d/0xd70 kernel/workqueue.c:3429 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 </TASK>