INFO: task syz-executor.0:3579 blocked for more than 143 seconds. Not tainted 6.1.45-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:19960 pid:3579 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6689 __mutex_lock_common+0xe2b/0x2520 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 fuse_lock_inode+0xcf/0x120 fs/fuse/inode.c:468 fuse_lookup+0x111/0x600 fs/fuse/dir.c:432 __lookup_slow+0x27e/0x3d0 fs/namei.c:1685 lookup_slow+0x53/0x70 fs/namei.c:1702 walk_component fs/namei.c:1993 [inline] link_path_walk+0x9d6/0xee0 fs/namei.c:2320 path_openat+0x23d/0x2e60 fs/namei.c:3710 do_filp_open+0x230/0x480 fs/namei.c:3741 do_sys_openat2+0x13b/0x500 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0861e7c541 RSP: 002b:00007ffd3edaf080 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f0861e7c541 RDX: 0000000000090800 RSI: 00007f0861ec745d RDI: 00000000ffffff9c RBP: 00007ffd3edaf14c R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 0000000000103cfc R14: 0000000000103cb2 R15: 0000000000000006 INFO: task syz-executor.0:3600 blocked for more than 143 seconds. Not tainted 6.1.45-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:24744 pid:3600 ppid:3579 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 request_wait_answer fs/fuse/dev.c:407 [inline] __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x106e/0x18d0 fs/fuse/dev.c:511 fuse_lookup_name+0x354/0x820 fs/fuse/dir.c:392 fuse_lookup+0x17e/0x600 fs/fuse/dir.c:433 __lookup_slow+0x27e/0x3d0 fs/namei.c:1685 lookup_slow+0x53/0x70 fs/namei.c:1702 walk_component fs/namei.c:1993 [inline] link_path_walk+0x9d6/0xee0 fs/namei.c:2320 path_openat+0x23d/0x2e60 fs/namei.c:3710 do_filp_open+0x230/0x480 fs/namei.c:3741 do_sys_openat2+0x13b/0x500 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0861e7b6e0 RSP: 002b:00007f0862b56e20 EFLAGS: 00000293 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f0861e7b6e0 RDX: 0000000000000002 RSI: 00007f0862b56f40 RDI: 00000000ffffff9c RBP: 00007f0862b56f40 R08: 0000000000000000 R09: 00000000000004a0 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000004 R13: 00007f0862b56f3c R14: 00007f0862b56f40 R15: 00007f0858dff000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d12a0b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d12a8b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8d129ee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3270: #0: ffff88802a0fd098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188 2 locks held by syz-executor.0/3579: #0: ffff888071608150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888071608150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 #1: ffff8880716085b8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xcf/0x120 fs/fuse/inode.c:468 2 locks held by syz-executor.0/3600: #0: ffff888071608150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888071608150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 #1: ffff8880716085b8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xcf/0x120 fs/fuse/inode.c:468 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.45-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf18/0xf60 kernel/hung_task.c:377 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3601 Comm: kworker/u4:4 Not tainted 6.1.45-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Workqueue: 0x0 (phy4) RIP: 0010:__lock_release kernel/locking/lockdep.c:5323 [inline] RIP: 0010:lock_release+0x1a5/0xa20 kernel/locking/lockdep.c:5689 Code: 80 3c 3b 00 74 08 4c 89 f7 e8 47 7d 76 00 4c 8b ac 24 b0 00 00 00 fa 48 c7 c7 00 ef eb 8a e8 42 db 1a 09 65 ff 05 4b 65 98 7e <48> 8d 9c 24 80 00 00 00 48 c1 eb 03 42 0f b6 04 3b 84 c0 0f 85 6e RSP: 0018:ffffc90003f0fa80 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 1ffff920007e1f66 RCX: ffffffff816a1297 RDX: 0000000000000000 RSI: ffffffff8aebef00 RDI: ffffffff8b3ce960 RBP: ffffc90003f0fbb0 R08: dffffc0000000000 R09: fffffbfff1ce6f6e R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920007e1f5c R13: 0000000000000046 R14: ffffc90003f0fb30 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c001217e80 CR3: 000000000ce8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: prepare_lock_switch+0xd0/0x1b0 kernel/sched/core.c:4984 context_switch kernel/sched/core.c:5238 [inline] __schedule+0x131f/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 worker_thread+0xeb9/0x1210 kernel/workqueue.c:2460 kthread+0x26e/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306