INFO: task syz.1.1197:8781 blocked for more than 430 seconds. Not tainted 6.12.0-rc1-syzkaller-00010-gc05ad457ce8c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.1197 state:D stack:0 pid:8781 tgid:8780 ppid:4082 flags:0x00000004 Call Trace: [] context_switch kernel/sched/core.c:5315 [inline] [] __schedule+0xd5a/0x3886 kernel/sched/core.c:6675 [] __schedule_loop kernel/sched/core.c:6752 [inline] [] schedule+0xc4/0x324 kernel/sched/core.c:6767 [] schedule_preempt_disabled+0x16/0x28 kernel/sched/core.c:6824 [] rwsem_down_read_slowpath+0x56a/0x91e kernel/locking/rwsem.c:1084 [] __down_read_common kernel/locking/rwsem.c:1248 [inline] [] __down_read kernel/locking/rwsem.c:1261 [inline] [] down_read+0xe4/0x460 kernel/locking/rwsem.c:1526 [] filemap_invalidate_lock_shared include/linux/fs.h:870 [inline] [] page_cache_ra_unbounded+0xe8/0x528 mm/readahead.c:226 [] do_page_cache_ra mm/readahead.c:320 [inline] [] force_page_cache_ra+0x1f8/0x2f4 mm/readahead.c:349 [] force_page_cache_readahead mm/internal.h:357 [inline] [] generic_fadvise+0x480/0x5d8 mm/fadvise.c:106 [] vfs_fadvise+0xa2/0xba mm/fadvise.c:185 [] ksys_readahead+0x17a/0x1e6 mm/readahead.c:695 [] __do_sys_readahead mm/readahead.c:703 [inline] [] __se_sys_readahead mm/readahead.c:701 [inline] [] __riscv_sys_readahead+0x6e/0xa0 mm/readahead.c:701 [] syscall_handler+0x94/0x118 arch/riscv/include/asm/syscall.h:90 [] do_trap_ecall_u+0x1aa/0x216 arch/riscv/kernel/traps.c:331 [] _new_vmalloc_restore_context_a0+0xc2/0xce Showing all locks held in the system: 1 lock held by khungtaskd/37: #0: ffffffff87fcc100 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x68/0x2d6 kernel/locking/lockdep.c:6716 1 lock held by klogd/3001: 2 locks held by getty/3150: #0: ff60000017ff20a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3a/0x46 drivers/tty/tty_ldsem.c:340 #1: ff2000000008b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xd7c/0x129a drivers/tty/n_tty.c:2211 1 lock held by sshd/3175: 1 lock held by syz.0.929/7648: 2 locks held by kworker/0:0/8523: 1 lock held by syz.1.1197/8781: #0: ff6000001556fc48 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:870 [inline] #0: ff6000001556fc48 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xe8/0x528 mm/readahead.c:226 2 locks held by syz.0.1320/9423: 3 locks held by syz.1.1321/9426: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 37 Comm: khungtaskd Not tainted 6.12.0-rc1-syzkaller-00010-gc05ad457ce8c #0 Hardware name: riscv-virtio,qemu (DT) Call Trace: [] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:130 [] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:136 [] __dump_stack lib/dump_stack.c:94 [inline] [] dump_stack_lvl+0x122/0x196 lib/dump_stack.c:120 [] dump_stack+0x1c/0x24 lib/dump_stack.c:129 [] nmi_cpu_backtrace+0x39c/0x39e lib/nmi_backtrace.c:113 [] nmi_trigger_cpumask_backtrace+0x2b6/0x456 lib/nmi_backtrace.c:62 [] arch_trigger_cpumask_backtrace+0x2c/0x3c arch/riscv/kernel/smp.c:347 [] trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] [] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] [] watchdog+0xcfa/0x1178 kernel/hung_task.c:379 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x18 arch/riscv/kernel/entry.S:326 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 7648 Comm: syz.0.929 Not tainted 6.12.0-rc1-syzkaller-00010-gc05ad457ce8c #0 Hardware name: riscv-virtio,qemu (DT) epc : blk_mq_submit_bio+0xfee/0x2cc8 block/blk-mq.c:3024 ra : blk_mq_submit_bio+0xfee/0x2cc8 block/blk-mq.c:3024 epc : ffffffff812d8fea ra : ffffffff812d8fea sp : ff20000001e07660 gp : ffffffff897bea80 tp : ff60000017f69a40 t0 : ff60000017f6a560 t1 : ffebfffeffff8d02 t2 : 0000000000000006 s0 : ff20000001e077f0 s1 : ff6000003f155e00 a0 : 0000000000000003 a1 : 0000000000000000 a2 : 0000000000000000 a3 : ffffffff812d8fea a4 : 0000000000000002 a5 : ff60000017f6aa40 a6 : 0000000000000003 a7 : ff5ffffffffc6817 s2 : ff6000001a88a580 s3 : 0000000000000004 s4 : ff60000019de49c0 s5 : ff20000001e07c70 s6 : 1fec000007e2abc2 s7 : 1fec0000035114b3 s8 : ff6000001a88a59c s9 : 0000000000000000 s10: ff6000003f155e10 s11: 1fe40000003c0ed8 t3 : 1fec000002fed4ab t4 : ffebfffeffff8d02 t5 : ffebfffeffff8d03 t6 : 1fec000002fed4ba status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] blk_mq_submit_bio+0xfee/0x2cc8 block/blk-mq.c:3024 [] __submit_bio+0x186/0x458 block/blk-core.c:615 [] __submit_bio_noacct_mq block/blk-core.c:696 [inline] [] submit_bio_noacct_nocheck+0x78c/0xe28 block/blk-core.c:725 [] submit_bio_noacct+0xa9e/0x1ea6 block/blk-core.c:854 [] submit_bio+0xc8/0x4f2 block/blk-core.c:896 [] bio_chain_and_submit block/bio.c:361 [inline] [] bio_chain_and_submit+0x30/0x46 block/bio.c:357 [] __blkdev_issue_zero_pages+0x274/0x438 block/blk-lib.c:222 [] blkdev_issue_zero_pages block/blk-lib.c:238 [inline] [] blkdev_issue_zeroout+0x34c/0x730 block/blk-lib.c:325 [] blkdev_fallocate+0x2b0/0x30a block/fops.c:830 [] vfs_fallocate+0x3f6/0x966 fs/open.c:333 [] ksys_fallocate fs/open.c:356 [inline] [] __do_sys_fallocate fs/open.c:364 [inline] [] __se_sys_fallocate fs/open.c:362 [inline] [] __riscv_sys_fallocate+0xc4/0x126 fs/open.c:362 [] syscall_handler+0x94/0x118 arch/riscv/include/asm/syscall.h:90 [] do_trap_ecall_u+0x1aa/0x216 arch/riscv/kernel/traps.c:331 [] _new_vmalloc_restore_context_a0+0xc2/0xce