INFO: task syz-executor.4:16537 blocked for more than 143 seconds. Not tainted 6.3.0-rc1-syzkaller-gfe15c26ee26e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:0 pid:16537 ppid:5984 flags:0x00000009 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5304 [inline] __schedule+0x1130/0x1fd0 kernel/sched/core.c:6622 schedule+0xc4/0x170 kernel/sched/core.c:6698 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6757 rwsem_down_read_slowpath+0x534/0x858 kernel/locking/rwsem.c:1086 __down_read_common+0x68/0x2d8 kernel/locking/rwsem.c:1250 __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x68/0x78 kernel/locking/rwsem.c:1522 mmap_read_lock include/linux/mmap_lock.h:117 [inline] exit_mm+0x6c/0x214 kernel/exit.c:539 do_exit+0x47c/0x1a30 kernel/exit.c:856 do_group_exit+0x194/0x22c kernel/exit.c:1019 get_signal+0x14b0/0x159c kernel/signal.c:2859 do_signal arch/arm64/kernel/signal.c:1246 [inline] do_notify_resume+0x3cc/0x3c90 arch/arm64/kernel/signal.c:1299 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 INFO: task syz-executor.4:16540 blocked for more than 143 seconds. Not tainted 6.3.0-rc1-syzkaller-gfe15c26ee26e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:0 pid:16540 ppid:5984 flags:0x00000009 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5304 [inline] __schedule+0x1130/0x1fd0 kernel/sched/core.c:6622 schedule+0xc4/0x170 kernel/sched/core.c:6698 io_schedule+0x8c/0x120 kernel/sched/core.c:8884 folio_wait_bit_common+0x65c/0xb90 mm/filemap.c:1301 __folio_lock+0x2c/0x3c mm/filemap.c:1664 folio_lock include/linux/pagemap.h:952 [inline] write_cache_pages+0x434/0xfac mm/page-writeback.c:2440 mpage_writepages+0x10c/0x1d0 fs/mpage.c:653 udf_writepages+0xb4/0xdc fs/udf/inode.c:211 do_writepages+0x2e8/0x570 mm/page-writeback.c:2551 filemap_fdatawrite_wbc+0x124/0x174 mm/filemap.c:390 __filemap_fdatawrite_range mm/filemap.c:423 [inline] file_write_and_wait_range+0x1bc/0x2ac mm/filemap.c:781 __generic_file_fsync+0x7c/0x19c fs/libfs.c:1132 generic_file_fsync+0x7c/0xf8 fs/libfs.c:1173 vfs_fsync_range+0x168/0x188 fs/sync.c:188 generic_write_sync include/linux/fs.h:2452 [inline] udf_file_write_iter+0x440/0x568 fs/udf/file.c:126 call_write_iter include/linux/fs.h:1851 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x610/0x914 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: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/0x198 arch/arm64/kernel/syscall.c:193 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+0x190/0x194 arch/arm64/kernel/entry.S:591 INFO: task syz-executor.4:16548 blocked for more than 143 seconds. Not tainted 6.3.0-rc1-syzkaller-gfe15c26ee26e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:0 pid:16548 ppid:5984 flags:0x00000009 Call trace: __switch_to+0x320/0x754 arch/arm64/kernel/process.c:556 context_switch kernel/sched/core.c:5304 [inline] __schedule+0x1130/0x1fd0 kernel/sched/core.c:6622 schedule+0xc4/0x170 kernel/sched/core.c:6698 io_schedule+0x8c/0x120 kernel/sched/core.c:8884 folio_wait_bit_common+0x65c/0xb90 mm/filemap.c:1301 folio_wait_bit+0x30/0x40 mm/filemap.c:1445 folio_wait_writeback+0x9c/0x100 mm/page-writeback.c:3127 migrate_folio_unmap mm/migrate.c:1198 [inline] migrate_pages_batch mm/migrate.c:1691 [inline] migrate_pages+0x2ce0/0x5a58 mm/migrate.c:1979 do_mbind mm/mempolicy.c:1338 [inline] kernel_mbind mm/mempolicy.c:1485 [inline] __do_sys_mbind mm/mempolicy.c:1559 [inline] __se_sys_mbind mm/mempolicy.c:1555 [inline] __arm64_sys_mbind+0x7b4/0x9f4 mm/mempolicy.c:1555 __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/0x198 arch/arm64/kernel/syscall.c:193 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+0x190/0x194 arch/arm64/kernel/entry.S:591 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffff800015eb7c90 (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: ffff800015eb8490 (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: ffff800015eb7ac0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:326 2 locks held by kworker/u4:3/40: 3 locks held by kworker/u4:6/4681: #0: ffff0000c0df1938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x664/0x16f4 kernel/workqueue.c:2363 #1: ffff800023427c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x16f4 kernel/workqueue.c:2365 #2: ffff00011852e0e0 (&type->s_umount_key#49){++++}-{3:3}, at: trylock_super+0x28/0xf8 fs/super.c:414 2 locks held by getty/5626: #0: ffff0000d346b098 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80001aa202f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x414/0x1210 drivers/tty/n_tty.c:2177 2 locks held by syz-fuzzer/8096: #0: ffff0001b44bc818 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:539 [inline] #0: ffff0001b44bc818 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1366 [inline] #0: ffff0001b44bc818 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1653 [inline] #0: ffff0001b44bc818 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2cc/0x1fd0 kernel/sched/core.c:6539 #1: ffff0000c61174e0 (&mm->cid_lock#2){....}-{2:2}, at: mm_cid_get+0x17c/0x384 kernel/sched/sched.h:3280 2 locks held by kworker/u4:9/6604: #0: ffff0000c0029138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x664/0x16f4 kernel/workqueue.c:2363 #1: ffff800020337c20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x6a8/0x16f4 kernel/workqueue.c:2365 1 lock held by syz-executor.4/16537: #0: ffff0000c18637c8 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff0000c18637c8 (&mm->mmap_lock){++++}-{3:3}, at: exit_mm+0x6c/0x214 kernel/exit.c:539 2 locks held by syz-executor.4/16540: #0: ffff0000de7739e8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xd8/0x104 fs/file.c:1046 #1: ffff00011852e460 (sb_writers#12){.+.+}-{0:0}, at: vfs_write+0x244/0x914 fs/read_write.c:580 1 lock held by syz-executor.4/16548: #0: ffff0000c18637c8 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock include/linux/mmap_lock.h:71 [inline] #0: ffff0000c18637c8 (&mm->mmap_lock){++++}-{3:3}, at: do_mbind mm/mempolicy.c:1312 [inline] #0: ffff0000c18637c8 (&mm->mmap_lock){++++}-{3:3}, at: kernel_mbind mm/mempolicy.c:1485 [inline] #0: ffff0000c18637c8 (&mm->mmap_lock){++++}-{3:3}, at: __do_sys_mbind mm/mempolicy.c:1559 [inline] #0: ffff0000c18637c8 (&mm->mmap_lock){++++}-{3:3}, at: __se_sys_mbind mm/mempolicy.c:1555 [inline] #0: ffff0000c18637c8 (&mm->mmap_lock){++++}-{3:3}, at: __arm64_sys_mbind+0x5b0/0x9f4 mm/mempolicy.c:1555 2 locks held by kworker/u4:19/17271: 1 lock held by syz-executor.5/17971: #0: ffff0000c1b2eca8 (&nft_net->commit_mutex){+.+.}-{3:3}, at: nf_tables_valid_genid+0x3c/0xd4 net/netfilter/nf_tables_api.c:9557 2 locks held by syz-executor.3/17977: =============================================