INFO: task syz-executor.2:31095 blocked for more than 143 seconds. Not tainted 6.0.0-rc6-syzkaller-00009-g60891ec99e14 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27248 pid:31095 ppid: 26297 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0x91f/0xdf0 kernel/sched/core.c:6494 schedule+0xcb/0x190 kernel/sched/core.c:6570 rwsem_down_write_slowpath+0xf1c/0x1350 kernel/locking/rwsem.c:1182 __down_write_common kernel/locking/rwsem.c:1297 [inline] __down_write kernel/locking/rwsem.c:1306 [inline] down_write_nested+0x16c/0x180 kernel/locking/rwsem.c:1663 lock_rename+0x182/0x1a0 do_renameat2+0x4a0/0x1370 fs/namei.c:4848 __do_sys_rename fs/namei.c:4953 [inline] __se_sys_rename fs/namei.c:4951 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:4951 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9ae8a89409 RSP: 002b:00007f9ae9be6168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f9ae8b9c2c0 RCX: 00007f9ae8a89409 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000020000100 RBP: 00007f9ae8ae4367 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fffe111047f R14: 00007f9ae9be6300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cb233f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cb23bf0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8cb23220 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3291: #0: ffff8880274e3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.1/3620: #0: ffffffff8cb28838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff8cb28838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x365/0x720 kernel/rcu/tree_exp.h:940 1 lock held by syz-executor.5/3624: #0: ffffffff8cb28838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #0: ffffffff8cb28838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x291/0x720 kernel/rcu/tree_exp.h:940 2 locks held by kworker/0:12/4753: #0: ffff888012066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90015e27d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 3 locks held by syz-executor.2/31094: 2 locks held by syz-executor.2/31095: #0: ffff88807998c460 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:393 #1: ffff88804212fc00 (&type->i_mutex_dir_key#9/1){+.+.}-{3:3}, at: lock_rename+0x182/0x1a0 3 locks held by syz-executor.2/3056: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.0.0-rc6-syzkaller-00009-g60891ec99e14 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 nmi_cpu_backtrace+0x425/0x450 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x169/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4080 Comm: syz-fuzzer Not tainted 6.0.0-rc6-syzkaller-00009-g60891ec99e14 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0033:0x4137cd Code: c1 e8 0d 48 25 ff 1f 00 00 48 8b 94 c2 00 00 20 00 48 89 f0 eb 02 31 d2 48 89 54 24 20 48 85 d2 0f 84 8e 00 00 00 40 8a 72 63 <40> 80 fe 01 75 13 4c 8b 42 18 4c 39 c0 72 0a 0f 1f 40 00 48 39 42 RSP: 002b:000000c000241e50 EFLAGS: 00000206 RAX: 000000c0064d65d0 RBX: 000000c0064d6600 RCX: 0000000000000020 RDX: 00007fe9f3f7e588 RSI: 000000c0064d6501 RDI: 000000c00c959800 RBP: 000000c000241e78 R08: 0000000000000000 R09: 00007fe9f4131b31 R10: ffffffffffffffd0 R11: 00007fe9f420afff R12: 000000c0064d6600 R13: 000000c0064d65d0 R14: 000000c003233380 R15: ffffffffffffffff FS: 000000c016f7e090 GS: 0000000000000000