INFO: task syz-executor.4:1697 blocked for more than 147 seconds. Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28544 pid:1697 tgid:1694 ppid:26981 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:805 [inline] lookup_slow fs/namei.c:1708 [inline] walk_component+0x342/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2485 filename_lookup+0x1e5/0x5b0 fs/namei.c:2514 user_path_at_empty+0x42/0x60 fs/namei.c:2921 user_path_at include/linux/namei.h:57 [inline] do_mount fs/namespace.c:3689 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __x64_sys_mount+0x1ff/0x320 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2af8c7dd69 RSP: 002b:00007f2af87ff0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f2af8dac050 RCX: 00007f2af8c7dd69 RDX: 0000000020000180 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007f2af8cca49e R08: 0000000020001440 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f2af8dac050 R15: 00007fff68895b68 INFO: task syz-executor.4:1702 blocked for more than 147 seconds. Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29728 pid:1702 tgid:1694 ppid:26981 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline] __down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:830 [inline] filename_create+0x1c2/0x530 fs/namei.c:3892 do_mkdirat+0xab/0x3a0 fs/namei.c:4138 __do_sys_mkdirat fs/namei.c:4161 [inline] __se_sys_mkdirat fs/namei.c:4159 [inline] __x64_sys_mkdirat+0x114/0x170 fs/namei.c:4159 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2af8c7dd69 RSP: 002b:00007f2af87de0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f2af8dac120 RCX: 00007f2af8c7dd69 RDX: 0000000000000000 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f2af8cca49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f2af8dac120 R15: 00007fff68895b68 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 4 locks held by kworker/1:1/44: #0: ffff8880b953ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 #1: ffff8880b9528a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 #2: ffffffff9486c590 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:978 [inline] #2: ffffffff9486c590 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0x1d0/0x600 lib/debugobjects.c:1019 #3: ffff8880b952a858 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x6c1/0xdc0 kernel/time/timer.c:1165 5 locks held by kworker/0:3/1167: 2 locks held by getty/4833: #0: ffff88802aa7e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.4/1695: 1 lock held by syz-executor.4/1697: #0: ffff8880553186d0 (&type->i_mutex_dir_key#29){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff8880553186d0 (&type->i_mutex_dir_key#29){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff8880553186d0 (&type->i_mutex_dir_key#29){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 2 locks held by syz-executor.4/1702: #0: ffff88802b400420 (sb_writers#39){.+.+}-{0:0}, at: filename_create+0x10d/0x530 fs/namei.c:3885 #1: ffff8880553186d0 (&type->i_mutex_dir_key#29/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff8880553186d0 (&type->i_mutex_dir_key#29/1){+.+.}-{3:3}, at: filename_create+0x1c2/0x530 fs/namei.c:3892 1 lock held by syz-executor.3/1706: #0: ffffffff8d7bc538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffffffff8d7bc538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x7a0 kernel/rcu/tree_exp.h:939 2 locks held by syz-executor.0/3856: #0: ffff8880b943ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 #1: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #1: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #1: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: __pte_offset_map+0x42/0x540 mm/pgtable-generic.c:285 3 locks held by kvm-nx-lpage-re/3857: #0: ffffffff8d8015c8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:368 [inline] #0: ffffffff8d8015c8 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_attach_task_all+0x25/0x130 kernel/cgroup/cgroup-v1.c:61 #1: ffffffff8d6545b0 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock+0x12/0x40 kernel/cgroup/cgroup.c:2413 #2: ffffffff8d801390 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2415 [inline] #2: ffffffff8d801390 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock+0x37/0x40 kernel/cgroup/cgroup.c:2411 3 locks held by syz-executor.0/3862: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:380 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 44 Comm: kworker/1:1 Not tainted 6.9.0-rc7-syzkaller-00012-gdccb07f2914c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events_power_efficient wg_ratelimiter_gc_entries RIP: 0010:hlock_class+0x1d/0x130 kernel/locking/lockdep.c:223 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 48 b8 00 00 00 00 00 fc ff df 53 48 89 fb 48 83 c7 20 48 89 fa 48 c1 ea 03 0f b6 04 02 <84> c0 74 08 3c 03 0f 8e da 00 00 00 0f b7 5b 20 66 81 e3 ff 1f 0f RSP: 0018:ffffc90000b47a18 EFLAGS: 00000802 RAX: 0000000000000000 RBX: ffff888019ad0b00 RCX: 0000000000000000 RDX: 1ffff1100335a164 RSI: 0000000000000008 RDI: ffff888019ad0b20 RBP: dffffc0000000000 R08: 0000000000000004 R09: fffffbfff27bba38 R10: ffffffff93ddd1c7 R11: 0000000000000002 R12: ffffed100335a15a R13: ffff888019ad0ad8 R14: 0000000000000001 R15: 0000000000000004 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe58b9ad988 CR3: 000000000d57a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_wait_context kernel/locking/lockdep.c:4798 [inline] __lock_acquire+0x5e0/0x3b30 kernel/locking/lockdep.c:5087 lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5719 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] wg_ratelimiter_gc_entries+0xc6/0x520 drivers/net/wireguard/ratelimiter.c:63 process_one_work+0x9a9/0x1ac0 kernel/workqueue.c:3267 process_scheduled_works kernel/workqueue.c:3348 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3429 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244