INFO: task syz-executor.5:20376 blocked for more than 143 seconds. Not tainted 5.13.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26328 pid:20376 ppid: 8586 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0xb98/0x1120 kernel/sched/core.c:5147 schedule+0x14b/0x200 kernel/sched/core.c:5226 rwsem_down_read_slowpath+0x58f/0x9f0 kernel/locking/rwsem.c:992 __down_read_common+0xaa/0x450 kernel/locking/rwsem.c:1213 inode_lock_shared include/linux/fs.h:784 [inline] lookup_slow fs/namei.c:1645 [inline] walk_component+0x4c8/0x740 fs/namei.c:1942 lookup_last fs/namei.c:2397 [inline] path_lookupat+0x19d/0x9d0 fs/namei.c:2421 filename_lookup+0x259/0x6e0 fs/namei.c:2454 user_path_at include/linux/namei.h:60 [inline] __do_sys_chdir fs/open.c:493 [inline] __se_sys_chdir+0x95/0x290 fs/open.c:487 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 RSP: 002b:00007fa77abb9188 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 000000000056c0f0 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0f0 R13: 00007ffce0e0f33f R14: 00007fa77abb9300 R15: 0000000000022000 INFO: task syz-executor.5:20377 blocked for more than 143 seconds. Not tainted 5.13.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26232 pid:20377 ppid: 8586 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0xb98/0x1120 kernel/sched/core.c:5147 schedule+0x14b/0x200 kernel/sched/core.c:5226 rwsem_down_write_slowpath+0xe52/0x1590 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x165/0x170 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:774 [inline] open_last_lookups fs/namei.c:3282 [inline] path_openat+0x7eb/0x39b0 fs/namei.c:3491 do_filp_open+0x221/0x460 fs/namei.c:3521 do_sys_openat2+0x124/0x460 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_open fs/open.c:1211 [inline] __se_sys_open fs/open.c:1207 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1207 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 RSP: 002b:00007fa77ab98188 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000141142 RDI: 0000000020000080 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007ffce0e0f33f R14: 00007fa77ab98300 R15: 0000000000022000 INFO: task syz-executor.5:20380 blocked for more than 144 seconds. Not tainted 5.13.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28208 pid:20380 ppid: 8586 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0xb98/0x1120 kernel/sched/core.c:5147 schedule+0x14b/0x200 kernel/sched/core.c:5226 rwsem_down_write_slowpath+0xe52/0x1590 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write_nested+0x171/0x180 kernel/locking/rwsem.c:1517 inode_lock_nested include/linux/fs.h:809 [inline] do_rmdir+0x200/0x680 fs/namei.c:3945 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 RSP: 002b:00007fa77ab56188 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 000000000056c318 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c318 R13: 00007ffce0e0f33f R14: 00007fa77ab56300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1632: #0: ffffffff8cf15d00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by systemd-journal/4827: 1 lock held by in:imklog/8082: #0: ffff888013bf40f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:974 2 locks held by syz-executor.5/20347: 1 lock held by syz-executor.5/20376: #0: ffff8880898b0b00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:784 [inline] #0: ffff8880898b0b00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1645 [inline] #0: ffff8880898b0b00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x4c8/0x740 fs/namei.c:1942 2 locks held by syz-executor.5/20377: #0: ffff88808b178460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:375 #1: ffff8880898b0b00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #1: ffff8880898b0b00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: open_last_lookups fs/namei.c:3282 [inline] #1: ffff8880898b0b00 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: path_openat+0x7eb/0x39b0 fs/namei.c:3491 2 locks held by syz-executor.5/20380: #0: ffff88808b178460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:375 #1: ffff8880898b0b00 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:809 [inline] #1: ffff8880898b0b00 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: do_rmdir+0x200/0x680 fs/namei.c:3945 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1632 Comm: khungtaskd Not tainted 5.13.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x202/0x31e lib/dump_stack.c:120 nmi_cpu_backtrace+0x16c/0x190 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x191/0x2f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xcfb/0xd40 kernel/hung_task.c:294 kthread+0x39a/0x3c0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4827 Comm: systemd-journal Not tainted 5.13.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_preemption_disabled+0xa/0x190 lib/smp_processor_id.c:13 Code: 0f 1f 44 00 00 48 c7 c7 80 9e 92 8a 48 c7 c6 c0 9e 92 8a eb 0b 66 66 2e 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 55 41 54 53 <48> 83 ec 10 49 89 f6 49 89 ff 65 48 8b 04 25 28 00 00 00 48 89 44 RSP: 0018:ffffc9000162f4d8 EFLAGS: 00000282 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff88802ca79c40 RDX: ffff88802ca79c40 RSI: ffffffff8a929ec0 RDI: ffffffff8a929e80 RBP: 0000000000000000 R08: ffffffff81d8fc0d R09: fffff52000037f6e R10: fffff52000037f6e R11: 0000000000000000 R12: ffff888029eb8a48 R13: ffffc9000162fbd0 R14: ffffc900001bfb68 R15: 1ffff92000037f6d FS: 00007f44e5ab08c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f44e2fd4028 CR3: 0000000021a4a000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:325 [inline] rcu_is_watching+0x12/0xb0 kernel/rcu/tree.c:1168 rcu_read_lock_held_common kernel/rcu/update.c:108 [inline] rcu_read_lock_held+0x11/0x40 kernel/rcu/update.c:309 hlist_bl_first_rcu include/linux/rculist_bl.h:24 [inline] __d_lookup+0x178/0x750 fs/dcache.c:2423 lookup_fast+0xde/0x7c0 fs/namei.c:1587 walk_component+0xc9/0x740 fs/namei.c:1938 link_path_walk+0x687/0xcf0 fs/namei.c:2265 path_openat+0x26e/0x39b0 fs/namei.c:3490 do_filp_open+0x221/0x460 fs/namei.c:3521 do_sys_openat2+0x124/0x460 fs/open.c:1187 do_sys_open fs/open.c:1203 [inline] __do_sys_open fs/open.c:1211 [inline] __se_sys_open fs/open.c:1207 [inline] __x64_sys_open+0x221/0x270 fs/open.c:1207 do_syscall_64+0x3f/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f44e503f840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007fff8d8f37e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fff8d8f3af0 RCX: 00007f44e503f840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 00005654c512ad40 RBP: 000000000000000d R08: 0000000000000000 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 00005654c511d040 R14: 00007fff8d8f3ab0 R15: 00005654c512aea0