INFO: task syz-executor.4:30145 blocked for more than 143 seconds. Not tainted 5.11.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:29632 pid:30145 ppid: 8361 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4324 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5075 schedule+0xcf/0x270 kernel/sched/core.c:5154 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+0x13b/0x150 kernel/locking/rwsem.c:1517 inode_lock_nested include/linux/fs.h:810 [inline] filename_create+0x15a/0x490 fs/namei.c:3596 user_path_create fs/namei.c:3654 [inline] do_mkdirat+0xa0/0x310 fs/namei.c:3832 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465007 RSP: 002b:00007fa93fbccfa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000465007 RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000020000080 RBP: 00007fa93fbcd040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000020000080 R14: 00007fa93fbcd000 R15: 0000000000000000 INFO: task syz-executor.4:30148 blocked for more than 143 seconds. Not tainted 5.11.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:27200 pid:30148 ppid: 8361 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4324 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5075 schedule+0xcf/0x270 kernel/sched/core.c:5154 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+0x137/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:775 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2229 do_new_mount_fc fs/namespace.c:2859 [inline] do_new_mount fs/namespace.c:2918 [inline] path_mount+0x14d6/0x1f90 fs/namespace.c:3246 do_mount fs/namespace.c:3259 [inline] __do_sys_mount fs/namespace.c:3467 [inline] __se_sys_mount fs/namespace.c:3444 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3444 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465ef9 RSP: 002b:00007fa93fbac188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000056c0b0 RCX: 0000000000465ef9 RDX: 0000000020002100 RSI: 00000000200042c0 RDI: 0000000000000000 RBP: 00000000004bcd1c R08: 0000000020004300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c0b0 R13: 00007ffe5614ec0f R14: 00007fa93fbac300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1644: #0: ffffffff8bf747e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6327 1 lock held by in:imklog/8053: #0: ffff88801a1198b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:961 2 locks held by agetty/8285: #0: ffff888013e7c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc900010442e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xd5b/0x12f0 drivers/tty/n_tty.c:2178 2 locks held by syz-executor.4/30141: 2 locks held by syz-executor.4/30145: #0: ffff8880184ac460 (sb_writers#23){.+.+}-{0:0}, at: filename_create+0x104/0x490 fs/namei.c:3591 #1: ffff8880790ca890 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:810 [inline] #1: ffff8880790ca890 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: filename_create+0x15a/0x490 fs/namei.c:3596 1 lock held by syz-executor.4/30148: #0: ffff8880790ca890 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:775 [inline] #0: ffff8880790ca890 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2229 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1644 Comm: khungtaskd Not tainted 5.11.0-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+0xfa/0x151 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+0xd48/0xfb0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 30141 Comm: syz-executor.4 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5261 [inline] RIP: 0010:lock_is_held_type+0x104/0x130 kernel/locking/lockdep.c:5549 Code: 65 0f c1 05 3e 52 ff 76 83 f8 01 75 22 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 44 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 <45> 31 ed eb c0 0f 0b 48 c7 c7 80 99 6b 89 e8 d9 0c 00 00 65 c7 05 RSP: 0018:ffffc90001fb7340 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8bf74720 RDI: ffff88801cc1ab18 RBP: ffffffff8bf74720 R08: 0000000000000000 R09: ffffffff8dc60b0f R10: fffffbfff1b8c161 R11: 0000000000000000 R12: ffff88801cc1a140 R13: ffff88801cc1aac8 R14: 00000000ffffffff R15: ffff88801cc1ab18 FS: 00007fa93fbee700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb7fc962020 CR3: 00000000281ae000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:278 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x5d4/0x730 kernel/locking/lockdep.c:5481 __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] find_inode+0x109/0x220 fs/inode.c:826 ilookup5_nowait fs/inode.c:1334 [inline] ilookup5 fs/inode.c:1363 [inline] iget5_locked+0xbd/0x2e0 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:1626 lookup_slow fs/namei.c:1643 [inline] walk_component+0x418/0x6a0 fs/namei.c:1939 lookup_last fs/namei.c:2396 [inline] path_lookupat+0x1ba/0x830 fs/namei.c:2420 filename_lookup+0x19f/0x560 fs/namei.c:2453 user_path_at include/linux/namei.h:60 [inline] vfs_statx+0x142/0x390 fs/stat.c:195 vfs_fstatat fs/stat.c:217 [inline] vfs_stat include/linux/fs.h:3236 [inline] __do_sys_newstat+0x91/0x110 fs/stat.c:359 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x465ef9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa93fbee188 EFLAGS: 00000246 ORIG_RAX: 0000000000000004 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465ef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000ec0 RBP: 00000000004bcd1c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffe5614ec0f R14: 00007fa93fbee300 R15: 0000000000022000