INFO: task syz-executor.5:19360 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.5 state:D stack:0 pid:19360 tgid:19358 ppid:6132 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 rwsem_down_read_slowpath+0x57c/0xe58 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0xa0/0x2fc kernel/locking/rwsem.c:1528 nilfs_transaction_begin+0x388/0x748 fs/nilfs2/segment.c:223 nilfs_write_begin+0x78/0x114 fs/nilfs2/inode.c:256 generic_perform_write+0x28c/0x588 mm/filemap.c:3927 __generic_file_write_iter+0xfc/0x204 mm/filemap.c:4022 generic_file_write_iter+0xb8/0x2b4 mm/filemap.c:4048 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.5:19377 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.5 state:D stack:0 pid:19377 tgid:19358 ppid:6132 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_wait_bit+0x30/0x40 mm/filemap.c:1412 folio_wait_writeback+0x14c/0x3bc mm/page-writeback.c:3065 migrate_folio_unmap mm/migrate.c:1191 [inline] migrate_pages_batch+0xc1c/0x25b0 mm/migrate.c:1680 migrate_pages_sync mm/migrate.c:1873 [inline] migrate_pages+0x1bf8/0x3114 mm/migrate.c:1955 do_mbind mm/mempolicy.c:1344 [inline] kernel_mbind mm/mempolicy.c:1486 [inline] __do_sys_mbind mm/mempolicy.c:1560 [inline] __se_sys_mbind mm/mempolicy.c:1556 [inline] __arm64_sys_mbind+0x1410/0x18e8 mm/mempolicy.c:1556 __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:19370 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:19370 tgid:19369 ppid:6150 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 wb_wait_for_completion+0x154/0x29c fs/fs-writeback.c:192 sync_inodes_sb+0x220/0x944 fs/fs-writeback.c:2758 sync_inodes_one_sb+0x58/0x70 fs/sync.c:77 iterate_supers+0xd4/0x188 fs/super.c:971 ksys_sync+0xb4/0x1cc fs/sync.c:102 __arm64_sys_sync+0x14/0x24 fs/sync.c:113 __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 segctord:19371 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:segctord state:D stack:0 pid:19371 tgid:19371 ppid:2 flags:0x00000008 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] nilfs_lookup_dirty_data_buffers+0x2b0/0x7e8 fs/nilfs2/segment.c:727 nilfs_segctor_scan_file+0x1e4/0xcdc fs/nilfs2/segment.c:1084 nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1206 [inline] nilfs_segctor_collect fs/nilfs2/segment.c:1533 [inline] nilfs_segctor_do_construct+0x16ec/0x6560 fs/nilfs2/segment.c:2081 nilfs_segctor_construct+0x110/0x768 fs/nilfs2/segment.c:2415 nilfs_segctor_thread_construct fs/nilfs2/segment.c:2523 [inline] nilfs_segctor_thread+0x3d4/0xd74 fs/nilfs2/segment.c:2606 kthread+0x288/0x310 kernel/kthread.c:388 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:857 Showing all locks held in the system: 3 locks held by kworker/0:0/8: #0: ffff0000c0020d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x560/0x1204 kernel/workqueue.c:2600 #1: ffff800092f77c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x5a0/0x1204 kernel/workqueue.c:2602 #2: ffff0000cb596240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x270/0x32bc drivers/net/netdevsim/fib.c:1489 1 lock held by khungtaskd/29: #0: ffff80008e6c48c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:300 3 locks held by kworker/u4:2/40: 3 locks held by kworker/u5:0/50: #0: ffff0000c8c10d38 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work+0x560/0x1204 kernel/workqueue.c:2600 #1: ffff800094487c20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x5a0/0x1204 kernel/workqueue.c:2602 #2: ffff000131c1d108 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x194/0x34c net/bluetooth/hci_sync.c:305 2 locks held by kworker/u4:10/2045: #0: ffff0000c0021938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x560/0x1204 kernel/workqueue.c:2600 #1: ffff80009c457c20 ((work_completion)(&(&kfence_timer)->work)){+.+.}-{0:0}, at: process_one_work+0x5a0/0x1204 kernel/workqueue.c:2602 1 lock held by klogd/5704: #0: ffff0001b4144d98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:558 [inline] #0: ffff0001b4144d98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1349 [inline] #0: ffff0001b4144d98 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1663 [inline] #0: ffff0001b4144d98 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2dc/0x2360 kernel/sched/core.c:6604 2 locks held by getty/5859: #0: ffff0000d72fa0a0 (&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 3 locks held by kworker/u5:5/6142: #0: ffff0000ccf1cd38 ((wq_completion)hci7){+.+.}-{0:0}, at: process_one_work+0x560/0x1204 kernel/workqueue.c:2600 #1: ffff800097077c20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x5a0/0x1204 kernel/workqueue.c:2602 #2: ffff0001290cd108 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x194/0x34c net/bluetooth/hci_sync.c:305 2 locks held by kworker/u4:6/12436: #0: ffff0000c1c3a138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x560/0x1204 kernel/workqueue.c:2600 #1: ffff80009b127c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x5a0/0x1204 kernel/workqueue.c:2602 5 locks held by syz-executor.5/19360: #0: ffff0000cd26e348 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x11c/0x148 fs/file.c:1177 #1: ffff0000dba3a418 (sb_writers#13){.+.+}-{0:0}, at: vfs_write+0x240/0x910 fs/read_write.c:580 #2: ffff0000d9fdef90 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #2: ffff0000d9fdef90 (&sb->s_type->i_mutex_key#20){+.+.}-{3:3}, at: generic_file_write_iter+0x88/0x2b4 mm/filemap.c:4045 #3: ffff0000dba3a608 (sb_internal#2){.+.+}-{0:0}, at: nilfs_write_begin+0x78/0x114 fs/nilfs2/inode.c:256 #4: ffff0000dc6882a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_begin+0x388/0x748 fs/nilfs2/segment.c:223 2 locks held by syz-executor.2/19370: #0: ffff0000dba3a0e0 (&type->s_umount_key#54){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000dba3a0e0 (&type->s_umount_key#54){++++}-{3:3}, at: super_lock+0x160/0x328 fs/super.c:117 #1: ffff0000ca0a67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff0000ca0a67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2756 1 lock held by segctord/19371: #0: ffff0000dc6882a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_transaction_lock+0x178/0x33c fs/nilfs2/segment.c:357 2 locks held by syz-executor.2/19896: #0: ffff0000dba3a0e0 (&type->s_umount_key#54){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000dba3a0e0 (&type->s_umount_key#54){++++}-{3:3}, at: super_lock+0x160/0x328 fs/super.c:117 #1: ffff0000ca0a67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2756 2 locks held by syz-executor.2/20374: #0: ffff0000dba3a0e0 (&type->s_umount_key#54){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000dba3a0e0 (&type->s_umount_key#54){++++}-{3:3}, at: super_lock+0x160/0x328 fs/super.c:117 #1: ffff0000ca0a67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff0000ca0a67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2756 2 locks held by syz-executor.2/20928: #0: ffff0000dba3a0e0 (&type->s_umount_key#54){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000dba3a0e0 (&type->s_umount_key#54){++++}-{3:3}, at: super_lock+0x160/0x328 fs/super.c:117 #1: ffff0000ca0a67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff0000ca0a67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2756 2 locks held by syz-executor.2/21517: #0: ffff0000dba3a0e0 (&type->s_umount_key#54){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000dba3a0e0 (&type->s_umount_key#54){++++}-{3:3}, at: super_lock+0x160/0x328 fs/super.c:117 #1: ffff0000ca0a67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] #1: ffff0000ca0a67d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2756 =============================================