INFO: task syz-executor.2:9834 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00031-g71b1543c83d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28336 pid:9834 tgid:9827 ppid:9609 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:805 [inline] lookup_slow fs/namei.c:1708 [inline] walk_component+0x342/0x5b0 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x17f/0x770 fs/namei.c:2485 filename_lookup+0x1e5/0x5b0 fs/namei.c:2514 kern_path+0x35/0x50 fs/namei.c:2622 autofs_dev_ioctl_ismountpoint+0x192/0x8a0 fs/autofs/dev-ioctl.c:524 _autofs_dev_ioctl+0x3d1/0xa80 fs/autofs/dev-ioctl.c:677 autofs_dev_ioctl+0x1a/0x30 fs/autofs/dev-ioctl.c:693 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl fs/ioctl.c:890 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:890 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fed74a7dea9 RSP: 002b:00007fed7587a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fed74bac120 RCX: 00007fed74a7dea9 RDX: 0000000020000180 RSI: 00000000c018937e RDI: 0000000000000008 RBP: 00007fed74aca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fed74bac120 R15: 00007ffce41e44d8 INFO: task syz-executor.2:9835 blocked for more than 144 seconds. Not tainted 6.9.0-rc5-syzkaller-00031-g71b1543c83d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28992 pid:9835 tgid:9827 ppid:9609 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1086 __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:805 [inline] lookup_slow fs/namei.c:1708 [inline] walk_component+0x342/0x5b0 fs/namei.c:2004 link_path_walk.part.0.constprop.0+0x77f/0xcd0 fs/namei.c:2331 link_path_walk fs/namei.c:2256 [inline] path_openat+0x22f/0x2990 fs/namei.c:3795 do_filp_open+0x1dc/0x430 fs/namei.c:3826 do_open_execat+0xfa/0x3f0 fs/exec.c:930 alloc_bprm+0x2b/0xc50 fs/exec.c:1541 do_execveat_common.isra.0+0x1cd/0x750 fs/exec.c:1930 do_execve fs/exec.c:2053 [inline] __do_sys_execve fs/exec.c:2129 [inline] __se_sys_execve fs/exec.c:2124 [inline] __x64_sys_execve+0x8c/0xb0 fs/exec.c:2124 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fed74a7dea9 RSP: 002b:00007fed758590c8 EFLAGS: 00000246 ORIG_RAX: 000000000000003b RAX: ffffffffffffffda RBX: 00007fed74bac1f0 RCX: 00007fed74a7dea9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 RBP: 00007fed74aca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fed74bac1f0 R15: 00007ffce41e44d8 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: 3 locks held by kworker/u8:1/11: #0: ffff8880b943ea58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 #1: ffff8880b9428a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 #2: ffff88807a389358 (key#18){+...}-{2:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #2: ffff88807a389358 (key#18){+...}-{2:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #2: ffff88807a389358 (key#18){+...}-{2:2}, at: batadv_nc_process_nc_paths.part.0+0xde/0x3e0 net/batman-adv/network-coding.c:687 1 lock held by khungtaskd/29: #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4830: #0: ffff88802a2b30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 6 locks held by syz-fuzzer/5183: 1 lock held by syz-executor.4/7912: #0: ffffffff8d7bc538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffffffff8d7bc538 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x403/0x7a0 kernel/rcu/tree_exp.h:939 3 locks held by syz-executor.2/9832: 1 lock held by syz-executor.2/9834: #0: ffff88806b83c188 (&type->i_mutex_dir_key#24){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88806b83c188 (&type->i_mutex_dir_key#24){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff88806b83c188 (&type->i_mutex_dir_key#24){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 1 lock held by syz-executor.2/9835: #0: ffff88806b83c188 (&type->i_mutex_dir_key#24){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:805 [inline] #0: ffff88806b83c188 (&type->i_mutex_dir_key#24){++++}-{3:3}, at: lookup_slow fs/namei.c:1708 [inline] #0: ffff88806b83c188 (&type->i_mutex_dir_key#24){++++}-{3:3}, at: walk_component+0x342/0x5b0 fs/namei.c:2004 2 locks held by syz-executor.2/11670: #0: ffff88802da66098 (sk_lock-AF_RXRPC){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1671 [inline] #0: ffff88802da66098 (sk_lock-AF_RXRPC){+.+.}-{0:0}, at: rxrpc_bind+0xa8/0x5a0 net/rxrpc/af_rxrpc.c:145 #1: ffff8880b9428a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988 4 locks held by syz-executor.0/11684: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00031-g71b1543c83d6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf86/0x1240 kernel/hung_task.c:380 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11647 Comm: syz-executor.1 Not tainted 6.9.0-rc5-syzkaller-00031-g71b1543c83d6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:xas_init_marks+0x91/0xe0 lib/xarray.c:948 Code: bf f6 31 ff 89 de e8 ce 80 bf f6 85 db 74 4e e8 e5 85 bf f6 89 de 4c 89 e7 e8 9b fb ff ff 89 de bf 02 00 00 00 e8 af 80 bf f6 <83> fb 02 74 21 e8 c5 85 bf f6 83 c3 01 e8 bd 85 bf f6 41 80 7d 00 RSP: 0018:ffffc900034df468 EFLAGS: 00000097 RAX: 0000000000000002 RBX: 0000000000000002 RCX: ffffffff8ace3c81 RDX: ffff8880575fda00 RSI: 0000000000000002 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000002 R10: 0000000000000002 R11: 0000000000000002 R12: ffffc900034df4d0 R13: fffff5200069be9a R14: dffffc0000000000 R15: ffffea0000d7a358 FS: 00007fc4f14fd6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020404030 CR3: 0000000077aa6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: page_cache_delete mm/filemap.c:150 [inline] __filemap_remove_folio+0x3ed/0x760 mm/filemap.c:232 filemap_remove_folio+0xca/0x210 mm/filemap.c:264 truncate_inode_folio+0x49/0x70 mm/truncate.c:195 shmem_undo_range+0x378/0x1170 mm/shmem.c:1001 shmem_truncate_range mm/shmem.c:1114 [inline] shmem_evict_inode+0x3a3/0xbb0 mm/shmem.c:1242 evict+0x2ed/0x6c0 fs/inode.c:667 iput_final fs/inode.c:1741 [inline] iput.part.0+0x5a8/0x7f0 fs/inode.c:1767 iput+0x5c/0x80 fs/inode.c:1757 dentry_unlink_inode+0x295/0x440 fs/dcache.c:400 __dentry_kill+0x1d0/0x600 fs/dcache.c:603 dput.part.0+0x4b1/0x9b0 fs/dcache.c:845 dput+0x1f/0x30 fs/dcache.c:835 __fput+0x3bc/0xb80 fs/file_table.c:430 task_work_run+0x14e/0x250 kernel/task_work.c:180 get_signal+0x1ca/0x2710 kernel/signal.c:2683 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x14a/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xdc/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc4f087dc0b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007fc4f14fcea0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: ffffffffffffffff RCX: 00007fc4f087dc0b RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000400 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007fc4f14fcf40 R14: 0000000000005586 R15: 0000000020000bc0