INFO: task syz.1.136:7196 blocked for more than 143 seconds. Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.136 state:D stack:0 pid:7196 tgid:7187 ppid:6372 flags:0x0000000d Call trace: __switch_to+0x314/0x560 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5408 [inline] __schedule+0x14ac/0x24d8 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6837 io_schedule+0x8c/0x124 kernel/sched/core.c:9043 folio_wait_bit_common+0x65c/0xb90 mm/filemap.c:1307 __folio_lock+0x2c/0x3c mm/filemap.c:1645 lock_page include/linux/pagemap.h:1081 [inline] release_metapage+0x168/0xc4c fs/jfs/jfs_metapage.c:764 discard_metapage fs/jfs/jfs_metapage.h:88 [inline] __get_metapage+0xb10/0x1054 fs/jfs/jfs_metapage.c:644 jfs_readdir+0x1ed4/0x37bc fs/jfs/jfs_dtree.c:3018 wrap_directory_iterator+0xa8/0xf4 fs/readdir.c:67 shared_jfs_readdir+0x30/0x40 fs/jfs/namei.c:1540 iterate_dir+0x408/0x648 fs/readdir.c:110 __do_sys_getdents64 fs/readdir.c:409 [inline] __se_sys_getdents64 fs/readdir.c:394 [inline] __arm64_sys_getdents64+0x1c0/0x404 fs/readdir.c:394 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:131 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 INFO: task syz.2.143:7243 blocked for more than 143 seconds. Not tainted 6.10.0-rc7-syzkaller-gc912bf709078 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.143 state:D stack:0 pid:7243 tgid:7242 ppid:6381 flags:0x0000000d Call trace: __switch_to+0x314/0x560 arch/arm64/kernel/process.c:553 context_switch kernel/sched/core.c:5408 [inline] __schedule+0x14ac/0x24d8 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0xbc/0x238 kernel/sched/core.c:6837 __closure_sync+0x198/0x29c lib/closure.c:146 closure_sync include/linux/closure.h:194 [inline] bch2_extent_fallocate+0x1194/0x1a28 fs/bcachefs/io_misc.c:129 __bchfs_fallocate fs/bcachefs/fs-io.c:673 [inline] bchfs_fallocate fs/bcachefs/fs-io.c:736 [inline] bch2_fallocate_dispatch+0x19b8/0x2d50 fs/bcachefs/fs-io.c:783 vfs_fallocate+0x480/0x5bc fs/open.c:330 ioctl_preallocate+0x21c/0x2a0 fs/ioctl.c:291 do_vfs_ioctl+0x1b88/0x2404 fs/ioctl.c:886 __do_sys_ioctl fs/ioctl.c:905 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:893 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:131 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:150 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffff80008f4b7be0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:328 4 locks held by kworker/u8:6/261: #0: ffff0000c1881948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff800098767c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff800092137090 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:594 #3: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 3 locks held by kworker/1:2/3795: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff80009f1a7c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff0000ec0b5240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x270/0x32bc drivers/net/netdevsim/fib.c:1489 4 locks held by udevd/5989: #0: ffff0000d6f64d58 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xac/0xc44 fs/seq_file.c:182 #1: ffff0000ccfc6c88 (&of->mutex#2){+.+.}-{3:3}, at: kernfs_seq_start+0x58/0x384 fs/kernfs/file.c:154 #2: ffff0000d37223c8 (kn->active#4){++++}-{0:0}, at: kernfs_seq_start+0x74/0x384 fs/kernfs/file.c:155 #3: ffff0000d094e0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #3: ffff0000d094e0e8 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17c/0x33c drivers/base/core.c:2743 2 locks held by getty/6131: #0: ffff0000d78120a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000980ee2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:6/6432: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff800099a27c20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 3 locks held by kworker/0:7/6451: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff800099a57c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff0000cb12f240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x270/0x32bc drivers/net/netdevsim/fib.c:1489 3 locks held by kworker/u8:10/6683: #0: ffff0000d14ff148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff8000a10e7c20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by kworker/u8:12/6941: #0: ffff0001b3d59018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:559 [inline] #0: ffff0001b3d59018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1406 [inline] #0: ffff0001b3d59018 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1702 [inline] #0: ffff0001b3d59018 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2e0/0x24d8 kernel/sched/core.c:6653 #1: ffff0001b3d42ec8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3c0/0x618 kernel/sched/psi.c:988 2 locks held by syz.1.136/7196: #0: ffff0000d3fa6fc8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x218/0x2a4 fs/file.c:1191 #1: ffff0000eff233c0 (&type->i_mutex_dir_key#20){++++}-{3:3}, at: wrap_directory_iterator+0x64/0xf4 fs/readdir.c:56 3 locks held by syz.2.143/7243: #0: ffff0000dad32420 (sb_writers#23){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline] #0: ffff0000dad32420 (sb_writers#23){.+.+}-{0:0}, at: vfs_fallocate+0x40c/0x5bc fs/open.c:329 #1: ffff0000dfd608b8 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline] #1: ffff0000dfd608b8 (&sb->s_type->i_mutex_key#26){+.+.}-{3:3}, at: bch2_fallocate_dispatch+0x2dc/0x2d50 fs/bcachefs/fs-io.c:774 #2: ffff0000e04842d8 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:115 1 lock held by syz-executor/8933: #0: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x704/0xe64 net/core/rtnetlink.c:6632 7 locks held by syz-executor/9129: #0: ffff0000d89ee420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline] #0: ffff0000d89ee420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x2e8/0xc38 fs/read_write.c:586 #1: ffff0000ca9eb088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cb886a58 (kn->active#46){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff8000912d2268 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x170/0x704 drivers/net/netdevsim/bus.c:166 #4: ffff0000d094e0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff0000d094e0e8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x90/0x434 drivers/base/dd.c:1003 #5: ffff0000d8ab3250 (&devlink->lock_key#22){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.4.462/9226: #0: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by syz.0.463/9239: #0: ffff8000921a4fd0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:1218 #1: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by syz.0.463/9240: #0: ffff8000921a4fd0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x28/0x50 net/netlink/genetlink.c:1218 #1: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.2.464/9242: #0: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffff8000921432e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x704/0xe64 net/core/rtnetlink.c:6632 =============================================