INFO: task kworker/u4:3:285 blocked for more than 143 seconds. Not tainted 5.15.167-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:3 state:D stack: 0 pid: 285 ppid: 2 flags:0x00000008 Workqueue: writeback wb_workfn (flush-7:2) Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5027 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6373 schedule+0x11c/0x1c8 kernel/sched/core.c:6456 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6515 __mutex_lock_common+0xba0/0x2154 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0xa4/0xf8 kernel/locking/mutex.c:743 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:1495 [inline] __writeback_single_inode+0x584/0x13a4 fs/fs-writeback.c:1705 writeback_sb_inodes+0x94c/0x1654 fs/fs-writeback.c:1930 __writeback_inodes_wb+0x110/0x39c fs/fs-writeback.c:2001 wb_writeback+0x410/0xfc8 fs/fs-writeback.c:2106 wb_check_background_flush fs/fs-writeback.c:2172 [inline] wb_do_writeback fs/fs-writeback.c:2260 [inline] wb_workfn+0xc44/0x1070 fs/fs-writeback.c:2288 process_one_work+0x790/0x11b8 kernel/workqueue.c:2310 worker_thread+0x910/0x1034 kernel/workqueue.c:2457 kthread+0x37c/0x45c kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 INFO: task syz.2.8:4123 blocked for more than 143 seconds. Not tainted 5.15.167-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.8 state:D stack: 0 pid: 4123 ppid: 4028 flags:0x00000009 Call trace: __switch_to+0x308/0x5e8 arch/arm64/kernel/process.c:518 context_switch kernel/sched/core.c:5027 [inline] __schedule+0xf10/0x1e48 kernel/sched/core.c:6373 schedule+0x11c/0x1c8 kernel/sched/core.c:6456 io_schedule+0x8c/0x194 kernel/sched/core.c:8481 wait_on_page_bit_common+0x6fc/0xc14 mm/filemap.c:1356 __lock_page+0x8c/0xa8 mm/filemap.c:1648 lock_page include/linux/pagemap.h:625 [inline] release_metapage+0x144/0x918 fs/jfs/jfs_metapage.c:736 discard_metapage fs/jfs/jfs_metapage.h:88 [inline] __get_metapage+0xb38/0x1128 fs/jfs/jfs_metapage.c:645 dtSplitPage+0x70c/0x309c fs/jfs/jfs_dtree.c:1468 dtSplitUp fs/jfs/jfs_dtree.c:1089 [inline] dtInsert+0x104c/0x5534 fs/jfs/jfs_dtree.c:868 jfs_create+0x698/0xa1c fs/jfs/namei.c:137 lookup_open fs/namei.c:3462 [inline] open_last_lookups fs/namei.c:3532 [inline] path_openat+0xf18/0x26cc fs/namei.c:3739 do_filp_open+0x1a8/0x3b4 fs/namei.c:3769 do_sys_openat2+0x128/0x3e0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1280 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffff800014c917e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:311 4 locks held by kworker/u4:3/285: #0: ffff0000c21d8138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff80001fae7c00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000c125a0e0 (&type->s_umount_key#58){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:418 #3: ffff0000e58db008 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1d4/0x4f8 fs/jfs/inode.c:102 4 locks held by kworker/u4:4/369: #0: ffff0000c21d8138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800020047c00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000ce4060e0 (&type->s_umount_key#58){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:418 #3: ffff0000f5483948 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1d4/0x4f8 fs/jfs/inode.c:102 2 locks held by getty/3775: #0: ffff0000d4acb098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x40/0x50 drivers/tty/tty_ldsem.c:340 #1: ffff80001d62b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1204 drivers/tty/n_tty.c:2158 2 locks held by kworker/u4:7/4103: 4 locks held by syz.2.8/4123: #0: ffff0000c125a460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e58db3c0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e58db3c0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000e58db3c0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: path_openat+0x640/0x26cc fs/namei.c:3739 #2: ffff0000e58db008 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_create+0x1e8/0xa1c fs/jfs/namei.c:100 #3: ffff0000e58dd508 (&jfs_ip->commit_mutex/1){+.+.}-{3:3}, at: jfs_create+0x1fc/0xa1c fs/jfs/namei.c:101 4 locks held by kworker/u4:8/4157: #0: ffff0000c21d8138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff8000205e7c00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000dc6980e0 (&type->s_umount_key#58){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:418 #3: ffff0000e5b40b08 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1d4/0x4f8 fs/jfs/inode.c:102 4 locks held by kworker/u4:9/4187: #0: ffff0000c21d8138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800020807c00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff0000c5ddc0e0 (&type->s_umount_key#58){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:418 #3: ffff0000e5bc81c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_commit_inode+0x1d4/0x4f8 fs/jfs/inode.c:102 3 locks held by kworker/0:8/4194: 3 locks held by kworker/u4:12/4236: #0: ffff0000c03f4138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283 #1: ffff800020707c00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285 #2: ffff800014c95cf0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x54/0x4b0 kernel/rcu/tree.c:4039 2 locks held by kworker/u4:13/4264: 4 locks held by syz.0.47/4314: #0: ffff0000c5ddc460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e5bc8580 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e5bc8580 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000e5bc8580 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: path_openat+0x640/0x26cc fs/namei.c:3739 #2: ffff0000e5bc81c8 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_create+0x1e8/0xa1c fs/jfs/namei.c:100 #3: ffff0000e58de788 (&jfs_ip->commit_mutex/1){+.+.}-{3:3}, at: jfs_create+0x1fc/0xa1c fs/jfs/namei.c:101 4 locks held by syz.3.109/4602: #0: ffff0000dc698460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e5b40ec0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e5b40ec0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000e5b40ec0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: path_openat+0x640/0x26cc fs/namei.c:3739 #2: ffff0000e5b40b08 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_create+0x1e8/0xa1c fs/jfs/namei.c:100 #3: ffff0000e5b43948 (&jfs_ip->commit_mutex/1){+.+.}-{3:3}, at: jfs_create+0x1fc/0xa1c fs/jfs/namei.c:101 1 lock held by syz.2.213/5157: #0: ffff0000c125a0e0 (&type->s_umount_key#58){++++}-{3:3}, at: user_get_super+0xd8/0x240 fs/super.c:846 4 locks held by syz.4.370/5766: 4 locks held by syz.1.491/6326: #0: ffff0000ee518460 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:377 #1: ffff0000e03133c0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:789 [inline] #1: ffff0000e03133c0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: open_last_lookups fs/namei.c:3529 [inline] #1: ffff0000e03133c0 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: path_openat+0x640/0x26cc fs/namei.c:3739 #2: ffff0000e0313008 (&jfs_ip->commit_mutex){+.+.}-{3:3}, at: jfs_create+0x1e8/0xa1c fs/jfs/namei.c:100 #3: ffff0000e03170c8 (&jfs_ip->commit_mutex/1){+.+.}-{3:3}, at: jfs_create+0x1fc/0xa1c fs/jfs/namei.c:101 1 lock held by syz.4.550/6583: 2 locks held by syz.3.555/6601: =============================================