INFO: task kworker/u8:3:42 blocked for more than 143 seconds. Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:3 state:D stack:0 pid:42 tgid:42 ppid:2 task_flags:0x4208060 flags:0x00000010 Workqueue: writeback wb_workfn (flush-7:1) Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5357 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7058 io_schedule+0x84/0xf0 kernel/sched/core.c:7903 f2fs_balance_fs+0x424/0x6ec fs/f2fs/segment.c:453 f2fs_write_single_data_page+0xa60/0x1088 fs/f2fs/data.c:2906 f2fs_write_cache_pages fs/f2fs/data.c:3141 [inline] __f2fs_write_data_pages fs/f2fs/data.c:3290 [inline] f2fs_write_data_pages+0x134c/0x2634 fs/f2fs/data.c:3317 do_writepages+0x270/0x468 mm/page-writeback.c:2634 __writeback_single_inode+0x15c/0x13e8 fs/fs-writeback.c:1680 writeback_sb_inodes+0x55c/0xe40 fs/fs-writeback.c:1976 wb_writeback+0x3cc/0xd70 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x338/0xdc0 fs/fs-writeback.c:2343 process_one_work+0x7e8/0x155c kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x958/0xed8 kernel/workqueue.c:3400 kthread+0x5fc/0x75c kernel/kthread.c:463 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:844 INFO: task syz.1.32:6852 blocked for more than 143 seconds. Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.32 state:D stack:0 pid:6852 tgid:6833 ppid:6549 task_flags:0x400140 flags:0x00000011 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5357 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7058 wb_wait_for_completion+0x150/0x280 fs/fs-writeback.c:216 __writeback_inodes_sb_nr+0x1b0/0x218 fs/fs-writeback.c:2747 writeback_inodes_sb_nr fs/fs-writeback.c:2764 [inline] writeback_inodes_sb+0x78/0x8c fs/fs-writeback.c:2779 sync_filesystem+0xa0/0x218 fs/sync.c:54 freeze_super+0x418/0xe00 fs/super.c:2183 fs_bdev_freeze+0x19c/0x304 fs/super.c:1540 bdev_freeze+0xc8/0x250 block/bdev.c:298 f2fs_do_shutdown+0x17c/0x638 fs/f2fs/file.c:2421 f2fs_ioc_shutdown fs/f2fs/file.c:2513 [inline] __f2fs_ioctl+0x3578/0x97a8 fs/f2fs/file.c:4623 f2fs_ioctl+0x130/0x208 fs/f2fs/file.c:4708 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl fs/ioctl.c:584 [inline] __arm64_sys_ioctl+0x14c/0x1c4 fs/ioctl.c:584 __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/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 INFO: task syz.1.32:6858 blocked for more than 143 seconds. Not tainted 6.17.0-rc1-syzkaller-g8f5ae30d69d7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.32 state:D stack:0 pid:6858 tgid:6833 ppid:6549 task_flags:0x400040 flags:0x00000011 Call trace: __switch_to+0x418/0x87c arch/arm64/kernel/process.c:741 (T) context_switch kernel/sched/core.c:5357 [inline] __schedule+0x13b0/0x2864 kernel/sched/core.c:6961 __schedule_loop kernel/sched/core.c:7043 [inline] schedule+0xb4/0x230 kernel/sched/core.c:7058 percpu_rwsem_wait+0x29c/0x308 kernel/locking/percpu-rwsem.c:164 __percpu_down_read+0x84/0xb4 kernel/locking/percpu-rwsem.c:180 percpu_down_read_internal include/linux/percpu-rwsem.h:67 [inline] percpu_down_read_freezable include/linux/percpu-rwsem.h:83 [inline] __sb_start_write include/linux/fs.h:1798 [inline] sb_start_write include/linux/fs.h:1934 [inline] quotactl_block fs/quota/quota.c:899 [inline] __do_sys_quotactl fs/quota/quota.c:955 [inline] __se_sys_quotactl fs/quota/quota.c:917 [inline] __arm64_sys_quotactl+0x944/0xb34 fs/quota/quota.c:917 __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/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Showing all locks held in the system: 5 locks held by kworker/u8:0/12: 1 lock held by khungtaskd/32: #0: ffff80008f9a9060 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330 3 locks held by kworker/u8:2/41: #0: ffff0000d2fa2148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff800099277bc0 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092a58268 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 3 locks held by kworker/u8:3/42: #0: ffff0000c1f72948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff800099287bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff0000d8398128 (&sbi->writepages){+.+.}-{4:4}, at: __f2fs_write_data_pages fs/f2fs/data.c:3285 [inline] #2: ffff0000d8398128 (&sbi->writepages){+.+.}-{4:4}, at: f2fs_write_data_pages+0x2104/0x2634 fs/f2fs/data.c:3317 2 locks held by pr/ttyAMA-1/43: 3 locks held by kworker/u8:4/495: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff80009c4d7bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff800092a58268 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by dhcpcd/6219: #0: ffff0000d85396d0 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: __netlink_dump_start+0xec/0x72c net/netlink/af_netlink.c:2406 #1: ffff800092a58268 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffff800092a58268 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x8c/0x1d0 net/core/rtnetlink.c:6814 2 locks held by getty/6306: #0: ffff0000cd63e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff80009bbae2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x34c/0xfa4 drivers/tty/n_tty.c:2222 4 locks held by kworker/u9:2/6555: #0: ffff0000ddc0b148 ((wq_completion)hci1#2){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff8000a0a77bc0 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 #2: ffff0000ddf680b8 (&hdev->lock){+.+.}-{4:4}, at: le_conn_complete_evt+0xb0/0xe84 net/bluetooth/hci_event.c:5614 #3: ffff0000c18a3988 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_activate fs/kernfs/dir.c:1425 [inline] #3: ffff0000c18a3988 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_add_one+0x294/0x60c fs/kernfs/dir.c:834 1 lock held by udevd/6567: 4 locks held by syz.1.32/6852: #0: ffff0000c1495230 (&bdev->bd_fsfreeze_mutex){+.+.}-{4:4}, at: bdev_freeze+0x28/0x250 block/bdev.c:289 #1: ffff0000d708c428 (sb_writers#17){++++}-{0:0}, at: sb_wait_write fs/super.c:1911 [inline] #1: ffff0000d708c428 (sb_writers#17){++++}-{0:0}, at: freeze_super+0x3f0/0xe00 fs/super.c:2175 #2: ffff0000d708c0e0 (&type->s_umount_key#73){+.+.}-{4:4}, at: __super_lock fs/super.c:57 [inline] #2: ffff0000d708c0e0 (&type->s_umount_key#73){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #2: ffff0000d708c0e0 (&type->s_umount_key#73){+.+.}-{4:4}, at: freeze_super+0x3f8/0xe00 fs/super.c:2176 #3: ffff0000d708c520 (sb_pagefaults#3){++++}-{0:0}, at: sb_wait_write fs/super.c:1911 [inline] #3: ffff0000d708c520 (sb_pagefaults#3){++++}-{0:0}, at: freeze_super+0x410/0xe00 fs/super.c:2180 1 lock held by syz.1.32/6858: #0: ffff0000d708c428 (sb_writers#17){++++}-{0:0}, at: __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] #0: ffff0000d708c428 (sb_writers#17){++++}-{0:0}, at: invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 2 locks held by kworker/u8:7/7022: #0: ffff0000c0031148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x63c/0x155c kernel/workqueue.c:3210 #1: ffff80009e307bc0 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x6d4/0x155c kernel/workqueue.c:3210 3 locks held by syz-executor/7301: 4 locks held by syz-executor/10454: #0: ffff0000d819e428 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3107 [inline] #0: ffff0000d819e428 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x24c/0xa3c fs/read_write.c:682 #1: ffff0000f864bc88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x488 fs/kernfs/file.c:325 #2: ffff0000c82c15a8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1d0/0x488 fs/kernfs/file.c:326 #3: ffff800091a98908 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x128/0x594 drivers/net/netdevsim/bus.c:184 7 locks held by syz-executor/10520: #0: ffff0000d819e428 (sb_writers#6){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3107 [inline] #0: ffff0000d819e428 (sb_writers#6){.+.+}-{0:0}, at: vfs_write+0x24c/0xa3c fs/read_write.c:682 #1: ffff0000f801d488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1b4/0x488 fs/kernfs/file.c:325 #2: ffff0000c82c1698 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1d0/0x488 fs/kernfs/file.c:326 #3: ffff800091a98908 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd4/0x31c drivers/net/netdevsim/bus.c:234 #4: ffff000112cae0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:911 [inline] #4: ffff000112cae0e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1096 [inline] #4: ffff000112cae0e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0x9c/0x68c drivers/base/dd.c:1294 #5: ffff000112caf250 (&devlink->lock_key#66){+.+.}-{4:4}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff800092a58268 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80 2 locks held by syz-executor/10587: #0: ffff80008f7df010 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:160 #1: ffff800092a58268 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffff800092a58268 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffff800092a58268 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x710/0x15dc net/core/rtnetlink.c:4056 1 lock held by modprobe/10626: =============================================