INFO: task syz-executor.2:26163 blocked for more than 143 seconds. Not tainted 6.1.0-rc5-syzkaller-00144-g84368d882b96 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:23064 pid:26163 ppid:3664 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 request_wait_answer fs/fuse/dev.c:407 [inline] __fuse_request_send fs/fuse/dev.c:426 [inline] fuse_simple_request+0x1034/0x1870 fs/fuse/dev.c:511 fuse_lookup_name+0x349/0x830 fs/fuse/dir.c:392 fuse_lookup+0x13e/0x5d0 fs/fuse/dir.c:433 __lookup_slow+0x266/0x3a0 fs/namei.c:1685 lookup_slow+0x53/0x70 fs/namei.c:1702 walk_component+0x2e1/0x410 fs/namei.c:1993 lookup_last fs/namei.c:2450 [inline] path_lookupat+0x17d/0x450 fs/namei.c:2474 filename_lookup+0x274/0x650 fs/namei.c:2503 user_path_at_empty+0x40/0x1a0 fs/namei.c:2876 user_path_at include/linux/namei.h:57 [inline] __do_sys_chdir fs/open.c:514 [inline] __se_sys_chdir+0xb8/0x220 fs/open.c:508 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:0x7f26f968b639 RSP: 002b:00007f26fa3ff168 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007f26f97abf80 RCX: 00007f26f968b639 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020004340 RBP: 00007f26f96e6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea65ffd2f R14: 00007f26fa3ff300 R15: 0000000000022000 INFO: task syz-executor.2:26164 blocked for more than 144 seconds. Not tainted 6.1.0-rc5-syzkaller-00144-g84368d882b96 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24520 pid:26164 ppid:3664 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5191 [inline] __schedule+0x8c9/0xd70 kernel/sched/core.c:6503 schedule+0xcb/0x190 kernel/sched/core.c:6579 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6638 __mutex_lock_common+0xe4f/0x26e0 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+0xc0/0x110 fs/fuse/inode.c:468 fuse_lookup+0xd2/0x5d0 fs/fuse/dir.c:432 __lookup_slow+0x266/0x3a0 fs/namei.c:1685 lookup_slow+0x53/0x70 fs/namei.c:1702 walk_component+0x2e1/0x410 fs/namei.c:1993 lookup_last fs/namei.c:2450 [inline] path_lookupat+0x17d/0x450 fs/namei.c:2474 filename_lookup+0x274/0x650 fs/namei.c:2503 user_path_at_empty+0x40/0x1a0 fs/namei.c:2876 user_path_at include/linux/namei.h:57 [inline] do_sys_truncate+0x94/0x180 fs/open.c:132 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:0x7f26f968b639 RSP: 002b:00007f26fa3de168 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f26f97ac050 RCX: 00007f26f968b639 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000020004300 RBP: 00007f26f96e6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffea65ffd2f R14: 00007f26fa3de300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d327330 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d327b30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d327160 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:5/1058: 2 locks held by getty/3309: #0: ffff8880283c7098 (&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+0x53b/0x1650 drivers/tty/n_tty.c:2177 3 locks held by kworker/0:4/21650: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc9001514fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8d32c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #2: ffffffff8d32c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x384/0x860 kernel/rcu/tree_exp.h:946 2 locks held by kworker/0:12/21694: #0: ffff888012866538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90014e9fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 3 locks held by kworker/1:5/21771: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90015697d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8d32c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #2: ffffffff8d32c738 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946 2 locks held by kworker/u4:16/23880: 2 locks held by syz-executor.2/26163: #0: ffff88803c5ad250 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff88803c5ad250 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 #1: ffff88803c5ad6b8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xc0/0x110 fs/fuse/inode.c:468 2 locks held by syz-executor.2/26164: #0: ffff88803c5ad250 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff88803c5ad250 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 #1: ffff88803c5ad6b8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xc0/0x110 fs/fuse/inode.c:468 2 locks held by syz-executor.3/31618: #0: ffff88814baa6460 (sb_writers#4){.+.+}-{0:0}, at: do_sendfile+0x5d6/0xf80 fs/read_write.c:1254 #1: ffff888071680e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #1: ffff888071680e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_dio_read_iter fs/ext4/file.c:78 [inline] #1: ffff888071680e08 (&sb->s_type->i_mutex_key#8){++++}-{3:3}, at: ext4_file_read_iter+0x28d/0x660 fs/ext4/file.c:145 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc5-syzkaller-00144-g84368d882b96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 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+0xcf5/0xd40 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 26288 Comm: syz-executor.2 Not tainted 6.1.0-rc5-syzkaller-00144-g84368d882b96 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:bpf_inode_storage_free+0x0/0x390 kernel/bpf/bpf_inode_storage.c:58 Code: 01 48 c7 c7 b0 6d f6 8a be 40 00 00 00 48 c7 c2 00 69 f6 8a e8 c1 c9 c4 ff eb 82 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc <55> 41 57 41 56 41 55 41 54 53 48 89 fb 49 bc 00 00 00 00 00 fc ff RSP: 0018:ffffc9000bf87b38 EFLAGS: 00000246 RAX: 1ffffffff1992aba RBX: ffffffff8cc955b8 RCX: ffff888028c89d40 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff888080d7bee0 RBP: 1ffff110101af811 R08: ffffffff8400dff8 R09: ffffed10101af7ee R10: ffffed10101af7ee R11: 1ffff110101af7ed R12: dffffc0000000000 R13: ffff888080d7bee0 R14: ffff888080d7bee0 R15: dffffc0000000000 FS: 00005555562b5400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f30f6b53000 CR3: 0000000021bcf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: security_inode_free+0x4d/0xd0 security/security.c:1047 __destroy_inode+0x252/0x5e0 fs/inode.c:284 destroy_inode fs/inode.c:307 [inline] evict+0x51a/0x620 fs/inode.c:679 ext4_mb_release+0x92d/0xef0 fs/ext4/mballoc.c:3553 ext4_put_super+0x236/0x1060 fs/ext4/super.c:1230 generic_shutdown_super+0x130/0x310 fs/super.c:492 kill_block_super+0x79/0xd0 fs/super.c:1428 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 cleanup_mnt+0x494/0x520 fs/namespace.c:1186 task_work_run+0x243/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x124/0x150 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:296 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe1f668caa7 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff2e46c1e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fe1f668caa7 RDX: 00007fff2e46c2bb RSI: 000000000000000a RDI: 00007fff2e46c2b0 RBP: 00007fff2e46c2b0 R08: 00000000ffffffff R09: 00007fff2e46c080 R10: 00005555562b68b3 R11: 0000000000000246 R12: 00007fe1f66e5b2e R13: 00007fff2e46d370 R14: 00005555562b6810 R15: 00007fff2e46d3b0