INFO: task syz-executor.0:23023 blocked for more than 143 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:29176 pid:23023 ppid: 8428 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5078 schedule+0x14b/0x200 kernel/sched/core.c:5157 rwsem_down_read_slowpath+0x4df/0x920 kernel/locking/rwsem.c:992 __down_read_common+0x65/0x390 kernel/locking/rwsem.c:1213 inode_lock_shared include/linux/fs.h:783 [inline] lookup_slow fs/namei.c:1560 [inline] walk_component+0x448/0x6b0 fs/namei.c:1861 link_path_walk+0x5e7/0xc10 fs/namei.c:2182 path_lookupat+0xab/0x970 fs/namei.c:2335 filename_lookup+0x1b0/0x5e0 fs/namei.c:2369 user_path_at include/linux/namei.h:59 [inline] vfs_statx+0x8f/0x320 fs/stat.c:185 vfs_fstatat fs/stat.c:207 [inline] vfs_stat include/linux/fs.h:3118 [inline] __do_sys_newstat fs/stat.c:349 [inline] __se_sys_newstat fs/stat.c:345 [inline] __x64_sys_newstat+0x81/0xd0 fs/stat.c:345 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x465b09 RSP: 002b:00007f8e895d0188 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000465b09 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000840 RBP: 00000000004b069f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007ffe0b7b21ef R14: 00007f8e895d0300 R15: 0000000000022000 INFO: task syz-executor.0:23025 blocked for more than 143 seconds. Not tainted 5.11.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28512 pid:23025 ppid: 8428 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x999/0xe70 kernel/sched/core.c:5078 schedule+0x14b/0x200 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0xd69/0x1370 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x112/0x120 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] lock_mount+0x6a/0x2f0 fs/namespace.c:2198 do_new_mount_fc fs/namespace.c:2824 [inline] do_new_mount fs/namespace.c:2883 [inline] path_mount+0x20d1/0x2a00 fs/namespace.c:3211 do_mount fs/namespace.c:3224 [inline] __do_sys_mount fs/namespace.c:3432 [inline] __se_sys_mount+0x28c/0x320 fs/namespace.c:3409 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x465b09 RSP: 002b:00007f8e895af188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 0000000000465b09 RDX: 0000000020002100 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 00000000004b069f R08: 0000000020002140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0b0 R13: 00007ffe0b7b21ef R14: 00007f8e895af300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1644: #0: ffffffff8c711680 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 arch/x86/pci/mmconfig_64.c:151 1 lock held by in:imklog/8104: #0: ffff888019719770 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:947 3 locks held by syz-executor.0/23017: 1 lock held by syz-executor.0/23023: #0: ffff888077219590 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:783 [inline] #0: ffff888077219590 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1560 [inline] #0: ffff888077219590 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x448/0x6b0 fs/namei.c:1861 1 lock held by syz-executor.0/23025: #0: ffff888077219590 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff888077219590 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x6a/0x2f0 fs/namespace.c:2198 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1644 Comm: khungtaskd Not tainted 5.11.0-rc6-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+0x137/0x1be 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+0xce9/0xd30 kernel/hung_task.c:294 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4875 Comm: systemd-journal Not tainted 5.11.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lock_acquire+0x6a/0x5e0 kernel/locking/lockdep.c:5415 Code: 44 ca b3 8d 48 c1 e8 03 48 ba 00 00 00 00 00 fc ff df 8a 04 10 84 c0 0f 85 04 04 00 00 83 3d 30 4d 58 0c 00 0f 84 da 00 00 00 <44> 89 34 24 48 89 5c 24 08 65 8b 05 d6 82 a6 7e 85 c0 0f 85 e5 00 RSP: 0018:ffffc9000147fa70 EFLAGS: 00000202 RAX: 1ffffffff1b67900 RBX: ffff88801af6af58 RCX: 0000000080000002 RDX: dffffc0000000000 RSI: 0000000000000002 RDI: 0000000000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1b6731e R10: fffffbfff1b6731e R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007faa9b6958c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faa9824e028 CR3: 0000000012363000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 spin_lock include/linux/spinlock.h:354 [inline] __d_lookup+0x23f/0x750 fs/dcache.c:2400 lookup_fast+0x99/0x6f0 fs/namei.c:1502 walk_component+0x72/0x6b0 fs/namei.c:1857 link_path_walk+0x5e7/0xc10 fs/namei.c:2182 path_lookupat+0xab/0x970 fs/namei.c:2335 filename_lookup+0x1b0/0x5e0 fs/namei.c:2369 user_path_at include/linux/namei.h:59 [inline] do_faccessat+0x396/0x870 fs/open.c:423 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7faa9a9509c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffc131ff028 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffc13202050 RCX: 00007faa9a9509c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000558fb15439a3 RBP: 00007ffc131ff170 R08: 0000558fb15393e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000558fb1f2e8a0 R15: 00007ffc131ff660