INFO: task syz.3.819:7889 blocked for more than 144 seconds. Not tainted 6.1.133-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.819 state:D stack:21304 pid:7889 ppid:4251 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6561 schedule+0xbf/0x180 kernel/sched/core.c:6637 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6696 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:0x7f00f018d169 RSP: 002b:00007f00effbd038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f00f03a6160 RCX: 00007f00f018d169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f00f03a6160 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f00f03a6160 R15: 00007fff38f318e8 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32e910 (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: ffffffff8d32f110 (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/28: #0: ffffffff8d32e740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32e740 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32e740 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6510 2 locks held by getty/4012: #0: ffff88814d072098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000325e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x54a/0x1620 drivers/tty/n_tty.c:2198 1 lock held by syz-executor/4241: #0: ffff8880b8f3a998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 1 lock held by syz-executor/4253: #0: ffff88802c4060e0 (&type->s_umount_key#103){++++}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:362 2 locks held by kworker/u4:19/6205: 4 locks held by kworker/u4:20/6209: #0: ffff888017e16938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 #1: ffffc9001be2fd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 #2: ffffffff8e544110 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x166/0xd20 net/core/net_namespace.c:594 #3: ffffffff8d333c40 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x5f0 kernel/rcu/tree.c:4019 2 locks held by kworker/1:9/7457: #0: ffff888017c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 #1: ffffc90005887d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x806/0x1260 kernel/workqueue.c:2267 1 lock held by syz.3.819/7889: #0: ffff88802c4060e0 (&type->s_umount_key#103){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:755 1 lock held by syz.0.934/8356: #0: ffff88802c4060e0 (&type->s_umount_key#103){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:755 1 lock held by syz.6.1080/8982: 4 locks held by kvm-nx-lpage-re/8976: #0: ffffffff8d357508 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:442 [inline] #0: ffffffff8d357508 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x23/0xe0 kernel/cgroup/cgroup-v1.c:61 #1: ffffffff8d1cad90 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock+0xd/0x30 kernel/cgroup/cgroup.c:2453 #2: ffffffff8d3576f0 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_task_all+0x2d/0xe0 kernel/cgroup/cgroup-v1.c:62 #3: ffffffff8d333d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #3: ffffffff8d333d78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.133-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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+0x1ca/0x430 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3612 Comm: klogd Not tainted 6.1.133-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:match_held_lock+0x1/0xb0 kernel/locking/lockdep.c:5107 Code: 57 ef 03 00 75 cf 48 c7 c7 60 1c 0c 8b 48 c7 c6 a0 1c 0c 8b e8 80 26 a1 f6 0f 0b eb b6 e8 e7 fa ff ff 0f 1f 80 00 00 00 00 55 <53> bd 01 00 00 00 48 39 77 10 74 67 48 89 fb 81 7f 20 00 00 10 00 RSP: 0018:ffffc900032b75e8 EFLAGS: 00000083 RAX: 0000000000000004 RBX: 0000000000000001 RCX: 0000000080000004 RDX: 1ffff1100fb96d85 RSI: ffffffff8d32e6c0 RDI: ffff88807c4d8b08 RBP: ffff88807c4d8b08 R08: 0000000000000000 R09: 1ffff1100fb96b2a R10: ffff88807dcb5954 R11: ffffffff901d1010 R12: 0000000000000046 R13: ffff88807c4d8000 R14: 00000000ffffffff R15: ffffffff8d32e6c0 FS: 00007f387d7a1380(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c426950 CR3: 0000000018a28000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held kernel/locking/lockdep.c:5403 [inline] lock_is_held_type+0xa4/0x180 kernel/locking/lockdep.c:5705 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x89/0x130 kernel/rcu/update.c:125 task_css_set include/linux/cgroup.h:496 [inline] task_dfl_cgroup include/linux/cgroup.h:565 [inline] task_psi_group+0x50/0x1a0 kernel/sched/psi.c:892 psi_task_change+0xc5/0x260 kernel/sched/psi.c:922 psi_enqueue kernel/sched/stats.h:143 [inline] enqueue_task+0x28e/0x2e0 kernel/sched/core.c:2055 activate_task kernel/sched/core.c:2087 [inline] ttwu_do_activate+0x1b4/0x370 kernel/sched/core.c:3699 ttwu_queue kernel/sched/core.c:3904 [inline] try_to_wake_up+0x6f6/0x1250 kernel/sched/core.c:4227 autoremove_wake_function+0x12/0x110 kernel/sched/wait.c:419 __wake_up_common+0x2a0/0x4e0 kernel/sched/wait.c:107 __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up_sync_key+0x114/0x1c0 kernel/sched/wait.c:208 sock_def_readable+0x15b/0x280 net/core/sock.c:3308 unix_dgram_sendmsg+0x153d/0x2060 net/unix/af_unix.c:2058 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg net/socket.c:730 [inline] __sys_sendto+0x480/0x600 net/socket.c:2153 __do_sys_sendto net/socket.c:2165 [inline] __se_sys_sendto net/socket.c:2161 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2161 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:0x7f387d9039b5 Code: 8b 44 24 08 48 83 c4 28 48 98 c3 48 98 c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 26 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 7a 48 8b 15 44 c4 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffd8a4421f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f387d9039b5 RDX: 0000000000000050 RSI: 000055ed7e796e20 RDI: 0000000000000003 RBP: 000055ed7e790910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013 R13: 00007f387da91212 R14: 00007ffd8a4422f8 R15: 0000000000000000