INFO: task syz.3.604:6906 blocked for more than 145 seconds. Not tainted 6.1.108-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.604 state:D stack:24512 pid:6906 ppid:5192 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693 rwsem_down_read_slowpath kernel/locking/rwsem.c:1094 [inline] __down_read_common kernel/locking/rwsem.c:1261 [inline] __down_read kernel/locking/rwsem.c:1274 [inline] down_read+0x6ff/0xa30 kernel/locking/rwsem.c:1522 iterate_supers+0xac/0x1e0 fs/super.c:755 ksys_sync+0xb9/0x1c0 fs/sync.c:102 __do_sys_sync+0xa/0x10 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fd03e57cef9 RSP: 002b:00007fd03f40a038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007fd03e736058 RCX: 00007fd03e57cef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fd03e5ef046 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd03e736058 R15: 00007ffd78962db8 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32b190 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d32b990 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/27: #0: ffffffff8d32afc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32afc0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32afc0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494 2 locks held by getty/3397: #0: ffff88802e35b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198 3 locks held by kworker/0:6/3716: #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000405fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8d3305b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #2: ffffffff8d3305b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x930 kernel/rcu/tree_exp.h:962 3 locks held by kworker/u4:12/3943: #0: ffff888017e1e938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90004e97d20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8d330480 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x5f0 kernel/rcu/tree.c:4019 3 locks held by kworker/0:7/4040: #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000325fd20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff888054e96240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2cd/0x4120 drivers/net/netdevsim/fib.c:1489 1 lock held by syz-executor/5196: #0: ffff88807cb4c0e0 (&type->s_umount_key#107){++++}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:362 2 locks held by kworker/0:9/6437: #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90004e4fd20 (key_gc_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 1 lock held by syz.3.604/6906: #0: ffff88807cb4c0e0 (&type->s_umount_key#107){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:755 1 lock held by syz.3.761/7996: #0: ffff888063b50070 (&dev->mutex#4){+.+.}-{3:3}, at: vhost_vsock_dev_ioctl+0x2a5/0xf80 drivers/vhost/vsock.c:861 1 lock held by syz.3.761/7998: #0: ffff888063b50070 (&dev->mutex#4){+.+.}-{3:3}, at: vhost_vsock_dev_ioctl+0x2a5/0xf80 drivers/vhost/vsock.c:861 1 lock held by syz.3.761/8000: #0: ffff888063b50070 (&dev->mutex#4){+.+.}-{3:3}, at: vhost_vsock_dev_ioctl+0x2a5/0xf80 drivers/vhost/vsock.c:861 1 lock held by syz.3.761/8003: #0: ffff888063b50070 (&dev->mutex#4){+.+.}-{3:3}, at: vhost_vsock_dev_ioctl+0x2a5/0xf80 drivers/vhost/vsock.c:861 1 lock held by syz.3.761/8005: #0: ffff888063b50070 (&dev->mutex#4){+.+.}-{3:3}, at: vhost_vsock_dev_ioctl+0x2a5/0xf80 drivers/vhost/vsock.c:861 1 lock held by kvm-nx-lpage-re/7995: #0: ffffffff8d3536e8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:442 [inline] #0: ffffffff8d3536e8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x23/0xe0 kernel/cgroup/cgroup-v1.c:61 4 locks held by vhost-7996/7997: #0: ffffffff8d3536e8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:442 [inline] #0: ffffffff8d3536e8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x23/0xe0 kernel/cgroup/cgroup-v1.c:61 #1: ffffffff8d1c83b0 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock+0xd/0x30 kernel/cgroup/cgroup.c:2453 #2: ffffffff8d3538d0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_task_all+0x2d/0xe0 kernel/cgroup/cgroup-v1.c:62 #3: ffffffff8d3305b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #3: ffffffff8d3305b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x360/0x930 kernel/rcu/tree_exp.h:962 1 lock held by kvm-nx-lpage-re/8004: #0: ffffffff8d3536e8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:442 [inline] #0: ffffffff8d3536e8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x23/0xe0 kernel/cgroup/cgroup-v1.c:61 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.1.108-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ae/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 7996 Comm: syz.3.761 Not tainted 6.1.108-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__preempt_count_add kernel/rcu/tree.c:717 [inline] RIP: 0010:rcu_is_watching+0x4/0xb0 kernel/rcu/tree.c:720 Code: 21 02 0f 84 02 ff ff ff e9 6c ff ff ff 48 c7 c7 20 19 33 8d 4c 89 f6 e8 9a 2c f1 02 e9 2b ff ff ff e8 40 23 33 09 41 57 41 56 <53> 65 ff 05 2c 07 8f 7e e8 7f 3b 33 09 89 c3 83 f8 08 73 76 49 bf RSP: 0018:ffffc9000391e0e8 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff816a82fb RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e99db28 RBP: ffffc9000391e248 R08: dffffc0000000000 R09: fffffbfff1d33b66 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000723c28 R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff92000723c58 FS: 00007f5c469ff6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000456e9000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xfa/0x5a0 kernel/locking/lockdep.c:5633 folio_memcg_lock+0x1a1/0x380 mm/memcontrol.c:2109 page_remove_rmap+0x2e/0xed0 mm/rmap.c:1426 __split_huge_pmd_locked mm/huge_memory.c:2274 [inline] __split_huge_pmd+0x2a6c/0x4380 mm/huge_memory.c:2307 try_to_migrate_one+0x436/0x2af0 mm/rmap.c:1866 rmap_walk_anon+0x393/0x6c0 mm/rmap.c:2451 try_to_migrate+0x3da/0x4a0 unmap_folio mm/huge_memory.c:2387 [inline] split_huge_page_to_list+0x877/0x6b00 mm/huge_memory.c:2735 split_folio_to_list include/linux/huge_mm.h:444 [inline] shrink_folio_list+0x3430/0x8f40 mm/vmscan.c:1842 reclaim_folio_list+0x135/0x410 mm/vmscan.c:2688 reclaim_pages+0x5b8/0x720 mm/vmscan.c:2724 madvise_cold_or_pageout_pte_range+0x2301/0x2960 mm/madvise.c:403 walk_pmd_range mm/pagewalk.c:128 [inline] walk_pud_range mm/pagewalk.c:205 [inline] walk_p4d_range mm/pagewalk.c:240 [inline] walk_pgd_range+0xb28/0x13d0 mm/pagewalk.c:277 __walk_page_range+0x137/0x5c0 mm/pagewalk.c:379 walk_page_range+0x4ef/0x6d0 mm/pagewalk.c:477 madvise_pageout_page_range mm/madvise.c:552 [inline] madvise_pageout mm/madvise.c:589 [inline] madvise_vma_behavior mm/madvise.c:1021 [inline] madvise_walk_vmas mm/madvise.c:1250 [inline] do_madvise+0x2b12/0x4470 mm/madvise.c:1429 __do_sys_madvise mm/madvise.c:1442 [inline] __se_sys_madvise mm/madvise.c:1440 [inline] __x64_sys_madvise+0xa1/0xb0 mm/madvise.c:1440 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f5c46b7cef9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5c469ff038 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f5c46d36058 RCX: 00007f5c46b7cef9 RDX: 0000000000000015 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007f5c46bef046 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f5c46d36058 R15: 00007ffeb7626ff8