INFO: task syz-executor.3:13239 blocked for more than 144 seconds. Not tainted 6.2.0-syzkaller-13154-g857f1268a591 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24032 pid:13239 ppid:5105 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0x17d8/0x4990 kernel/sched/core.c:6622 schedule+0xc3/0x180 kernel/sched/core.c:6698 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 lock_rename+0x186/0x1a0 ovl_workdir_ok fs/overlayfs/super.c:981 [inline] ovl_get_workdir+0x211/0x17c0 fs/overlayfs/super.c:1424 ovl_fill_super+0x1c64/0x2bd0 fs/overlayfs/super.c:2000 mount_nodev+0x56/0xe0 fs/super.c:1417 legacy_get_tree+0xef/0x190 fs/fs_context.c:610 vfs_get_tree+0x8c/0x270 fs/super.c:1501 do_new_mount+0x28f/0xae0 fs/namespace.c:3042 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3571 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6e0828c0f9 RSP: 002b:00007f6dfeadd168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f6e083ac050 RCX: 00007f6e0828c0f9 RDX: 0000000020000240 RSI: 0000000020000580 RDI: 0000000020000f5c RBP: 00007f6e082e7ae9 R08: 0000000020000280 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeb497bf3f R14: 00007f6dfeadd300 R15: 0000000000022000 INFO: task syz-executor.3:13240 blocked for more than 145 seconds. Not tainted 6.2.0-syzkaller-13154-g857f1268a591 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24736 pid:13240 ppid:5105 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0x17d8/0x4990 kernel/sched/core.c:6622 schedule+0xc3/0x180 kernel/sched/core.c:6698 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757 rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:793 [inline] udf_rename+0x455/0xf30 fs/udf/namei.c:800 vfs_rename+0xb1b/0xfa0 fs/namei.c:4772 do_renameat2+0xb9b/0x13c0 fs/namei.c:4923 __do_sys_renameat2 fs/namei.c:4956 [inline] __se_sys_renameat2 fs/namei.c:4953 [inline] __x64_sys_renameat2+0xd2/0xe0 fs/namei.c:4953 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6e0828c0f9 RSP: 002b:00007f6dfeabc168 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f6e083ac120 RCX: 00007f6e0828c0f9 RDX: 0000000000000004 RSI: 0000000020000240 RDI: 0000000000000004 RBP: 00007f6e082e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000100 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeb497bf3f R14: 00007f6dfeabc300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:0/9: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0 #1: ffffc900000e7d20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d127af0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d1282f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8d127920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4749: #0: ffff88814a1da098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 4 locks held by kworker/u4:10/5944: 4 locks held by syz-executor.3/13239: #0: ffff88808134e0e0 (&type->s_umount_key#54/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 #1: ffff88802a796748 (&type->s_vfs_rename_key#2){+.+.}-{3:3}, at: lock_rename+0x58/0x1a0 fs/namei.c:2995 #2: ffff888089598f78 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: lock_rename+0x13e/0x1a0 #3: ffff88808959cf88 (&type->i_mutex_dir_key#12/5){+.+.}-{3:3}, at: lock_rename+0x186/0x1a0 4 locks held by syz-executor.3/13240: #0: ffff88802a796460 (sb_writers#22){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394 #1: ffff8880847de928 (&type->i_mutex_dir_key#12/1){+.+.}-{3:3}, at: lock_rename+0x186/0x1a0 #2: ffff88808959cf88 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff88808959cf88 (&type->i_mutex_dir_key#12){++++}-{3:3}, at: vfs_rename+0x617/0xfa0 fs/namei.c:4744 #3: ffff888089598f78 (&type->i_mutex_dir_key#12/4){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #3: ffff888089598f78 (&type->i_mutex_dir_key#12/4){+.+.}-{3:3}, at: udf_rename+0x455/0xf30 fs/udf/namei.c:800 2 locks held by syz-executor.2/14263: 2 locks held by syz-executor.5/14256: #0: ffffffff8e289f90 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x4af/0x790 net/core/net_namespace.c:486 #1: ffffffff8e296508 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x1f/0x1e0 drivers/net/wireguard/device.c:420 3 locks held by syz-executor.3/14269: 2 locks held by syz-executor.1/14274: 6 locks held by syz-executor.4/14281: 1 lock held by syz-executor.0/14282: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-syzkaller-13154-g857f1268a591 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e5/0x560 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x1b4/0x410 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0x1024/0x1070 kernel/hung_task.c:379 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] NMI backtrace for cpu 0 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:86 [inline] NMI backtrace for cpu 0 skipped: idling at acpi_safe_halt+0x20/0x30 drivers/acpi/processor_idle.c:112