INFO: task kworker/1:4:4404 blocked for more than 143 seconds. Not tainted 6.1.25-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:4 state:D stack:0 pid:4404 ppid:2 flags:0x00000008 Workqueue: events_long flush_old_commits Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5241 [inline] __schedule+0xee4/0x1c98 kernel/sched/core.c:6554 schedule+0xc4/0x170 kernel/sched/core.c:6630 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6689 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 reiserfs_sync_fs fs/reiserfs/super.c:76 [inline] flush_old_commits+0x1b0/0x2b8 fs/reiserfs/super.c:111 process_one_work+0x7ac/0x1404 kernel/workqueue.c:2289 worker_thread+0x8e4/0xfec kernel/workqueue.c:2436 kthread+0x24c/0x2d4 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 INFO: task syz-executor.1:14027 blocked for more than 143 seconds. Not tainted 6.1.25-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:0 pid:14027 ppid:4336 flags:0x00000001 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5241 [inline] __schedule+0xee4/0x1c98 kernel/sched/core.c:6554 schedule+0xc4/0x170 kernel/sched/core.c:6630 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6689 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x38/0x44 kernel/locking/mutex.c:799 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 reiserfs_sync_file+0x108/0x254 fs/reiserfs/file.c:158 vfs_fsync_range fs/sync.c:188 [inline] vfs_fsync fs/sync.c:202 [inline] do_fsync fs/sync.c:212 [inline] __do_sys_fdatasync fs/sync.c:225 [inline] __se_sys_fdatasync fs/sync.c:223 [inline] __arm64_sys_fdatasync+0xac/0x104 fs/sync.c:223 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015754930 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffff800015755130 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x44/0xcf4 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffff800015754760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:305 2 locks held by getty/3987: #0: ffff0000d3f57098 (&tty->ldisc_sem){++++}-{0:0} , at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001ca102f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1210 drivers/tty/n_tty.c:2177 4 locks held by kworker/1:4/4404: #0: ffff0000c0021538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x664/0x1404 kernel/workqueue.c:2262 #1: ffff80001e177c20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x1404 kernel/workqueue.c:2264 #2: ffff0000d238e0e0 (&type->s_umount_key#68){++++}-{3:3}, at: flush_old_commits+0xcc/0x2b8 fs/reiserfs/super.c:97 #3: ffff000124983090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 2 locks held by kworker/u4:20/9426: 2 locks held by syz-executor.1/14027: #0: ffff0000dfeab140 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #0: ffff0000dfeab140 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: reiserfs_sync_file+0xa0/0x254 fs/reiserfs/file.c:155 #1: ffff000124983090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 5 locks held by syz-executor.1/14065: 2 locks held by syz-executor.1/15620: #0: ffff0000d238e0e0 (&type->s_umount_key#68){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:744 #1: ffff000124983090 (&sbi->lock){+.+.}-{3:3} , at: reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 2 locks held by syz-executor.1/15621: #0: ffff0000d238e0e0 (&type->s_umount_key#68){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:744 #1: ffff000124983090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 2 locks held by syz-executor.3/15719: #0: ffff0000d238e0e0 (&type->s_umount_key#68){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:744 #1: ffff000124983090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 2 locks held by syz-executor.3/15723: #0: ffff0000d238e0e0 (&type->s_umount_key#68){++++}-{3:3}, at: iterate_supers+0xb0/0x1dc fs/super.c:744 #1: ffff000124983090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 =============================================