INFO: task kworker/u8:7:520 blocked for more than 143 seconds. Not tainted 6.13.0-rc3-syzkaller-g573067a5a685 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:7 state:D stack:0 pid:520 tgid:520 ppid:2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-7:5) Call trace: __switch_to+0x414/0x788 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1744/0x27f0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6848 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6905 __mutex_lock_common+0xeec/0x28f4 kernel/locking/mutex.c:665 __mutex_lock kernel/locking/mutex.c:735 [inline] mutex_lock_nested+0x2c/0x38 kernel/locking/mutex.c:787 jfs_commit_inode+0x1d4/0x4f8 fs/jfs/inode.c:102 jfs_write_inode+0x128/0x200 fs/jfs/inode.c:132 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x5a0/0x15a4 fs/fs-writeback.c:1745 writeback_sb_inodes+0x650/0x1088 fs/fs-writeback.c:1976 __writeback_inodes_wb+0xec/0x234 fs/fs-writeback.c:2047 wb_writeback+0x3f4/0xe9c fs/fs-writeback.c:2158 wb_check_background_flush fs/fs-writeback.c:2228 [inline] wb_do_writeback fs/fs-writeback.c:2316 [inline] wb_workfn+0xc28/0x1048 fs/fs-writeback.c:2343 process_one_work+0x7a8/0x15cc kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x97c/0xeec kernel/workqueue.c:3391 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:862 INFO: task syz.5.250:8049 blocked for more than 143 seconds. Not tainted 6.13.0-rc3-syzkaller-g573067a5a685 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.250 state:D stack:0 pid:8049 tgid:8029 ppid:6961 flags:0x00000001 Call trace: __switch_to+0x414/0x788 arch/arm64/kernel/process.c:701 (T) context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1744/0x27f0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6848 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6905 rwsem_down_write_slowpath+0xd10/0x14c8 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0xc0/0xcc kernel/locking/rwsem.c:1694 inode_lock_nested include/linux/fs.h:853 [inline] lock_rename fs/namei.c:3215 [inline] do_renameat2+0x4ec/0xe40 fs/namei.c:5159 __do_sys_renameat2 fs/namei.c:5258 [inline] __se_sys_renameat2 fs/namei.c:5255 [inline] __arm64_sys_renameat2+0xd8/0xf4 fs/namei.c:5255 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffff80008fb82560 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:336 4 locks held by kworker/u8:7/520: #0: ffff0000c20f6948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x60c/0x15cc kernel/workqueue.c:3203 #1: ffff80009c9d7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a4/0x15cc kernel/workqueue.c:3203 #2: ffff0000f06e40e0 (&type->s_umount_key#63){++++}-{4:4}, at: super_trylock_shared+0x28/0xe4 fs/super.c:562 #3: ffff0000f22a26a8 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1d4/0x4f8 fs/jfs/inode.c:102 1 lock held by klogd/6025: 2 locks held by getty/6178: #0: ffff0000d2f2a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009ba2b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 4 locks held by syz.5.250/8030: 2 locks held by syz.5.250/8049: #0: ffff0000f06e4420 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:515 #1: ffff0000f22a2a58 (&type->i_mutex_dir_key#11/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:853 [inline] #1: ffff0000f22a2a58 (&type->i_mutex_dir_key#11/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3215 [inline] #1: ffff0000f22a2a58 (&type->i_mutex_dir_key#11/1){+.+.}-{4:4}, at: do_renameat2+0x4ec/0xe40 fs/namei.c:5159 =============================================