INFO: task syz-executor.5:29346 blocked for more than 143 seconds. Not tainted 5.11.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:29552 pid:29346 ppid: 8957 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4313 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5064 schedule+0xcf/0x270 kernel/sched/core.c:5143 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write_nested+0x136/0x150 kernel/locking/rwsem.c:1517 inode_lock_nested include/linux/fs.h:808 [inline] lock_rename+0x225/0x280 fs/namei.c:2758 do_renameat2+0x60c/0xc00 fs/namei.c:4407 __do_sys_rename fs/namei.c:4508 [inline] __se_sys_rename fs/namei.c:4506 [inline] __ia32_sys_rename+0x7c/0xa0 fs/namei.c:4506 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f2f549 RSP: 002b:00000000f55080cc EFLAGS: 00000296 ORIG_RAX: 0000000000000026 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000020000040 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.0:29350 blocked for more than 143 seconds. Not tainted 5.11.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28800 pid:29350 ppid: 8490 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4313 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5064 schedule+0xcf/0x270 kernel/sched/core.c:5143 d_wait_lookup fs/dcache.c:2534 [inline] d_alloc_parallel+0x118a/0x19b0 fs/dcache.c:2616 __lookup_slow+0x193/0x480 fs/namei.c:1529 lookup_slow fs/namei.c:1561 [inline] walk_component+0x418/0x6a0 fs/namei.c:1861 lookup_last fs/namei.c:2312 [inline] path_lookupat+0x1ba/0x830 fs/namei.c:2336 filename_lookup+0x19f/0x560 fs/namei.c:2369 user_path_at include/linux/namei.h:59 [inline] do_mount fs/namespace.c:3218 [inline] __do_sys_mount fs/namespace.c:3429 [inline] __se_sys_mount fs/namespace.c:3406 [inline] __ia32_sys_mount+0x1ea/0x300 fs/namespace.c:3406 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f46549 RSP: 002b:00000000f551f0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000200020c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 3 locks held by kworker/u4:3/114: 1 lock held by khungtaskd/1655: #0: ffffffff8b373920 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6254 1 lock held by in:imklog/8162: #0: ffff888024c13770 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 2 locks held by kworker/1:6/22490: #0: ffff8880b9f34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1319 [inline] #0: ffff8880b9f34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x217/0x21a0 kernel/sched/core.c:4981 #1: ffff8880b9f20088 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x305/0x440 kernel/sched/psi.c:833 2 locks held by syz-executor.5/29336: 2 locks held by syz-executor.5/29346: #0: ffff88806645e460 (sb_writers#17){.+.+}-{0:0}, at: do_renameat2+0x376/0xc00 fs/namei.c:4402 #1: ffff888031959590 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:808 [inline] #1: ffff888031959590 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: lock_rename+0x225/0x280 fs/namei.c:2758 2 locks held by syz-executor.0/29347: 1 lock held by syz-executor.0/29350: #0: ffff888031959c50 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:783 [inline] #0: ffff888031959c50 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1560 [inline] #0: ffff888031959c50 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x409/0x6a0 fs/namei.c:1861 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1655 Comm: khungtaskd Not tainted 5.11.0-rc2-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+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 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+0xd43/0xfa0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 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: 29347 Comm: syz-executor.0 Not tainted 5.11.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_release kernel/locking/lockdep.c:5105 [inline] RIP: 0010:lock_release+0x1c3/0x710 kernel/locking/lockdep.c:5457 Code: 8b 05 dd e0 aa 0b 85 c0 0f 84 08 02 00 00 4d 8d b7 80 09 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 0f b6 04 02 <84> c0 74 08 3c 03 0f 8e a0 04 00 00 45 8b af 80 09 00 00 45 85 ed RSP: 0018:ffffc90015cd7528 EFLAGS: 00000802 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 1ffffffff1a074f3 RDX: 1ffff1100beae4a8 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 1ffff92002b9aea7 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffffff8b0146d8 R13: ffffffff82a1b050 R14: ffff88805f572540 R15: ffff88805f571bc0 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0063) knlGS:00000000f5540b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007f791ede9008 CR3: 0000000023af9000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_unlock include/linux/spinlock_api_smp.h:150 [inline] _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:183 spin_unlock include/linux/spinlock.h:394 [inline] ilookup5_nowait fs/inode.c:1335 [inline] ilookup5 fs/inode.c:1363 [inline] iget5_locked+0xcc/0x2d0 fs/inode.c:1144 fuse_iget+0x271/0x610 fs/fuse/inode.c:342 fuse_lookup_name+0x447/0x630 fs/fuse/dir.c:439 fuse_lookup.part.0+0xdf/0x390 fs/fuse/dir.c:469 fuse_lookup+0x70/0x90 fs/fuse/dir.c:465 __lookup_slow+0x24c/0x480 fs/namei.c:1544 lookup_slow fs/namei.c:1561 [inline] walk_component+0x418/0x6a0 fs/namei.c:1861 lookup_last fs/namei.c:2312 [inline] path_lookupat+0x1ba/0x830 fs/namei.c:2336 filename_lookup+0x19f/0x560 fs/namei.c:2369 user_path_at include/linux/namei.h:59 [inline] path_setxattr+0x95/0x190 fs/xattr.c:567 __do_sys_lsetxattr fs/xattr.c:594 [inline] __se_sys_lsetxattr fs/xattr.c:590 [inline] __ia32_sys_lsetxattr+0xb9/0x150 fs/xattr.c:590 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f46549 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000f55400cc EFLAGS: 00000296 ORIG_RAX: 00000000000000e3 RAX: ffffffffffffffda RBX: 0000000020002c80 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000