INFO: task syz.1.2:6377 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.2 state:D stack:0 pid:6377 tgid:6376 ppid:6296 flags:0x00000009 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 folio_lock include/linux/pagemap.h:1060 [inline] bch2_mark_pagecache_reserved+0x358/0x8e8 fs/bcachefs/fs-io-pagecache.c:334 __bchfs_fallocate fs/bcachefs/fs-io.c:683 [inline] bchfs_fallocate fs/bcachefs/fs-io.c:736 [inline] bch2_fallocate_dispatch+0x1acc/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 INFO: task syz.1.2:6390 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.2 state:D stack:0 pid:6390 tgid:6376 ppid:6296 flags:0x00000009 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 __bch2_two_state_lock+0x198/0x20c fs/bcachefs/two_state_shared_lock.c:7 bch2_two_state_lock fs/bcachefs/two_state_shared_lock.h:56 [inline] bch2_readahead+0x840/0xeb8 fs/bcachefs/fs-io-buffered.c:269 read_pages+0x160/0x694 mm/readahead.c:160 page_cache_ra_order+0x6dc/0xa10 mm/readahead.c:535 ondemand_readahead+0x600/0xaf4 mm/readahead.c:669 page_cache_sync_ra+0x130/0x180 mm/readahead.c:696 page_cache_sync_readahead include/linux/pagemap.h:1306 [inline] filemap_get_pages+0x368/0x1630 mm/filemap.c:2529 filemap_splice_read+0x4c4/0xc50 mm/filemap.c:2894 do_splice_read fs/splice.c:985 [inline] splice_direct_to_actor+0x38c/0xa0c fs/splice.c:1089 do_splice_direct_actor fs/splice.c:1207 [inline] do_splice_direct+0x1e4/0x304 fs/splice.c:1233 do_sendfile+0x46c/0xbd0 fs/read_write.c:1295 __do_sys_sendfile64 fs/read_write.c:1362 [inline] __se_sys_sendfile64 fs/read_write.c:1348 [inline] __arm64_sys_sendfile64+0x164/0x270 fs/read_write.c:1348 __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: 3 locks held by kworker/1:0/25: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff800094fc7c20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff800091f0e928 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by khungtaskd/31: #0: ffff80008f2d7a60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:328 4 locks held by kworker/u8:6/638: #0: ffff0000c1819948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 #1: ffff8000998d7c20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3222 #2: ffff800091f026d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x13c/0x9b4 net/core/net_namespace.c:594 #3: ffff800091f0e928 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by dhcpcd/5954: #0: ffff0000e802a678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0xf8/0x71c net/netlink/af_netlink.c:2418 #1: ffff800091f0e928 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0x48c/0xbf0 net/netlink/af_netlink.c:2336 2 locks held by getty/6048: #0: ffff0000d22960a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800097eae2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 3 locks held by syz.1.2/6377: #0: ffff0000cd62c420 (sb_writers#11){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline] #0: ffff0000cd62c420 (sb_writers#11){.+.+}-{0:0}, at: vfs_fallocate+0x40c/0x5bc fs/open.c:329 #1: ffff0000e8ab1020 (&sb->s_type->i_mutex_key#19){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline] #1: ffff0000e8ab1020 (&sb->s_type->i_mutex_key#19){+.+.}-{3:3}, at: bch2_fallocate_dispatch+0x2dc/0x2d50 fs/bcachefs/fs-io.c:774 #2: ffff0000ec3042d8 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:115 1 lock held by syz.1.2/6390: #0: ffff0000e8ab11c0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:846 [inline] #0: ffff0000e8ab11c0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: page_cache_ra_order+0x23c/0xa10 mm/readahead.c:514 7 locks held by syz-executor/8675: #0: ffff0000d7bec420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2854 [inline] #0: ffff0000d7bec420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x2e8/0xc38 fs/read_write.c:586 #1: ffff0000c5b6a088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1c8/0x48c fs/kernfs/file.c:325 #2: ffff0000cafae878 (kn->active#45){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x1e4/0x48c fs/kernfs/file.c:326 #3: ffff8000910e2c08 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xec/0x39c drivers/net/netdevsim/bus.c:216 #4: ffff0000ee3250e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1009 [inline] #4: ffff0000ee3250e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1093 [inline] #4: ffff0000ee3250e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xbc/0x698 drivers/base/dd.c:1290 #5: ffff0000ee324250 (&devlink->lock_key#6){+.+.}-{3:3}, at: devl_lock+0x24/0x34 net/devlink/core.c:276 #6: ffff800091f0e928 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.2.567/8849: #0: ffff800091f0e928 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 1 lock held by syz.3.568/8865: #0: ffff800091f0e928 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:79 2 locks held by syz.4.569/8864: #0: ffff0000eb77b678 (nlk_cb_mutex-ROUTE){+.+.}-{3:3}, at: __netlink_dump_start+0xf8/0x71c net/netlink/af_netlink.c:2418 #1: ffff800091f0e928 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0x48c/0xbf0 net/netlink/af_netlink.c:2336 =============================================