INFO: task syz-executor.2:3637 blocked for more than 143 seconds. Not tainted 5.17.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:24008 pid: 3637 ppid: 1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6427 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 fuse_lock_inode+0xce/0x100 fs/fuse/inode.c:463 fuse_lookup.part.0+0x86/0x390 fs/fuse/dir.c:426 fuse_lookup+0x70/0x90 fs/fuse/dir.c:423 __lookup_slow+0x24c/0x480 fs/namei.c:1707 lookup_slow fs/namei.c:1724 [inline] walk_component+0x40f/0x6a0 fs/namei.c:2020 link_path_walk.part.0+0x7ef/0xf70 fs/namei.c:2347 link_path_walk fs/namei.c:2272 [inline] path_openat+0x266/0x2940 fs/namei.c:3605 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f5fa4e9fb98 RSP: 002b:00007ffe3d7e52c0 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000000000000063f RCX: 00007f5fa4e9fb98 RDX: 0000000000090800 RSI: 00007f5fa4ef928e RDI: 00000000ffffff9c RBP: 00007ffe3d7e538c R08: 0000000000090800 R09: 00007f5fa4ef928e R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 0000000000072cd8 R14: 000000000000000d R15: 00007ffe3d7e53f0 INFO: task syz-executor.2:13742 blocked for more than 143 seconds. Not tainted 5.17.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28488 pid:13742 ppid: 3637 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6427 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 fuse_lock_inode+0xce/0x100 fs/fuse/inode.c:463 fuse_readdir_uncached+0x335/0x1840 fs/fuse/readdir.c:350 fuse_readdir+0x871/0x1840 fs/fuse/readdir.c:583 iterate_dir+0x576/0x700 fs/readdir.c:65 __do_sys_getdents fs/readdir.c:286 [inline] __se_sys_getdents fs/readdir.c:271 [inline] __x64_sys_getdents+0x13a/0x2b0 fs/readdir.c:271 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f5fa4ea0059 RSP: 002b:00007f5fa37f4168 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f5fa4fb3030 RCX: 00007f5fa4ea0059 RDX: 000000000000008b RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00007f5fa4efa08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe3d7e50cf R14: 00007f5fa37f4300 R15: 0000000000022000 INFO: task syz-executor.2:13743 blocked for more than 143 seconds. Not tainted 5.17.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27192 pid:13743 ppid: 3637 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 request_wait_answer+0x49e/0x840 fs/fuse/dev.c:411 __fuse_request_send fs/fuse/dev.c:430 [inline] fuse_simple_request+0x58a/0xcd0 fs/fuse/dev.c:515 fuse_lookup_name+0x280/0x630 fs/fuse/dir.c:386 fuse_lookup.part.0+0xdf/0x390 fs/fuse/dir.c:427 fuse_lookup+0x70/0x90 fs/fuse/dir.c:423 __lookup_slow+0x24c/0x480 fs/namei.c:1707 lookup_slow fs/namei.c:1724 [inline] walk_component+0x40f/0x6a0 fs/namei.c:2020 link_path_walk.part.0+0x7ef/0xf70 fs/namei.c:2347 link_path_walk fs/namei.c:2272 [inline] path_openat+0x266/0x2940 fs/namei.c:3605 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4d0 fs/open.c:1214 do_sys_open fs/open.c:1230 [inline] __do_sys_openat fs/open.c:1246 [inline] __se_sys_openat fs/open.c:1241 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1241 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f5fa4ea0059 RSP: 002b:00007f5fa37d3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f5fa4fb3100 RCX: 00007f5fa4ea0059 RDX: 0000000000000042 RSI: 0000000020000300 RDI: ffffffffffffff9c RBP: 00007f5fa4efa08d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe3d7e50cf R14: 00007f5fa37d3300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83aa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by getty/3280: #0: ffff88802364d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b632e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 2 locks held by syz-executor.2/3637: #0: ffff88803538dfd0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:787 [inline] #0: ffff88803538dfd0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1723 [inline] #0: ffff88803538dfd0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:2020 #1: ffff88803538e438 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xce/0x100 fs/fuse/inode.c:463 3 locks held by kworker/u4:5/3689: #0: ffff8880b9c39c58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:489 #1: ffff8880b9c27948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3e7/0x4e0 kernel/sched/psi.c:891 #2: ffff8880b9c28498 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:946 4 locks held by syz-executor.2/13742: #0: ffff888076c08d70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:1034 #1: ffff88803538dfd0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: iterate_dir+0xcd/0x700 fs/readdir.c:55 #2: ffff888078f7c0a8 (&ff->readdir.lock){+.+.}-{3:3}, at: fuse_readdir+0xf1/0x1840 fs/fuse/readdir.c:577 #3: ffff88803538e438 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xce/0x100 fs/fuse/inode.c:463 2 locks held by syz-executor.2/13743: #0: ffff88803538dfd0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:787 [inline] #0: ffff88803538dfd0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow fs/namei.c:1723 [inline] #0: ffff88803538dfd0 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: walk_component+0x400/0x6a0 fs/namei.c:2020 #1: ffff88803538e438 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xce/0x100 fs/fuse/inode.c:463 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 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:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3689 Comm: kworker/u4:5 Not tainted 5.17.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x353/0x5470 kernel/locking/lockdep.c:4965 Code: 84 c9 0f 85 85 12 00 00 41 83 bd 44 0a 00 00 01 49 8d 7c 24 24 48 89 fa 83 d8 ff c1 e5 0f c1 e0 0d 41 c1 e7 10 0f b7 ed 09 e8 <41> 81 e7 00 00 03 00 41 c1 e1 13 41 09 c7 8b 44 24 08 48 c1 ea 03 RSP: 0018:ffffc900028efa60 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff888017832760 RCX: 0000000000000000 RDX: ffff8880178327d4 RSI: 0000000000000004 RDI: ffff8880178327d4 RBP: 0000000000000000 R08: 1ffff11002f064f5 R09: 0000000000000000 R10: fffffbfff1b29332 R11: 0000000000000000 R12: ffff8880178327b0 R13: ffff888017831d00 R14: ffffffff8bb83aa0 R15: 0000000000020000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0280ab000 CR3: 000000000b88e000 CR4: 0000000000350ee0 Call Trace: lock_acquire kernel/locking/lockdep.c:5639 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:694 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:719 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 84 c9 test %cl,%cl 2: 0f 85 85 12 00 00 jne 0x128d 8: 41 83 bd 44 0a 00 00 cmpl $0x1,0xa44(%r13) f: 01 10: 49 8d 7c 24 24 lea 0x24(%r12),%rdi 15: 48 89 fa mov %rdi,%rdx 18: 83 d8 ff sbb $0xffffffff,%eax 1b: c1 e5 0f shl $0xf,%ebp 1e: c1 e0 0d shl $0xd,%eax 21: 41 c1 e7 10 shl $0x10,%r15d 25: 0f b7 ed movzwl %bp,%ebp 28: 09 e8 or %ebp,%eax * 2a: 41 81 e7 00 00 03 00 and $0x30000,%r15d <-- trapping instruction 31: 41 c1 e1 13 shl $0x13,%r9d 35: 41 09 c7 or %eax,%r15d 38: 8b 44 24 08 mov 0x8(%rsp),%eax 3c: 48 c1 ea 03 shr $0x3,%rdx