INFO: task syz-executor.2:14722 blocked for more than 143 seconds. Not tainted 5.10.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28928 pid:14722 ppid: 8651 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x8eb/0x21b0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0x809/0x1220 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] filename_create+0x15a/0x490 fs/namei.c:3467 user_path_create fs/namei.c:3525 [inline] do_linkat+0x15e/0x5b0 fs/namei.c:4127 __do_sys_link fs/namei.c:4171 [inline] __se_sys_link fs/namei.c:4169 [inline] __ia32_sys_link+0x5b/0x80 fs/namei.c:4169 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:0xf7ff6549 RSP: 002b:00000000f55cf0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 0000000020002100 RCX: 00000000200021c0 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.2:14724 blocked for more than 143 seconds. Not tainted 5.10.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27576 pid:14724 ppid: 8651 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x8eb/0x21b0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 rwsem_down_write_slowpath+0x809/0x1220 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+0x132/0x150 kernel/locking/rwsem.c:1407 inode_lock include/linux/fs.h:773 [inline] lock_mount+0x8a/0x2e0 fs/namespace.c:2192 do_new_mount_fc fs/namespace.c:2818 [inline] do_new_mount fs/namespace.c:2877 [inline] path_mount+0x1787/0x20c0 fs/namespace.c:3205 do_mount fs/namespace.c:3218 [inline] __do_sys_mount fs/namespace.c:3426 [inline] __se_sys_mount fs/namespace.c:3403 [inline] __ia32_sys_mount+0x27e/0x300 fs/namespace.c:3403 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:0xf7ff6549 RSP: 002b:00000000f55ae0cc EFLAGS: 00000296 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000200042c0 RDX: 0000000020002000 RSI: 0000000000000000 RDI: 0000000020002140 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:0/8: #0: ffff8880b9d34c58 (&rq->lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1318 [inline] #0: ffff8880b9d34c58 (&rq->lock){-.-.}-{2:2}, at: __schedule+0x235/0x21b0 kernel/sched/core.c:4995 #1: ffff8880b9d20088 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x305/0x440 kernel/sched/psi.c:833 #2: ffff8880b9d24898 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:944 1 lock held by khungtaskd/1650: #0: ffffffff8b793aa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x28c kernel/locking/lockdep.c:6254 1 lock held by systemd-journal/4903: 1 lock held by in:imklog/8204: #0: ffff88801c22c0f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:949 2 locks held by agetty/8209: #0: ffff8880196a9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc90000ec82e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1ac0 drivers/tty/n_tty.c:2158 2 locks held by agetty/8210: #0: ffff888015477098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc90000ee82e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1ac0 drivers/tty/n_tty.c:2158 2 locks held by agetty/8211: #0: ffff8880174cc098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc90000eb82e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1ac0 drivers/tty/n_tty.c:2158 2 locks held by agetty/8214: #0: ffff8880156a7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc90000eec2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1ac0 drivers/tty/n_tty.c:2158 2 locks held by agetty/8221: #0: ffff8880156a5098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc90000efc2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1ac0 drivers/tty/n_tty.c:2158 2 locks held by agetty/8222: #0: ffff888015476098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc90000ef82e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1ac0 drivers/tty/n_tty.c:2158 3 locks held by syz-executor.2/14715: 2 locks held by syz-executor.2/14722: #0: ffff88801188c460 (sb_writers#15){.+.+}-{0:0}, at: filename_create+0x104/0x490 fs/namei.c:3462 #1: ffff888032bdd250 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:808 [inline] #1: ffff888032bdd250 (&type->i_mutex_dir_key#8/1){+.+.}-{3:3}, at: filename_create+0x15a/0x490 fs/namei.c:3467 1 lock held by syz-executor.2/14724: #0: ffff888032bdd250 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock include/linux/fs.h:773 [inline] #0: ffff888032bdd250 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lock_mount+0x8a/0x2e0 fs/namespace.c:2192 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1650 Comm: khungtaskd Not tainted 5.10.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+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x3c/0xef 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+0xe36/0x10b0 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: 14715 Comm: syz-executor.2 Not tainted 5.10.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:5183 [inline] RIP: 0010:lock_is_held_type+0x45/0x100 kernel/locking/lockdep.c:5476 Code: 0f 84 b8 00 00 00 9c 8f 04 24 fa 48 c7 c7 00 b8 6b 89 31 db e8 bc 0b 00 00 65 4c 8b 24 25 00 f0 01 00 41 8b 84 24 80 09 00 00 <4d> 8d ac 24 88 09 00 00 65 ff 05 ec 35 e8 76 85 c0 7f 0f eb 7a 83 RSP: 0018:ffffc900172c7968 EFLAGS: 00000046 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 1ffffffff1afcaf3 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff8b793a40 R08: fffffffffffff000 R09: ffffffff8b4146c3 R10: ffffffff81c8b64b R11: 0000000000000001 R12: ffff88806ba55040 R13: 0000000000000000 R14: 00000000ffffffff R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0063) knlGS:00000000f55f0b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007fdf360e5010 CR3: 0000000019871000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:271 [inline] ___might_sleep+0x220/0x2d0 kernel/sched/core.c:7877 wait_on_bit include/linux/wait_bit.h:73 [inline] wait_on_inode include/linux/writeback.h:206 [inline] ilookup5 fs/inode.c:1365 [inline] iget5_locked+0x129/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_hash+0x117/0x180 fs/namei.c:1445 do_rmdir+0x245/0x440 fs/namei.c:3763 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:0xf7ff6549 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:00000000f55f00cc EFLAGS: 00000296 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00000000200020c0 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