INFO: task syz.1.109:7177 blocked for more than 143 seconds. Not tainted 6.15.0-rc7-syzkaller-gd7fa1af5b33e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.109 state:D stack:0 pid:7177 tgid:7176 ppid:6490 task_flags:0x400140 flags:0x00000011 Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:735 (T) context_switch kernel/sched/core.c:5382 [inline] __schedule+0x13b0/0x28d4 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6860 wb_wait_for_completion+0x150/0x280 fs/fs-writeback.c:216 sync_inodes_sb+0x184/0x870 fs/fs-writeback.c:2833 sync_inodes_one_sb+0x58/0x70 fs/sync.c:77 iterate_supers+0xd8/0x4dc fs/super.c:934 ksys_sync+0x90/0x164 fs/sync.c:102 __arm64_sys_sync+0x14/0x24 fs/sync.c:113 __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+0x58/0x17c arch/arm64/kernel/entry-common.c:767 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 INFO: task kworker/u8:13:7191 blocked for more than 143 seconds. Not tainted 6.15.0-rc7-syzkaller-gd7fa1af5b33e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:13 state:D stack:0 pid:7191 tgid:7191 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: writeback wb_workfn (flush-7:4) Call trace: __switch_to+0x414/0x834 arch/arm64/kernel/process.c:735 (T) context_switch kernel/sched/core.c:5382 [inline] __schedule+0x13b0/0x28d4 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xb4/0x230 kernel/sched/core.c:6860 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6917 rwsem_down_write_slowpath+0xa80/0x10f0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0xb4/0xc0 kernel/locking/rwsem.c:1578 f2fs_down_write fs/f2fs/f2fs.h:2213 [inline] f2fs_balance_fs+0x458/0x6b4 fs/f2fs/segment.c:454 f2fs_write_inode+0x3a8/0x658 fs/f2fs/inode.c:812 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x5ac/0x13e8 fs/fs-writeback.c:1745 writeback_sb_inodes+0x558/0xe38 fs/fs-writeback.c:1976 __writeback_inodes_wb+0xec/0x228 fs/fs-writeback.c:2047 wb_writeback+0x3e0/0xd70 fs/fs-writeback.c:2158 wb_check_start_all fs/fs-writeback.c:2284 [inline] wb_do_writeback fs/fs-writeback.c:2310 [inline] wb_workfn+0x88c/0xdc0 fs/fs-writeback.c:2343 process_one_work+0x7e8/0x156c kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3400 kthread+0x5fc/0x75c kernel/kthread.c:464 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:847 Showing all locks held in the system: 1 lock held by kthreadd/2: 4 locks held by kworker/0:0/9: #0: ffff0000c0028d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff800097627bc0 (reg_work){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 #2: ffff80009248e928 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 #3: ffff0000d6bc8768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6092 [inline] #3: ffff0000d6bc8768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: reg_process_self_managed_hints+0xc4/0x1c0 net/wireless/reg.c:3209 2 locks held by kworker/0:1/11: 3 locks held by kworker/u8:0/12: 3 locks held by kworker/u8:1/14: 1 lock held by khungtaskd/32: #0: ffff80008f508920 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 3 locks held by kworker/u8:2/43: 2 locks held by kworker/u8:3/45: #0: ffff0000c6329148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff800097d67bc0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 1 lock held by pr/ttyAMA0/46: 3 locks held by kworker/u8:4/102: 5 locks held by kworker/u8:5/351: 3 locks held by kworker/u8:6/664: 2 locks held by kworker/1:1H/1938: #0: ffff0000c20b6548 ((wq_completion)kblockd){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff80009f8b7bc0 ((work_completion)(&q->timeout_work)){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 3 locks held by kworker/u8:7/1939: 3 locks held by kworker/u8:8/2179: 3 locks held by kworker/u8:9/2610: 4 locks held by kworker/R-krdsd/4210: 3 locks held by kworker/R-bat_e/4222: 1 lock held by klogd/6094: 2 locks held by udevd/6105: 1 lock held by dhcpcd/6159: 1 lock held by crond/6234: 2 locks held by getty/6256: #0: ffff0000d8ab80a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009b5ee2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa0 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/6477: 4 locks held by udevd/6480: 4 locks held by syz-executor/6488: 6 locks held by kworker/u9:2/6491: #0: ffff0000d8ab7948 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff8000a1e97bc0 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 #2: ffff0000fcb50d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x184/0x33c net/bluetooth/hci_sync.c:331 #3: ffff0000fcb50078 (&hdev->lock){+.+.}-{4:4}, at: hci_abort_conn_sync+0x1b4/0xb94 net/bluetooth/hci_sync.c:5597 #4: ffff8000925f4c48 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:2050 [inline] #4: ffff8000925f4c48 (hci_cb_list_lock){+.+.}-{4:4}, at: hci_conn_failed+0x13c/0x318 net/bluetooth/hci_conn.c:1269 #5: ffff0000d48d9338 (&conn->lock#2){+.+.}-{4:4}, at: l2cap_conn_del+0x74/0x5f0 net/bluetooth/l2cap_core.c:1761 1 lock held by syz-executor/6493: 2 locks held by udevd/6505: 2 locks held by kworker/1:4/6545: 2 locks held by kworker/1:5/6546: 6 locks held by syz.4.20/6706: 2 locks held by syz-executor/7030: 1 lock held by udevd/7049: #0: ffff0000c14987b0 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:877 [inline] #0: ffff0000c14987b0 (&sb->s_type->i_mutex_key#8){++++}-{4:4}, at: blkdev_read_iter+0x2a0/0x3dc block/fops.c:808 2 locks held by syz.1.109/7177: #0: ffff0000ef0780e0 (&type->s_umount_key#60){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff0000ef0780e0 (&type->s_umount_key#60){++++}-{4:4}, at: super_lock+0x240/0x32c fs/super.c:120 #1: ffff0000ca8a67d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff0000ca8a67d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x16c/0x870 fs/fs-writeback.c:2831 3 locks held by kworker/u8:10/7188: 3 locks held by kworker/u8:11/7189: 3 locks held by kworker/u8:12/7190: 4 locks held by kworker/u8:13/7191: #0: ffff0000c20e9948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212 #1: ffff80009f537bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212 #2: ffff0000ef0780e0 (&type->s_umount_key#60){++++}-{4:4}, at: super_trylock_shared+0x24/0xdc fs/super.c:562 #3: ffff0000f54353b0 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_down_write fs/f2fs/f2fs.h:2213 [inline] #3: ffff0000f54353b0 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_balance_fs+0x458/0x6b4 fs/f2fs/segment.c:454 2 locks held by udevd/7520: 2 locks held by syz-executor/7538: 3 locks held by kworker/u8:14/7936: 3 locks held by kworker/u8:15/7937: =============================================