INFO: task syz.1.1090:8661 blocked for more than 144 seconds. Not tainted 6.11.0-rc1-syzkaller-00293-gdefaf1a2113a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.1090 state:D stack:24672 pid:8661 tgid:8661 ppid:5223 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 vhost_net_stop_vq drivers/vhost/net.c:1340 [inline] vhost_net_stop+0x11e/0x210 drivers/vhost/net.c:1354 vhost_net_release+0x104/0x470 drivers/vhost/net.c:1379 __fput+0x24a/0x8a0 fs/file_table.c:422 task_work_run+0x24f/0x310 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f71685779f9 RSP: 002b:00007ffe24925b78 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f7168707a80 RCX: 00007f71685779f9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f7168707a80 R08: 0000000000000006 R09: 00007ffe24925e5f R10: 00000000005f54a0 R11: 0000000000000246 R12: 0000000000048c7d R13: 00007ffe24925c70 R14: 00007ffe24925c90 R15: ffffffffffffffff INFO: task vhost-8662:8663 blocked for more than 145 seconds. Not tainted 6.11.0-rc1-syzkaller-00293-gdefaf1a2113a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:vhost-8662 state:D stack:23696 pid:8663 tgid:8661 ppid:5223 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x705/0xa40 kernel/locking/rwsem.c:1528 filemap_invalidate_lock_shared include/linux/fs.h:854 [inline] page_cache_ra_unbounded+0xf7/0x7f0 mm/readahead.c:225 do_sync_mmap_readahead+0x49c/0x970 filemap_fault+0x828/0x1760 mm/filemap.c:3314 __do_fault+0x135/0x460 mm/memory.c:4655 do_read_fault mm/memory.c:5061 [inline] do_fault mm/memory.c:5191 [inline] do_pte_missing mm/memory.c:3947 [inline] handle_pte_fault+0x3b24/0x6eb0 mm/memory.c:5522 __handle_mm_fault mm/memory.c:5665 [inline] handle_mm_fault+0xf70/0x1880 mm/memory.c:5833 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x2b9/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:__get_user_nocheck_2+0xa/0x20 arch/x86/lib/getuser.S:120 Code: 01 ca c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 01 cb 0f ae e8 <0f> b7 10 31 c0 0f 01 ca c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc90003ca76e8 EFLAGS: 00050202 RAX: 00000000200002c2 RBX: ffff888054920290 RCX: dffffc0000000000 RDX: ffffc900141b5000 RSI: 00000000000000b9 RDI: 00000000000000ba RBP: ffffc90003ca76f0 R08: ffffffff88fa7f56 R09: 0000000000000000 R10: ffffc90003ca7960 R11: fffff52000794f2e R12: ffff888054920390 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880549201e0 vhost_get_avail_idx+0xd5/0x410 drivers/vhost/vhost.c:1354 vhost_get_vq_desc+0x146/0x2740 drivers/vhost/vhost.c:2588 get_rx_bufs drivers/vhost/net.c:1041 [inline] handle_rx+0x825/0x1fe0 drivers/vhost/net.c:1140 vhost_run_work_list+0x145/0x1c0 drivers/vhost/vhost.c:407 vhost_task_fn+0x267/0x3f0 kernel/vhost_task.c:49 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e7377e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e7377e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e7377e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6620 3 locks held by kworker/u8:16/3037: 2 locks held by getty/4976: #0: ffff88802f8e90a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ac/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by kworker/0:3/5260: #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90003db7d00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90003db7d00 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 3 locks held by kworker/0:7/5319: 1 lock held by syz.4.813/7860: 1 lock held by syz.2.1060/8564: 1 lock held by syz.1.1090/8661: #0: ffff888054920258 (&vq->mutex){+.+.}-{3:3}, at: vhost_net_stop_vq drivers/vhost/net.c:1340 [inline] #0: ffff888054920258 (&vq->mutex){+.+.}-{3:3}, at: vhost_net_stop+0x11e/0x210 drivers/vhost/net.c:1354 2 locks held by vhost-8662/8663: #0: ffff888054920258 (&vq->mutex){+.+.}-{3:3}, at: handle_rx+0x1c5/0x1fe0 drivers/vhost/net.c:1115 #1: ffff88801d942040 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:854 [inline] #1: ffff88801d942040 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xf7/0x7f0 mm/readahead.c:225 1 lock held by syz.3.1146/8837: #0: ffff88801d942040 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:854 [inline] #0: ffff88801d942040 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xf7/0x7f0 mm/readahead.c:225 1 lock held by syz.3.1146/8842: #0: ffff88801d942040 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:854 [inline] #0: ffff88801d942040 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xf7/0x7f0 mm/readahead.c:225 1 lock held by syz.3.1146/8846: #0: ffff88801d942040 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:844 [inline] #0: ffff88801d942040 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1fc/0x530 block/fops.c:807 3 locks held by syz.2.1686/12402: #0: ffffffff8fa61490 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4c6/0x7b0 net/core/net_namespace.c:504 #1: ffffffff8fa6e008 (rtnl_mutex){+.+.}-{3:3}, at: setup_net+0x83d/0xca0 net/core/net_namespace.c:365 #2: ffffffff8e73cbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:328 [inline] #2: ffffffff8e73cbb8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:958 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc1-syzkaller-00293-gdefaf1a2113a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 12391 Comm: syz.3.1685 Not tainted 6.11.0-rc1-syzkaller-00293-gdefaf1a2113a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:87 [inline] RIP: 0010:check_preemption_disabled+0x5d/0x120 lib/smp_processor_id.c:19 Code: 28 00 00 00 48 3b 44 24 08 0f 85 ce 00 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5e 41 5f c3 cc cc cc cc 48 c7 04 24 00 00 00 00 9c <8f> 04 24 f7 04 24 00 02 00 00 74 c5 49 89 f6 49 89 ff 65 4c 8b 24 RSP: 0018:ffffc9000fbaf300 EFLAGS: 00000046 RAX: 0000000080000000 RBX: 0000000000000000 RCX: ffffffff816fbac4 RDX: 0000000000000000 RSI: ffffffff8beae240 RDI: ffffffff8c3f8900 RBP: ffffc9000fbaf488 R08: ffffffff8ff6816f R09: 1ffffffff1fed02d R10: dffffc0000000000 R11: fffffbfff1fed02e R12: 1ffff92001f75e70 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000246 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020073000 CR3: 000000000e534000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:461 [inline] lock_acquire+0x1b0/0x550 kernel/locking/lockdep.c:5758 rcu_lock_acquire include/linux/rcupdate.h:326 [inline] rcu_read_lock include/linux/rcupdate.h:838 [inline] is_bpf_text_address+0x46/0x2a0 kernel/bpf/core.c:767 kernel_text_address+0xa7/0xe0 kernel/extable.c:125 __kernel_text_address+0xd/0x40 kernel/extable.c:79 unwind_get_return_address+0x5d/0xc0 arch/x86/kernel/unwind_orc.c:369 arch_stack_walk+0x125/0x1b0 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x75/0x3f0 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1094 [inline] free_unref_page+0xd19/0xea0 mm/page_alloc.c:2612 vfree+0x186/0x2e0 mm/vmalloc.c:3364 kcov_put kernel/kcov.c:429 [inline] kcov_close+0x2b/0x50 kernel/kcov.c:525 __fput+0x24a/0x8a0 fs/file_table.c:422 task_work_run+0x24f/0x310 kernel/task_work.c:228 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xa2f/0x27f0 kernel/exit.c:882 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 get_signal+0x1695/0x1730 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f40aeb779f9 Code: Unable to access opcode bytes at 0x7f40aeb779cf. RSP: 002b:00007f40af979048 EFLAGS: 00000246 ORIG_RAX: 000000000000001d RAX: 0000000000000000 RBX: 00007f40aed06058 RCX: 00007f40aeb779f9 RDX: 0000000000000800 RSI: 0000000000003000 RDI: 0000000000000000 RBP: 00007f40aebe58ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020ffb000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f40aed06058 R15: 00007ffc4339b408