INFO: task syz.2.783:12692 blocked for more than 430 seconds. Not tainted 6.12.0-rc1-syzkaller-00012-g5f153a692bac #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.783 state:D stack:0 pid:12692 tgid:12681 ppid:11296 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 [] do_sync_mmap_readahead mm/filemap.c:3202 [inline] [] filemap_fault+0x167e/0x2b60 mm/filemap.c:3343 [] __do_fault+0xf4/0x4dc mm/memory.c:4876 [] do_shared_fault mm/memory.c:5346 [inline] [] do_fault mm/memory.c:5420 [inline] [] do_pte_missing mm/memory.c:3965 [inline] [] handle_pte_fault mm/memory.c:5751 [inline] [] __handle_mm_fault+0x16fc/0x43cc mm/memory.c:5894 [] handle_mm_fault+0x48a/0x884 mm/memory.c:6062 [] handle_page_fault+0x434/0x1588 arch/riscv/mm/fault.c:346 [] do_page_fault+0x20/0x56 arch/riscv/kernel/traps.c:362 [] _new_vmalloc_restore_context_a0+0xc2/0xce [] instrument_copy_to_user include/linux/instrumented.h:112 [inline] [] copy_to_user_iter lib/iov_iter.c:24 [inline] [] iterate_ubuf include/linux/iov_iter.h:30 [inline] [] iterate_and_advance2 include/linux/iov_iter.h:300 [inline] [] iterate_and_advance include/linux/iov_iter.h:328 [inline] [] _copy_to_iter+0x23e/0x16f4 lib/iov_iter.c:185 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/2965: 1 lock held by klogd/2969: 2 locks held by getty/3135: #0: ff6000001857e0a0 (&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/3164: 1 lock held by syz.4.488/7798: #0: ff600000154df0c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:860 [inline] #0: ff600000154df0c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1ac/0x30a block/fops.c:808 2 locks held by kworker/u10:1/8794: #0: ff60000011071148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff2000000c3b7c90 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 2 locks held by kworker/u10:6/8807: #0: ff60000011071148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x848/0x1dae kernel/workqueue.c:3204 #1: ff2000000c2b7c90 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x870/0x1dae kernel/workqueue.c:3204 2 locks held by kworker/0:2/11185: 1 lock held by syz.2.783/12692: #0: ff600000154df0c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:870 [inline] #0: ff600000154df0c8 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xe8/0x528 mm/readahead.c:226 1 lock held by rm/13295: 1 lock held by modprobe/13301: 3 locks held by modprobe/13332: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 36 Comm: khungtaskd Not tainted 6.12.0-rc1-syzkaller-00012-g5f153a692bac #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: 11185 Comm: kworker/0:2 Not tainted 6.12.0-rc1-syzkaller-00012-g5f153a692bac #0 Hardware name: riscv-virtio,qemu (DT) Workqueue: events nsim_dev_trap_report_work epc : __sanitizer_cov_trace_const_cmp1+0x0/0x1c kernel/kcov.c:299 ra : in_aton+0x13a/0x1b8 net/core/utils.c:61 epc : ffffffff80430a8e ra : ffffffff84d846c2 sp : ff20000003c279f0 gp : ffffffff897bea80 tp : ff6000001a644ec0 t0 : ff20000003c27920 t1 : ffffffffd5c603a1 t2 : fffffffffad2a022 s0 : ff20000003c27a40 s1 : 0000000000000001 a0 : 0000000000000000 a1 : 0000000000000039 a2 : 0000000000000002 a3 : ffffffff84d8467c a4 : 0000000000000000 a5 : 0000000000000001 a6 : 0000000000000003 a7 : 1fec0000034c8b4f s2 : 0000000000000039 s3 : ffffffff86c3ce01 s4 : dfffffff00000000 s5 : 0000000000000000 s6 : 0000000000000000 s7 : 0000000000000001 s8 : ff600000292bc280 s9 : ff60000018205400 s10: dfffffff00000000 s11: ffffffff86c3c9bc t3 : 0000000000000017 t4 : ff20000003c27640 t5 : 0000000065ea44a7 t6 : ff60000039ef200c status: 0000000200000120 badaddr: 0000000000000000 cause: 8000000000000001 [] __sanitizer_cov_trace_const_cmp1+0x0/0x1c kernel/kcov.c:295 [] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:764 [inline] [] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] [] nsim_dev_trap_report_work+0x4ba/0xbfa drivers/net/netdevsim/dev.c:850 [] process_one_work+0x956/0x1dae kernel/workqueue.c:3229 [] process_scheduled_works kernel/workqueue.c:3310 [inline] [] worker_thread+0x5be/0xdc6 kernel/workqueue.c:3391 [] kthread+0x28c/0x3a6 kernel/kthread.c:389 [] ret_from_fork+0xe/0x18 arch/riscv/kernel/entry.S:326