INFO: task syz.1.1077:8159 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.1077 state:D stack:0 pid:8159 tgid:8158 ppid:7261 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+0xf0/0x134 mm/readahead.c:320 [] page_cache_ra_order+0xea/0x17c mm/readahead.c:520 [] page_cache_sync_ra+0x462/0x9e0 mm/readahead.c:608 [] page_cache_sync_readahead include/linux/pagemap.h:1394 [inline] [] filemap_get_pages+0xc3c/0x1b30 mm/filemap.c:2547 [] filemap_splice_read+0x4bc/0xb56 mm/filemap.c:2921 [] do_splice_read fs/splice.c:985 [inline] [] do_splice_read+0x1b2/0x260 fs/splice.c:959 [] splice_direct_to_actor+0x266/0x948 fs/splice.c:1089 [] do_splice_direct_actor fs/splice.c:1207 [inline] [] do_splice_direct+0x162/0x218 fs/splice.c:1233 [] do_sendfile+0x96e/0xbf0 fs/read_write.c:1388 [] __do_sys_sendfile64 fs/read_write.c:1455 [inline] [] __se_sys_sendfile64 fs/read_write.c:1441 [inline] [] __riscv_sys_sendfile64+0x1fc/0x220 fs/read_write.c:1441 [] 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/36: #0: ffffffff87fcc100 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x68/0x2d6 kernel/locking/lockdep.c:6716 1 lock held by klogd/2997: 2 locks held by getty/3148: #0: ff6000001caa60a0 (&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 syz-executor/3174: 1 lock held by syz.1.155/4274: 3 locks held by syz-executor/5661: 3 locks held by kworker/1:3/7051: 1 lock held by syz.1.1077/8159: #0: ff600000156742c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:870 [inline] #0: ff600000156742c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xe8/0x528 mm/readahead.c:226 2 locks held by kworker/u9:5/8232: 1 lock held by syz.1.1170/8757: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 36 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 2997 Comm: klogd Not tainted 6.12.0-rc1-syzkaller-00010-gc05ad457ce8c #0 Hardware name: riscv-virtio,qemu (DT) epc : __sanitizer_cov_trace_pc+0x0/0x7a kernel/kcov.c:210 ra : linear_mapping_va_to_pa arch/riscv/mm/physaddr.c:39 [inline] ra : __virt_to_phys+0x19c/0x262 arch/riscv/mm/physaddr.c:18 epc : ffffffff80430902 ra : ffffffff8002fb04 sp : ff20000007b374d0 gp : ffffffff897bea80 tp : ff60000017f39a40 t0 : ff60000017f3a560 t1 : ffebffff02200138 t2 : 000000000000001a s0 : ff20000007b37510 s1 : ff60000036a88000 a0 : 0000000000000006 a1 : ffe0000000000000 a2 : ff60000036a88000 a3 : ffffffff8002faf8 a4 : 0000000000000000 a5 : ff60000017f3aa40 a6 : 0000000000000003 a7 : 1fec000002fe74b0 s2 : ffe0000000000000 s3 : ffffffff87922580 s4 : 0080000000000000 s5 : ffe0000000000000 s6 : ff20000007b37580 s7 : 00000000000000f5 s8 : ffffffff879225b8 s9 : ffffffff87922578 s10: ffffffff87922580 s11: ff6000003439ba00 t3 : 1fec000002fe74ab t4 : ffebffff02200138 t5 : ffebffff02200139 t6 : 1fec000002fe74b5 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] __sanitizer_cov_trace_pc+0x0/0x7a kernel/kcov.c:442 [] virt_to_folio include/linux/mm.h:1282 [inline] [] virt_to_slab mm/slab.h:206 [inline] [] qlink_to_cache mm/kasan/quarantine.c:131 [inline] [] qlist_free_all+0xa2/0x16c mm/kasan/quarantine.c:176 [] kasan_quarantine_reduce+0x158/0x1ba mm/kasan/quarantine.c:286 [] __kasan_slab_alloc+0x5c/0x82 mm/kasan/common.c:329 [] kasan_slab_alloc include/linux/kasan.h:247 [inline] [] slab_post_alloc_hook mm/slub.c:4086 [inline] [] slab_alloc_node mm/slub.c:4135 [inline] [] kmem_cache_alloc_node_noprof+0xfc/0x34e mm/slub.c:4187 [] __alloc_skb+0x32c/0x42a net/core/skbuff.c:668 [] alloc_skb include/linux/skbuff.h:1322 [inline] [] alloc_skb_with_frags+0xe2/0x836 net/core/skbuff.c:6612 [] sock_alloc_send_pskb+0x6e2/0x82a net/core/sock.c:2883 [] unix_dgram_sendmsg+0x3b8/0x15bc net/unix/af_unix.c:2027 [] sock_sendmsg_nosec net/socket.c:729 [inline] [] __sock_sendmsg+0xcc/0x160 net/socket.c:744 [] __sys_sendto+0x230/0x320 net/socket.c:2209 [] __do_sys_sendto net/socket.c:2221 [inline] [] __se_sys_sendto net/socket.c:2217 [inline] [] __riscv_sys_sendto+0xc0/0x158 net/socket.c:2217 [] 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