INFO: task syz.2.4247:15893 blocked for more than 431 seconds. Not tainted 6.12.0-rc1-syzkaller-00013-gad81b171eb9d #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.4247 state:D stack:0 pid:15893 tgid:15892 ppid:13686 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 2 locks held by syslogd/2967: 1 lock held by dhcpcd/3014: 2 locks held by getty/3119: #0: ff6000001b4c10a0 (&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/3145: 1 lock held by syz.0.3594/13639: 1 lock held by syz.2.4247/15893: #0: ff600000157c8948 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:870 [inline] #0: ff600000157c8948 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xe8/0x528 mm/readahead.c:226 1 lock held by syz-executor/15942: 2 locks held by kworker/u10:4/16063: #0: ff60000011071148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff20000002237c90 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 3 locks held by kworker/0:5/16672: 4 locks held by modprobe/16731: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 36 Comm: khungtaskd Not tainted 6.12.0-rc1-syzkaller-00013-gad81b171eb9d #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: 15942 Comm: syz-executor Not tainted 6.12.0-rc1-syzkaller-00013-gad81b171eb9d #0 Hardware name: riscv-virtio,qemu (DT) epc : inet6_create net/ipv6/af_inet6.c:235 [inline] epc : inet6_create+0x86e/0x1216 net/ipv6/af_inet6.c:120 ra : inet6_create net/ipv6/af_inet6.c:229 [inline] ra : inet6_create+0x758/0x1216 net/ipv6/af_inet6.c:120 epc : ffffffff857148fa ra : ffffffff857147e4 sp : ff20000002937c30 gp : ffffffff897bea80 tp : ff6000001c089a40 t0 : ff6000001c08a560 t1 : ffebffff07226e2b t2 : 0000000000000001 s0 : ff20000002937ce0 s1 : 0000000000000001 a0 : ff60000039137164 a1 : 0000000000000008 a2 : 0000000000000002 a3 : ff6000001aea1cc0 a4 : 0000000000000000 a5 : 0000000000000001 a6 : ffebffff07226e2c a7 : ff6000003913715f s2 : ff60000039137158 s3 : 1fec000007226d85 s4 : ff60000039136c13 s5 : ff60000039136c28 s6 : ffffffff8956d998 s7 : ff60000039136c00 s8 : ff60000039136c0e s9 : 0000000000000006 s10: ff6000001fb105c0 s11: ffffffff90bd9ce0 t3 : 1fec0000036ea03f t4 : ffebffff07226e2b t5 : ffebffff07226e2c t6 : 1fec0000038114b0 status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] inet6_create net/ipv6/af_inet6.c:235 [inline] [] inet6_create+0x86e/0x1216 net/ipv6/af_inet6.c:120 [] __sock_create+0x366/0x84e net/socket.c:1576 [] sock_create net/socket.c:1627 [inline] [] __sys_socket_create net/socket.c:1664 [inline] [] __sys_socket+0x152/0x268 net/socket.c:1711 [] __do_sys_socket net/socket.c:1725 [inline] [] __se_sys_socket net/socket.c:1723 [inline] [] __riscv_sys_socket+0x70/0xa2 net/socket.c:1723 [] 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