INFO: task jbd2/sda1-8:4409 blocked for more than 143 seconds. Not tainted 6.2.0-next-20230303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jbd2/sda1-8 state:D stack:24976 pid:4409 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5305 [inline] __schedule+0x24b4/0x5ac0 kernel/sched/core.c:6623 schedule+0xde/0x1a0 kernel/sched/core.c:6699 jbd2_journal_wait_updates+0x120/0x240 fs/jbd2/transaction.c:862 jbd2_journal_commit_transaction+0x7ad/0x6a70 fs/jbd2/commit.c:458 kjournald2+0x1d4/0x890 fs/jbd2/journal.c:209 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.2:5122 blocked for more than 143 seconds. Not tainted 6.2.0-next-20230303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:23952 pid:5122 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5305 [inline] __schedule+0x24b4/0x5ac0 kernel/sched/core.c:6623 schedule+0xde/0x1a0 kernel/sched/core.c:6699 jbd2_log_wait_commit+0x2d6/0x430 fs/jbd2/journal.c:708 jbd2_journal_stop+0x5f5/0xfd0 fs/jbd2/transaction.c:1959 __ext4_journal_stop+0xe2/0x1f0 fs/ext4/ext4_jbd2.c:133 __ext4_unlink+0x6a5/0xcd0 fs/ext4/namei.c:3274 ext4_unlink+0x1e6/0x850 fs/ext4/namei.c:3299 vfs_unlink+0x355/0x930 fs/namei.c:4250 do_unlinkat+0x3df/0x670 fs/namei.c:4316 __do_sys_unlink fs/namei.c:4364 [inline] __se_sys_unlink fs/namei.c:4362 [inline] __x64_sys_unlink+0xca/0x110 fs/namei.c:4362 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7c0728ba67 RSP: 002b:00007fffef29d818 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7c0728ba67 RDX: 00007fffef29d850 RSI: 00007fffef29d850 RDI: 00007fffef29d8e0 RBP: 00007fffef29d8e0 R08: 0000000000000001 R09: 00007fffef29d6b0 R10: 0000555556ea2873 R11: 0000000000000206 R12: 00007f7c072e6b24 R13: 00007fffef29e9a0 R14: 0000555556ea2810 R15: 00007fffef29e9e0 INFO: task syz-executor.0:16359 blocked for more than 143 seconds. Not tainted 6.2.0-next-20230303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24160 pid:16359 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5305 [inline] __schedule+0x24b4/0x5ac0 kernel/sched/core.c:6623 schedule+0xde/0x1a0 kernel/sched/core.c:6699 jbd2_log_wait_commit+0x2d6/0x430 fs/jbd2/journal.c:708 jbd2_journal_stop+0x5f5/0xfd0 fs/jbd2/transaction.c:1959 __ext4_journal_stop+0xe2/0x1f0 fs/ext4/ext4_jbd2.c:133 __ext4_unlink+0x6a5/0xcd0 fs/ext4/namei.c:3274 ext4_unlink+0x1e6/0x850 fs/ext4/namei.c:3299 vfs_unlink+0x355/0x930 fs/namei.c:4250 do_unlinkat+0x3df/0x670 fs/namei.c:4316 __do_sys_unlink fs/namei.c:4364 [inline] __se_sys_unlink fs/namei.c:4362 [inline] __x64_sys_unlink+0xca/0x110 fs/namei.c:4362 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb15c48ba67 RSP: 002b:00007fffe2b55188 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fb15c48ba67 RDX: 00007fffe2b551c0 RSI: 00007fffe2b551c0 RDI: 00007fffe2b55250 RBP: 00007fffe2b55250 R08: 0000000000000001 R09: 00007fffe2b55020 R10: 000055555574e873 R11: 0000000000000206 R12: 00007fb15c4e6b24 R13: 00007fffe2b56310 R14: 000055555574e810 R15: 00007fffe2b56350 INFO: task syz-executor.4:26110 blocked for more than 144 seconds. Not tainted 6.2.0-next-20230303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:24472 pid:26110 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5305 [inline] __schedule+0x24b4/0x5ac0 kernel/sched/core.c:6623 schedule+0xde/0x1a0 kernel/sched/core.c:6699 jbd2_log_wait_commit+0x2d6/0x430 fs/jbd2/journal.c:708 jbd2_journal_stop+0x5f5/0xfd0 fs/jbd2/transaction.c:1959 __ext4_journal_stop+0xe2/0x1f0 fs/ext4/ext4_jbd2.c:133 ext4_rmdir fs/ext4/namei.c:3203 [inline] ext4_rmdir+0xaab/0xef0 fs/ext4/namei.c:3117 vfs_rmdir.part.0+0x1b0/0x5a0 fs/namei.c:4121 vfs_rmdir fs/namei.c:4106 [inline] do_rmdir+0x3a8/0x420 fs/namei.c:4180 __do_sys_unlinkat fs/namei.c:4358 [inline] __se_sys_unlinkat fs/namei.c:4352 [inline] __x64_sys_unlinkat+0xef/0x130 fs/namei.c:4352 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f8172e8ba97 RSP: 002b:00007ffe9dd824e8 EFLAGS: 00000207 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007f8172e8ba97 RDX: 0000000000000200 RSI: 00007ffe9dd83670 RDI: 00000000ffffff9c RBP: 00007ffe9dd825b0 R08: 0000000000000000 R09: 00007ffe9dd82380 R10: 00005555559ac8e3 R11: 0000000000000207 R12: 00007f8172ee6b24 R13: 00007ffe9dd83670 R14: 00005555559ac810 R15: 00007ffe9dd836b0 INFO: task syz-executor.3:29969 blocked for more than 144 seconds. Not tainted 6.2.0-next-20230303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:24528 pid:29969 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5305 [inline] __schedule+0x24b4/0x5ac0 kernel/sched/core.c:6623 schedule+0xde/0x1a0 kernel/sched/core.c:6699 jbd2_log_wait_commit+0x2d6/0x430 fs/jbd2/journal.c:708 jbd2_journal_stop+0x5f5/0xfd0 fs/jbd2/transaction.c:1959 __ext4_journal_stop+0xe2/0x1f0 fs/ext4/ext4_jbd2.c:133 __ext4_unlink+0x6a5/0xcd0 fs/ext4/namei.c:3274 ext4_unlink+0x1e6/0x850 fs/ext4/namei.c:3299 vfs_unlink+0x355/0x930 fs/namei.c:4250 do_unlinkat+0x3df/0x670 fs/namei.c:4316 __do_sys_unlink fs/namei.c:4364 [inline] __se_sys_unlink fs/namei.c:4362 [inline] __x64_sys_unlink+0xca/0x110 fs/namei.c:4362 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f30c908ba67 RSP: 002b:00007ffefd5b0478 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f30c908ba67 RDX: 00007ffefd5b04b0 RSI: 00007ffefd5b04b0 RDI: 00007ffefd5b0540 RBP: 00007ffefd5b0540 R08: 0000000000000001 R09: 00007ffefd5b0310 R10: 000055555619b8e3 R11: 0000000000000206 R12: 00007f30c90e6b24 R13: 00007ffefd5b1600 R14: 000055555619b810 R15: 00007ffefd5b1640 INFO: task syz-executor.5:31190 blocked for more than 144 seconds. Not tainted 6.2.0-next-20230303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:25280 pid:31190 ppid:5120 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5305 [inline] __schedule+0x24b4/0x5ac0 kernel/sched/core.c:6623 schedule+0xde/0x1a0 kernel/sched/core.c:6699 wait_transaction_locked+0x1cc/0x250 fs/jbd2/transaction.c:178 add_transaction_credits+0x10f/0xb70 fs/jbd2/transaction.c:241 start_this_handle+0x3ae/0x14e0 fs/jbd2/transaction.c:422 jbd2__journal_start+0x38a/0x6b0 fs/jbd2/transaction.c:520 __ext4_journal_start_sb+0x706/0x890 fs/ext4/ext4_jbd2.c:111 __ext4_journal_start fs/ext4/ext4_jbd2.h:326 [inline] ext4_dirty_inode+0xa5/0x130 fs/ext4/inode.c:6105 __mark_inode_dirty+0x247/0x1250 fs/fs-writeback.c:2421 generic_update_time+0x21b/0x2b0 fs/inode.c:1860 inode_update_time fs/inode.c:1873 [inline] __file_update_time fs/inode.c:2058 [inline] file_modified_flags+0x2ce/0x320 fs/inode.c:2131 ext4_write_checks fs/ext4/file.c:268 [inline] ext4_buffered_write_iter+0xf9/0x460 fs/ext4/file.c:284 ext4_file_write_iter+0xbe0/0x1740 fs/ext4/file.c:710 __kernel_write_iter+0x262/0x7a0 fs/read_write.c:517 __kernel_write+0xcb/0x110 fs/read_write.c:537 do_acct_process+0xd8d/0x1580 kernel/acct.c:540 slow_acct_process kernel/acct.c:598 [inline] acct_process+0x410/0x570 kernel/acct.c:622 do_exit+0x1979/0x2b60 kernel/exit.c:859 do_group_exit+0xd4/0x2a0 kernel/exit.c:1019 get_signal+0x2315/0x25b0 kernel/signal.c:2859 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:296 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5a2e48c0f9 RSP: 002b:00007f5a2f261168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: 0000000000000044 RBX: 00007f5a2e5ac1f0 RCX: 00007f5a2e48c0f9 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000008 RBP: 00007f5a2e4e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffca83a7abf R14: 00007f5a2f261300 R15: 0000000000022000 INFO: task syz-executor.1:31187 blocked for more than 145 seconds. Not tainted 6.2.0-next-20230303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27816 pid:31187 ppid:16387 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5305 [inline] __schedule+0x24b4/0x5ac0 kernel/sched/core.c:6623 schedule+0xde/0x1a0 kernel/sched/core.c:6699 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6758 rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write_nested+0x1d6/0x200 kernel/locking/rwsem.c:1690 inode_lock_nested include/linux/fs.h:793 [inline] ext4_rename+0x1924/0x26d0 fs/ext4/namei.c:3879 ext4_rename2+0x1c7/0x270 fs/ext4/namei.c:4193 vfs_rename+0xef6/0x17a0 fs/namei.c:4772 do_renameat2+0xb62/0xc90 fs/namei.c:4923 __do_sys_renameat2 fs/namei.c:4956 [inline] __se_sys_renameat2 fs/namei.c:4953 [inline] __x64_sys_renameat2+0xe8/0x120 fs/namei.c:4953 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fadeb88c0f9 RSP: 002b:00007fadec520168 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007fadeb9abf80 RCX: 00007fadeb88c0f9 RDX: 0000000000000003 RSI: 00000000200001c0 RDI: 0000000000000003 RBP: 00007fadeb8e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000200 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff4fb431ff R14: 00007fadec520300 R15: 0000000000022000 INFO: task syz-executor.1:31193 blocked for more than 145 seconds. Not tainted 6.2.0-next-20230303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28400 pid:31193 ppid:16387 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5305 [inline] __schedule+0x24b4/0x5ac0 kernel/sched/core.c:6623 schedule+0xde/0x1a0 kernel/sched/core.c:6699 jbd2_log_wait_commit+0x2d6/0x430 fs/jbd2/journal.c:708 jbd2_journal_stop+0x5f5/0xfd0 fs/jbd2/transaction.c:1959 __ext4_journal_stop+0xe2/0x1f0 fs/ext4/ext4_jbd2.c:133 ext4_create+0x21e/0x4e0 fs/ext4/namei.c:2822 vfs_create fs/namei.c:3118 [inline] vfs_create+0x1a9/0x3a0 fs/namei.c:3102 do_mknodat+0x3d9/0x530 fs/namei.c:3966 __do_sys_mknod fs/namei.c:3999 [inline] __se_sys_mknod fs/namei.c:3997 [inline] __x64_sys_mknod+0x11e/0x180 fs/namei.c:3997 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fadeb88c0f9 RSP: 002b:00007fadea1dd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 00007fadeb9ac1f0 RCX: 00007fadeb88c0f9 RDX: 0000000000000702 RSI: 0000000000000000 RDI: 0000000020000140 RBP: 00007fadeb8e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff4fb431ff R14: 00007fadea1dd300 R15: 0000000000022000 INFO: task syz-executor.1:31194 blocked for more than 145 seconds. Not tainted 6.2.0-next-20230303-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28376 pid:31194 ppid:16387 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5305 [inline] __schedule+0x24b4/0x5ac0 kernel/sched/core.c:6623 schedule+0xde/0x1a0 kernel/sched/core.c:6699 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6758 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa3b/0x1350 kernel/locking/mutex.c:747 lock_rename+0x58/0x280 fs/namei.c:2995 ovl_workdir_ok fs/overlayfs/super.c:981 [inline] ovl_get_workdir fs/overlayfs/super.c:1424 [inline] ovl_fill_super+0x1aba/0x7270 fs/overlayfs/super.c:2000 mount_nodev+0x64/0x120 fs/super.c:1417 legacy_get_tree+0x109/0x220 fs/fs_context.c:610 vfs_get_tree+0x8d/0x350 fs/super.c:1501 do_new_mount fs/namespace.c:3042 [inline] path_mount+0x1342/0x1e40 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3571 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fadeb88c0f9 RSP: 002b:00007fade9fbc168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fadeb9ac2c0 RCX: 00007fadeb88c0f9 RDX: 00000000200002c0 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007fadeb8e7ae9 R08: 0000000020000080 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff4fb431ff R14: 00007fade9fbc300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c7964f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c7961f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8c797040 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6495 4 locks held by klogd/4434: #0: ffff8880b993c298 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:539 #1: ffff88802a0f25b0 (&mm->cid_lock){....}-{2:2}, at: __wake_up_common_lock+0xb8/0x140 kernel/sched/wait.c:137 #2: ffff88807e080970 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xae/0x1bf0 kernel/sched/core.c:4159 #3: ffff8880b993c298 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:539 2 locks held by getty/4759: #0: ffff88802c24c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 3 locks held by syz-fuzzer/5107: #0: ffff888046336368 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe7/0x100 fs/file.c:1046 #1: ffff888082a24030 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: iterate_dir+0xd1/0x6f0 fs/readdir.c:55 #2: ffff88814b4d6460 (sb_writers#4){.+.+}-{0:0}, at: file_accessed include/linux/fs.h:2181 [inline] #2: ffff88814b4d6460 (sb_writers#4){.+.+}-{0:0}, at: iterate_dir+0x45d/0x6f0 fs/readdir.c:70 1 lock held by syz-executor.5/5120: #0: ffff88807ac8b100 (&acct->lock#3){+.+.}-{3:3}, at: acct_get kernel/acct.c:180 [inline] #0: ffff88807ac8b100 (&acct->lock#3){+.+.}-{3:3}, at: slow_acct_process kernel/acct.c:596 [inline] #0: ffff88807ac8b100 (&acct->lock#3){+.+.}-{3:3}, at: acct_process+0x1e3/0x570 kernel/acct.c:622 3 locks held by syz-executor.2/5122: #0: ffff88814b4d6460 (sb_writers#4){.+.+}-{0:0}, at: do_unlinkat+0x18c/0x670 fs/namei.c:4297 #1: ffff88807b9bca38 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff88807b9bca38 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x27c/0x670 fs/namei.c:4301 #2: ffff88807b9bb628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff88807b9bb628 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: vfs_unlink+0xd9/0x930 fs/namei.c:4239 3 locks held by syz-executor.0/16359: #0: ffff88814b4d6460 (sb_writers#4){.+.+}-{0:0}, at: do_unlinkat+0x18c/0x670 fs/namei.c:4297 #1: ffff888033c83628 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff888033c83628 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x27c/0x670 fs/namei.c:4301 #2: ffff888033c87258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff888033c87258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: vfs_unlink+0xd9/0x930 fs/namei.c:4239 3 locks held by syz-executor.4/26110: #0: ffff88814b4d6460 (sb_writers#4){.+.+}-{0:0}, at: do_rmdir+0x1d4/0x420 fs/namei.c:4164 #1: ffff8880804c2218 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff8880804c2218 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_rmdir+0x21f/0x420 fs/namei.c:4168 #2: ffff888082a8d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff888082a8d440 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: vfs_rmdir.part.0+0x63/0x5a0 fs/namei.c:4110 3 locks held by kworker/u4:2/28673: #0: ffff8880b993c298 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2f/0x120 kernel/sched/core.c:539 #1: ffff88802a0f25b0 (&mm->cid_lock){....}-{2:2}, at: mm_cid_get kernel/sched/sched.h:3280 [inline] #1: ffff88802a0f25b0 (&mm->cid_lock){....}-{2:2}, at: switch_mm_cid kernel/sched/sched.h:3302 [inline] #1: ffff88802a0f25b0 (&mm->cid_lock){....}-{2:2}, at: prepare_task_switch kernel/sched/core.c:5114 [inline] #1: ffff88802a0f25b0 (&mm->cid_lock){....}-{2:2}, at: context_switch kernel/sched/core.c:5256 [inline] #1: ffff88802a0f25b0 (&mm->cid_lock){....}-{2:2}, at: __schedule+0x2aef/0x5ac0 kernel/sched/core.c:6623 #2: ffff8880b9929698 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:999 3 locks held by syz-executor.3/29969: #0: ffff88814b4d6460 (sb_writers#4){.+.+}-{0:0}, at: do_unlinkat+0x18c/0x670 fs/namei.c:4297 #1: ffff888033c81810 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff888033c81810 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: do_unlinkat+0x27c/0x670 fs/namei.c:4301 #2: ffff888082a8f258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff888082a8f258 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: vfs_unlink+0xd9/0x930 fs/namei.c:4239 3 locks held by syz-executor.5/31190: #0: ffff88807ac8b100 (&acct->lock#3){+.+.}-{3:3}, at: acct_get kernel/acct.c:180 [inline] #0: ffff88807ac8b100 (&acct->lock#3){+.+.}-{3:3}, at: slow_acct_process kernel/acct.c:596 [inline] #0: ffff88807ac8b100 (&acct->lock#3){+.+.}-{3:3}, at: acct_process+0x1e3/0x570 kernel/acct.c:622 #1: ffff88814b4d6460 (sb_writers#4){.+.+}-{0:0}, at: slow_acct_process kernel/acct.c:598 [inline] #1: ffff88814b4d6460 (sb_writers#4){.+.+}-{0:0}, at: acct_process+0x410/0x570 kernel/acct.c:622 #2: ffff88802e238400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #2: ffff88802e238400 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x460 fs/ext4/file.c:283 6 locks held by syz-executor.1/31187: #0: ffff88814b4d6460 (sb_writers#4){.+.+}-{0:0}, at: do_renameat2+0x37f/0xc90 fs/namei.c:4859 #1: ffff88814b4d6748 (&type->s_vfs_rename_key){+.+.}-{3:3}, at: lock_rename+0x58/0x280 fs/namei.c:2995 #2: ffff888082a93628 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #2: ffff888082a93628 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: lock_rename+0xa4/0x280 fs/namei.c:2999 #3: ffff888077ec6850 (&type->i_mutex_dir_key#3/2){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #3: ffff888077ec6850 (&type->i_mutex_dir_key#3/2){+.+.}-{3:3}, at: lock_rename+0xd8/0x280 fs/namei.c:3000 #4: ffff88802b37a990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xfb4/0x14e0 fs/jbd2/transaction.c:461 #5: ffff888082a1ac20 (&type->i_mutex_dir_key#3/4){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #5: ffff888082a1ac20 (&type->i_mutex_dir_key#3/4){+.+.}-{3:3}, at: ext4_rename+0x1924/0x26d0 fs/ext4/namei.c:3879 2 locks held by syz-executor.1/31193: #0: ffff88814b4d6460 (sb_writers#4){.+.+}-{0:0}, at: filename_create+0xf1/0x4a0 fs/namei.c:3801 #1: ffff888082a1ac20 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline] #1: ffff888082a1ac20 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x1aa/0x4a0 fs/namei.c:3808 2 locks held by syz-executor.1/31194: #0: ffff88803e0660e0 (&type->s_umount_key#54/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb60 fs/super.c:228 #1: ffff88814b4d6748 (&type->s_vfs_rename_key){+.+.}-{3:3}, at: lock_rename+0x58/0x280 fs/namei.c:2995 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-next-20230303-syzkaller #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+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x316/0x3e0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x3a7/0x460 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+0xe94/0x11e0 kernel/hung_task.c:379 kthread+0x2e8/0x3a0 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 CPU: 0 PID: 11 Comm: kworker/u4:1 Not tainted 6.2.0-next-20230303-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x31/0x70 kernel/kcov.c:207 Code: 8d 00 7f 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 80 b8 03 00 a9 00 01 ff 00 74 0e 85 c9 74 35 8b 82 74 15 00 00 <85> c0 74 2b 8b 82 50 15 00 00 83 f8 02 75 20 48 8b 8a 58 15 00 00 RSP: 0018:ffffc90000007c90 EFLAGS: 00000006 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000100 RDX: ffff8880167c3a80 RSI: ffffffff8153af02 RDI: 0000000000000005 RBP: ffffc90000007d60 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802cbcd6d8 R13: ffff88802cbcd720 R14: 0000000000000000 R15: ffff88814a322800 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c019e540d0 CR3: 000000000c571000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:774 [inline] __queue_work+0x8a2/0x1170 kernel/workqueue.c:1447 call_timer_fn+0x1da/0x800 kernel/time/timer.c:1700 expire_timers+0xbb/0x330 kernel/time/timer.c:1746 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035 __do_softirq+0x2e3/0xae3 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:csd_lock_wait kernel/smp.c:413 [inline] RIP: 0010:smp_call_function_many_cond+0x4f3/0x1090 kernel/smp.c:987 Code: 00 45 85 e4 74 48 48 8b 04 24 49 89 c5 83 e0 07 49 c1 ed 03 49 89 c4 4d 01 fd 41 83 c4 03 e8 84 42 0b 00 f3 90 41 0f b6 45 00 <41> 38 c4 7c 08 84 c0 0f 85 98 09 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc90000107950 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff8880b9942f00 RCX: 0000000000000000 RDX: ffff8880167c3a80 RSI: ffffffff8179756c RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000003 R13: ffffed10173285e1 R14: 0000000000000001 R15: dffffc0000000000 on_each_cpu_cond_mask+0x5a/0xa0 kernel/smp.c:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1770 [inline] text_poke_bp_batch+0x634/0x770 arch/x86/kernel/alternative.c:2053 text_poke_flush arch/x86/kernel/alternative.c:2161 [inline] text_poke_flush arch/x86/kernel/alternative.c:2158 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2168 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:829 static_key_disable_cpuslocked+0x156/0x1b0 kernel/jump_label.c:235 static_key_disable+0x1a/0x20 kernel/jump_label.c:243 toggle_allocation_gate mm/kfence/core.c:804 [inline] toggle_allocation_gate+0x143/0x230 mm/kfence/core.c:791 process_one_work+0x9bf/0x1820 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308