INFO: task kworker/0:6:6213 blocked for more than 143 seconds. Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:6 state:D stack:0 pid:6213 tgid:6213 ppid:2 flags:0x00000008 Workqueue: events_long flush_old_commits Call trace: __switch_to+0x314/0x560 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1354/0x2360 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xb8/0x19c kernel/sched/core.c:6778 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6835 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x2c/0x38 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+0x694/0x1204 kernel/workqueue.c:2627 process_scheduled_works kernel/workqueue.c:2700 [inline] worker_thread+0x938/0xef4 kernel/workqueue.c:2781 kthread+0x288/0x310 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:857 INFO: task kworker/u4:9:6628 blocked for more than 143 seconds. Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:9 state:D stack:0 pid:6628 tgid:6628 ppid:2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-7:2) Call trace: __switch_to+0x314/0x560 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1354/0x2360 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xb8/0x19c kernel/sched/core.c:6778 io_schedule+0x8c/0x12c kernel/sched/core.c:8998 folio_wait_bit_common+0x65c/0xb90 mm/filemap.c:1273 __folio_lock+0x2c/0x3c mm/filemap.c:1611 folio_lock include/linux/pagemap.h:1031 [inline] write_cache_pages+0x42c/0xd98 mm/page-writeback.c:2441 do_writepages+0x340/0x570 mm/page-writeback.c:2558 __writeback_single_inode+0x148/0x146c fs/fs-writeback.c:1625 writeback_sb_inodes+0x718/0x1010 fs/fs-writeback.c:1916 __writeback_inodes_wb+0xec/0x234 fs/fs-writeback.c:1987 wb_writeback+0x408/0xfc0 fs/fs-writeback.c:2094 wb_check_background_flush fs/fs-writeback.c:2164 [inline] wb_do_writeback fs/fs-writeback.c:2252 [inline] wb_workfn+0xc00/0xf9c fs/fs-writeback.c:2279 process_one_work+0x694/0x1204 kernel/workqueue.c:2627 process_scheduled_works kernel/workqueue.c:2700 [inline] worker_thread+0x938/0xef4 kernel/workqueue.c:2781 kthread+0x288/0x310 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:857 INFO: task syz-executor.2:7595 blocked for more than 143 seconds. Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:0 pid:7595 tgid:7594 ppid:6158 flags:0x0000000d Call trace: __switch_to+0x314/0x560 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1354/0x2360 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xb8/0x19c kernel/sched/core.c:6778 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6835 __mutex_lock_common+0xbd8/0x21a0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:799 reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 map_block_for_writepage fs/reiserfs/inode.c:2380 [inline] reiserfs_write_full_folio fs/reiserfs/inode.c:2576 [inline] reiserfs_writepage+0xab4/0x2cc8 fs/reiserfs/inode.c:2729 writepage_cb+0x70/0x18c mm/page-writeback.c:2537 write_cache_pages+0x670/0xd98 mm/page-writeback.c:2474 do_writepages+0x340/0x570 mm/page-writeback.c:2558 filemap_fdatawrite_wbc+0x124/0x174 mm/filemap.c:387 __filemap_fdatawrite_range mm/filemap.c:420 [inline] file_write_and_wait_range+0x1bc/0x2ac mm/filemap.c:778 reiserfs_sync_file+0x78/0x254 fs/reiserfs/file.c:151 vfs_fsync_range+0x168/0x188 fs/sync.c:188 generic_write_sync include/linux/fs.h:2653 [inline] generic_file_write_iter+0x228/0x2b4 mm/filemap.c:4052 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x610/0x910 fs/read_write.c:584 ksys_write+0x15c/0x26c fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __arm64_sys_write+0x7c/0x90 fs/read_write.c:646 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 INFO: task syz-executor.2:7629 blocked for more than 143 seconds. Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:0 pid:7629 tgid:7594 ppid:6158 flags:0x0000000d Call trace: __switch_to+0x314/0x560 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5376 [inline] __schedule+0x1354/0x2360 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xb8/0x19c kernel/sched/core.c:6778 io_schedule+0x8c/0x12c kernel/sched/core.c:8998 folio_wait_bit_common+0x65c/0xb90 mm/filemap.c:1273 __folio_lock mm/filemap.c:1611 [inline] folio_lock include/linux/pagemap.h:1031 [inline] __filemap_get_folio+0x1e4/0xa60 mm/filemap.c:1864 pagecache_get_page+0x3c/0x128 mm/folio-compat.c:99 find_or_create_page include/linux/pagemap.h:740 [inline] grab_cache_page include/linux/pagemap.h:856 [inline] convert_tail_for_hole fs/reiserfs/inode.c:592 [inline] reiserfs_get_block+0x2e68/0x45d8 fs/reiserfs/inode.c:921 __block_write_begin_int+0x3f0/0x1504 fs/buffer.c:2119 __block_write_begin+0x7c/0xa0 fs/buffer.c:2168 reiserfs_write_begin+0x328/0x71c fs/reiserfs/inode.c:2767 generic_cont_expand_simple+0x160/0x258 fs/buffer.c:2473 reiserfs_setattr+0x498/0xedc fs/reiserfs/inode.c:3298 notify_change+0x9d4/0xc8c fs/attr.c:499 do_truncate+0x1c0/0x28c fs/open.c:66 do_sys_ftruncate+0x284/0x318 fs/open.c:194 __do_sys_ftruncate fs/open.c:205 [inline] __se_sys_ftruncate fs/open.c:203 [inline] __arm64_sys_ftruncate+0x60/0x74 fs/open.c:203 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffff80008e6c48c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:300 1 lock held by udevd/5711: 2 locks held by getty/5853: #0: ffff0000d235e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800094e402f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.1/6159: 4 locks held by kworker/0:6/6213: #0: ffff0000c0021538 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x560/0x1204 kernel/workqueue.c:2600 #1: ffff8000979b7c20 ((work_completion)(&(&sbi->old_work)->work)){+.+.}-{0:0}, at: process_one_work+0x5a0/0x1204 kernel/workqueue.c:2602 #2: ffff0000cfa2a0e0 (&type->s_umount_key#25){++++}-{3:3}, at: flush_old_commits+0xcc/0x2b8 fs/reiserfs/super.c:97 #3: ffff000128ba9090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 3 locks held by kworker/u4:9/6628: #0: ffff0000c1f44938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x560/0x1204 kernel/workqueue.c:2600 #1: ffff80009c6d7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x5a0/0x1204 kernel/workqueue.c:2602 #2: ffff0000cfa2a0e0 (&type->s_umount_key#25){++++}-{3:3}, at: super_trylock_shared+0x28/0xe4 fs/super.c:610 3 locks held by syz-executor.2/7595: #0: ffff0000c5ab1748 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x11c/0x148 fs/file.c:1177 #1: ffff0000cfa2a418 (sb_writers#20){.+.+}-{0:0}, at: vfs_write+0x240/0x910 fs/read_write.c:580 #2: ffff000128ba9090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock+0x7c/0xe8 fs/reiserfs/lock.c:27 3 locks held by syz-executor.2/7629: #0: ffff0000cfa2a418 (sb_writers#20){.+.+}-{0:0}, at: do_sys_ftruncate+0x210/0x318 fs/open.c:191 #1: ffff00012eff1020 (&sb->s_type->i_mutex_key#27){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff00012eff1020 (&sb->s_type->i_mutex_key#27){+.+.}-{3:3}, at: do_truncate+0x1ac/0x28c fs/open.c:64 #2: ffff000128ba9090 (&sbi->lock){+.+.}-{3:3}, at: reiserfs_write_lock_nested+0x68/0xd8 fs/reiserfs/lock.c:78 2 locks held by syz-executor.2/9958: #0: ffff0000cfa2a0e0 (&type->s_umount_key#25){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000cfa2a0e0 (&type->s_umount_key#25){++++}-{3:3}, at: super_lock+0x160/0x328 fs/super.c:117 #1: ffff0000c9d727d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff0000c9d727d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2756 3 locks held by syz-executor.2/10027: 3 locks held by syz-executor.1/10481: #0: ffff00012d6e6418 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 fs/namespace.c:448 #1: ffff00012d6e6418 (sb_writers#19){.+.+}-{0:0}, at: vfs_write+0x240/0x910 fs/read_write.c:580 #2: ffff0001b4152e48 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_change+0x100/0x234 kernel/sched/psi.c:912 5 locks held by syz-executor.3/10493: =============================================