INFO: task syz-executor.5:10116 blocked for more than 143 seconds. Not tainted 6.8.0-rc1-syzkaller-00024-g5d9248eed480 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28720 pid:10116 tgid:10101 ppid:5084 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x177f/0x4960 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0x149/0x260 kernel/sched/core.c:6817 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6874 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306 inode_lock include/linux/fs.h:802 [inline] do_truncate+0x20c/0x300 fs/open.c:64 vfs_truncate+0x2e1/0x3a0 fs/open.c:112 do_sys_truncate+0xde/0x190 fs/open.c:135 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f6512c7cda9 RSP: 002b:00007f651395a0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f6512dac050 RCX: 00007f6512c7cda9 RDX: 0000000000000000 RSI: 0000000000003dc5 RDI: 0000000020000040 RBP: 00007f6512cc947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f6512dac050 R15: 00007ffc93074d38 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d92ef20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/u4:4/59: #0: ffff8880b983c918 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffffc900015a7d20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc900015a7d20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 2 locks held by kworker/0:2/925: #0: ffff88801308a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #0: ffff88801308a938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 #1: ffffc90003c27d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2608 [inline] #1: ffffc90003c27d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1420 kernel/workqueue.c:2706 2 locks held by getty/4809: #0: ffff8880295960a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b4/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.1/5083: #0: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #0: ffffffff8d9348b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:996 5 locks held by syz-executor.5/10102: 2 locks held by syz-executor.5/10116: #0: ffff888034a7a420 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88803b090940 (&sb->s_type->i_mutex_key#31){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff88803b090940 (&sb->s_type->i_mutex_key#31){++++}-{3:3}, at: do_truncate+0x20c/0x300 fs/open.c:64 1 lock held by syz-executor.2/12667: 2 locks held by syz-executor.4/12691: 2 locks held by syz-executor.5/12695: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc1-syzkaller-00024-g5d9248eed480 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfaf/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5094 Comm: syz-executor.3 Not tainted 6.8.0-rc1-syzkaller-00024-g5d9248eed480 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:check_kcov_mode kernel/kcov.c:175 [inline] RIP: 0010:write_comp_data kernel/kcov.c:236 [inline] RIP: 0010:__sanitizer_cov_trace_cmp1+0x2e/0x90 kernel/kcov.c:266 Code: 4c 8b 04 24 65 48 8b 15 30 c4 74 7e 65 8b 05 31 c4 74 7e a9 00 01 ff 00 74 10 a9 00 01 00 00 74 5b 83 ba fc 15 00 00 00 74 52 <8b> 82 d8 15 00 00 83 f8 03 75 47 48 8b 8a e0 15 00 00 44 8b 8a dc RSP: 0000:ffffc900047ef6a0 EFLAGS: 00000246 RAX: 0000000080000000 RBX: 0000000000000000 RCX: ffff88801f6cbb80 RDX: ffff88801f6cbb80 RSI: 0000000000000006 RDI: 0000000000000000 RBP: 0000000000000006 R08: ffffffff8b221716 R09: ffffffff8b221620 R10: 0000000000000002 R11: ffff88801f6cbb80 R12: 0000000000000000 R13: ffff888036114dc0 R14: 1ffff11006c229b8 R15: ffff888036114dc2 FS: 00005555561e8480(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007effba800000 CR3: 000000002e9f8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xas_load lib/xarray.c:242 [inline] xas_find+0x1f6/0xaa0 lib/xarray.c:1250 find_get_entry mm/filemap.c:1959 [inline] find_lock_entries+0x28b/0x1110 mm/filemap.c:2060 shmem_undo_range+0x2b2/0x1da0 mm/shmem.c:987 shmem_truncate_range mm/shmem.c:1114 [inline] shmem_evict_inode+0x29b/0xa60 mm/shmem.c:1242 evict+0x2a4/0x630 fs/inode.c:665 __dentry_kill+0x1fa/0x600 fs/dcache.c:603 dput+0x19b/0x2b0 fs/dcache.c:845 __fput+0x672/0x890 fs/file_table.c:384 task_work_run+0x24a/0x300 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:108 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline] syscall_exit_to_user_mode+0x167/0x370 kernel/entry/common.c:212 do_syscall_64+0x102/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f7adfa7cb0b 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:00007fff9c19bda0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f7adfa7cb0b RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003 RBP: 00007fff9c19be5c R08: 0000000000000000 R09: 00007fff9c19bb47 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000032 R13: 000000000008eb8d R14: 000000000008e271 R15: 0000000000000007