INFO: task syz.0.81:6643 blocked for more than 143 seconds. Not tainted 6.10.0-rc5-syzkaller-g5e456a31d1ac #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.81 state:D stack:0 pid:6643 tgid:6642 ppid:6296 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 __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_async_ra+0x1b0/0x1cc mm/readahead.c:718 filemap_readahead mm/filemap.c:2504 [inline] filemap_get_pages+0x548/0x1630 mm/filemap.c:2545 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+0x468/0xbb8 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+0x160/0x3b4 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:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 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.0.81:6700 blocked for more than 143 seconds. Not tainted 6.10.0-rc5-syzkaller-g5e456a31d1ac #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.81 state:D stack:0 pid:6700 tgid:6642 ppid:6296 flags:0x00000001 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] truncate_inode_pages_range+0x978/0xf64 mm/truncate.c:412 truncate_inode_pages mm/truncate.c:439 [inline] truncate_pagecache mm/truncate.c:732 [inline] truncate_setsize+0xd4/0x100 mm/truncate.c:757 bchfs_truncate+0x540/0xa74 fs/bcachefs/fs-io.c:453 bch2_setattr+0x198/0x230 fs/bcachefs/fs.c:926 notify_change+0x9d4/0xc84 fs/attr.c:497 do_truncate+0x1c0/0x28c fs/open.c:65 vfs_truncate+0x2b8/0x360 fs/open.c:111 do_sys_truncate+0xec/0x1b4 fs/open.c:134 __do_sys_truncate fs/open.c:146 [inline] __se_sys_truncate fs/open.c:144 [inline] __arm64_sys_truncate+0x5c/0x70 fs/open.c:144 __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:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 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/0:1/10: #0: ffff0000c0028948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3205 #1: ffff800094f77c20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x6a0/0x15b8 kernel/workqueue.c:3205 #2: ffff0000ea135240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x270/0x32bc drivers/net/netdevsim/fib.c:1489 1 lock held by khungtaskd/31: #0: ffff80008f3879e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:328 2 locks held by getty/6050: #0: ffff0000cca690a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff800097f9b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2211 1 lock held by syz.0.81/6643: #0: ffff0000ec159928 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:846 [inline] #0: ffff0000ec159928 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: page_cache_ra_order+0x23c/0xa10 mm/readahead.c:514 2 locks held by syz.0.81/6700: #0: ffff0000f3108420 (sb_writers#11){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:409 #1: ffff0000ec159788 (&sb->s_type->i_mutex_key#19){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline] #1: ffff0000ec159788 (&sb->s_type->i_mutex_key#19){+.+.}-{3:3}, at: do_truncate+0x1ac/0x28c fs/open.c:63 2 locks held by kworker/u8:16/7863: 2 locks held by syz.3.950/10342: 1 lock held by sed/10360: =============================================