INFO: task syz-executor.1:28099 blocked for more than 143 seconds. Not tainted 6.2.0-rc5-syzkaller-00027-gfb6e71db53f3 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:23296 pid:28099 ppid:6554 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6606 schedule+0xcb/0x190 kernel/sched/core.c:6682 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_access fs/fuse/dir.c:1299 [inline] fuse_permission+0x893/0xe10 fs/fuse/dir.c:1378 do_inode_permission fs/namei.c:458 [inline] inode_permission+0x22c/0x450 fs/namei.c:525 path_permission include/linux/fs.h:2918 [inline] __do_sys_chdir fs/open.c:518 [inline] __se_sys_chdir+0x131/0x210 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:0x7f1a2c48c0c9 RSP: 002b:00007f1a2d137168 EFLAGS: 00000246 ORIG_RAX: 0000000000000050 RAX: ffffffffffffffda RBX: 00007f1a2c5abf80 RCX: 00007f1a2c48c0c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020004340 RBP: 00007f1a2c4e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff0ad5a67f R14: 00007f1a2d137300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d327010 (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: ffffffff8d327810 (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: ffffffff8d326e40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by syslogd/4414: #0: ffff8880b993a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 1 lock held by klogd/4421: #0: ffff8880b993a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 2 locks held by getty/4749: #0: ffff88802862a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 3 locks held by kworker/u4:5/27911: #0: ffff8880b993a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 #1: ffff8880b9927748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x57b/0x9a0 kernel/sched/psi.c:964 #2: ffff8880b9928558 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x12a/0x270 kernel/time/timer.c:999 5 locks held by kworker/u4:9/27912: #0: ffff8880b993a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 #1: ffff8880b9927748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x611/0x9a0 kernel/sched/psi.c:976 #2: ffff8880b9928558 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x12a/0x270 kernel/time/timer.c:999 #3: ffffffff922eda70 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x96/0x6e0 lib/debugobjects.c:665 #4: ffff8880b993dc70 (&c->lock){..-.}-{2:2}, at: local_lock_acquire+0x0/0x70 2 locks held by syz-executor.1/28504: #0: ffff888075b55910 (&type->i_mutex_dir_key#25){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888075b55910 (&type->i_mutex_dir_key#25){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 #1: ffff888075b55d78 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xc0/0x110 fs/fuse/inode.c:468 2 locks held by syz-executor.1/28505: #0: ffff888074cf6460 (sb_writers#38){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508 #1: ffff888075b55910 (&type->i_mutex_dir_key#25/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:791 [inline] #1: ffff888075b55910 (&type->i_mutex_dir_key#25/1){+.+.}-{3:3}, at: do_rmdir+0x257/0x5f0 fs/namei.c:4169 2 locks held by syz-executor.1/28506: #0: ffff888075b55910 (&type->i_mutex_dir_key#25){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888075b55910 (&type->i_mutex_dir_key#25){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 #1: ffff888075b55d78 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xc0/0x110 fs/fuse/inode.c:468 2 locks held by syz-executor.1/29054: #0: ffff888075b56d50 (&type->i_mutex_dir_key#25){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888075b56d50 (&type->i_mutex_dir_key#25){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 #1: ffff888075b571b8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xc0/0x110 fs/fuse/inode.c:468 2 locks held by syz-executor.1/29065: #0: ffff888075b56d50 (&type->i_mutex_dir_key#25){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff888075b56d50 (&type->i_mutex_dir_key#25){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1701 #1: ffff888075b571b8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xc0/0x110 fs/fuse/inode.c:468 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc5-syzkaller-00027-gfb6e71db53f3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x290 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+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 27911 Comm: kworker/u4:5 Not tainted 6.2.0-rc5-syzkaller-00027-gfb6e71db53f3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:separate_irq_context kernel/locking/lockdep.c:4584 [inline] RIP: 0010:__lock_acquire+0xdc6/0x1f60 kernel/locking/lockdep.c:5039 Code: 04 9b 48 8b 0c 24 48 8d 9c c1 30 0a 00 00 48 89 d8 48 c1 e8 03 8a 04 38 84 c0 0f 85 93 0c 00 00 8b 1b 48 8b 44 24 18 8a 04 38 <84> c0 0f 85 a8 0c 00 00 41 33 1f f7 c3 00 60 00 00 74 0c bd 01 00 RSP: 0018:ffffc9000bf6f9a8 EFLAGS: 00000046 RAX: 1ffff11008848400 RBX: 00000000000406c5 RCX: ffff888044241d40 RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff20fca31 R10: fffffbfff20fca31 R11: 1ffffffff20fca30 R12: 1ffff110088484ed R13: 2ce4822c53ec0be5 R14: ffff888044242768 R15: ffff8880442427e8 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01586b5d8 CR3: 000000000d08e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x182/0x3c0 kernel/locking/lockdep.c:5668 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:325 rcu_read_lock include/linux/rcupdate.h:764 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xc8/0x5b0 net/batman-adv/network-coding.c:719 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308