syzbot


INFO: task hung in fuse_direct_IO (4)

Status: auto-obsoleted due to no activity on 2025/12/01 01:33
Subsystems: kernel
[Documentation on labels]
First crash: 66d, last: 66d
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in fuse_direct_IO 1 1 1386d 1386d 0/1 auto-closed as invalid on 2022/06/20 01:55
upstream INFO: task hung in fuse_direct_IO (3) kernel 1 1 158d 158d 0/29 auto-obsoleted due to no activity on 2025/09/30 10:03
upstream INFO: task hung in fuse_direct_IO fuse 1 1 794d 794d 0/29 auto-obsoleted due to no activity on 2024/01/02 16:16
upstream INFO: task hung in fuse_direct_IO (2) fuse 1 3 419d 469d 0/29 auto-obsoleted due to no activity on 2025/01/12 09:59

Sample crash report:
INFO: task syz.5.714:8932 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.714       state:D stack:25608 pid:8932  tgid:8930  ppid:6102   task_flags:0x400140 flags:0x00080003
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5325 [inline]
 __schedule+0x1798/0x4cc0 kernel/sched/core.c:6929
 __schedule_loop kernel/sched/core.c:7011 [inline]
 schedule+0x165/0x360 kernel/sched/core.c:7026
 schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75
 do_wait_for_common kernel/sched/completion.c:100 [inline]
 __wait_for_common kernel/sched/completion.c:121 [inline]
 wait_for_common kernel/sched/completion.c:132 [inline]
 wait_for_completion+0x2bf/0x5d0 kernel/sched/completion.c:153
 fuse_direct_IO+0x9d6/0x1210 fs/fuse/file.c:2821
 generic_file_direct_write+0x1db/0x3e0 mm/filemap.c:4176
 fuse_cache_write_iter fs/fuse/file.c:1450 [inline]
 fuse_file_write_iter+0xbf2/0x10a0 fs/fuse/file.c:1783
 aio_write+0x535/0x7a0 fs/aio.c:1634
 __io_submit_one fs/aio.c:-1 [inline]
 io_submit_one+0x78b/0x1310 fs/aio.c:2053
 __do_sys_io_submit fs/aio.c:2112 [inline]
 __se_sys_io_submit+0x185/0x2f0 fs/aio.c:2082
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6b2818eec9
RSP: 002b:00007f6b2901e038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f6b283e5fa0 RCX: 00007f6b2818eec9
RDX: 0000200000000780 RSI: 0000000000000002 RDI: 00007f6b28fd5000
RBP: 00007f6b28211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6b283e6038 R14: 00007f6b283e5fa0 R15: 00007ffe004e1e38
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/31:
 #0: ffffffff8e33d2e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 #0: ffffffff8e33d2e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
 #0: ffffffff8e33d2e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
2 locks held by getty/5625:
 #0: ffff8880305f70a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
1 lock held by syz.5.714/8932:
 #0: ffff888059c04048 (&sb->s_type->i_mutex_key#26){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline]
 #0: ffff888059c04048 (&sb->s_type->i_mutex_key#26){+.+.}-{4:4}, at: fuse_cache_write_iter fs/fuse/file.c:1437 [inline]
 #0: ffff888059c04048 (&sb->s_type->i_mutex_key#26){+.+.}-{4:4}, at: fuse_file_write_iter+0xa70/0x10a0 fs/fuse/file.c:1783

=============================================

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline]
 watchdog+0xf60/0xfa0 kernel/hung_task.c:495
 kthread+0x711/0x8a0 kernel/kthread.c:463
 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 10774 Comm: syz.3.1226 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:unwind_next_frame+0x15d/0x2390 arch/x86/kernel/unwind_orc.c:494
Code: 5d 00 48 85 db 74 23 48 81 c3 88 00 00 00 48 89 d8 48 c1 e8 03 0f b6 04 28 84 c0 0f 85 45 1b 00 00 f6 03 03 0f 85 e4 17 00 00 <49> 8d 5e 35 48 89 d8 48 c1 e8 03 48 89 44 24 28 0f b6 04 28 84 c0
RSP: 0018:ffffc90003186d78 EFLAGS: 00000246
RAX: 1ffff92000630dd3 RBX: 0000000000000000 RCX: c0ffff7051493800
RDX: 0000000000000001 RSI: ffffffff8c03da40 RDI: ffffffff8c03da00
RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff81742d25
R10: ffffc90003186e98 R11: ffffffff81accc30 R12: 1ffff92000630dc9
R13: ffffc90003186e98 R14: ffffc90003186e48 R15: ffffffff81742d25
FS:  0000000000000000(0000) GS:ffff8881259fc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555577f1c608 CR3: 000000002550c000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
 save_stack+0xf5/0x1f0 mm/page_owner.c:156
 __reset_page_owner+0x71/0x1f0 mm/page_owner.c:308
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1394 [inline]
 free_unref_folios+0xdb3/0x14f0 mm/page_alloc.c:2963
 folios_put_refs+0x584/0x670 mm/swap.c:1002
 folio_batch_release include/linux/pagevec.h:101 [inline]
 shmem_undo_range+0x49e/0x14b0 mm/shmem.c:1120
 shmem_truncate_range mm/shmem.c:1232 [inline]
 shmem_evict_inode+0x272/0xa70 mm/shmem.c:1360
 evict+0x504/0x9c0 fs/inode.c:810
 __dentry_kill+0x209/0x660 fs/dcache.c:669
 dput+0x19f/0x2b0 fs/dcache.c:911
 __fput+0x68e/0xa70 fs/file_table.c:476
 task_work_run+0x1d4/0x260 kernel/task_work.c:227
 exit_task_work include/linux/task_work.h:40 [inline]
 do_exit+0x6b5/0x2300 kernel/exit.c:966
 do_group_exit+0x21c/0x2d0 kernel/exit.c:1107
 get_signal+0x1285/0x1340 kernel/signal.c:3034
 arch_do_signal_or_restart+0xa0/0x790 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop+0x72/0x130 kernel/entry/common.c:40
 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
 syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
 do_syscall_64+0x2bd/0xfa0 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9ab2f8eec9
Code: Unable to access opcode bytes at 0x7f9ab2f8ee9f.
RSP: 002b:00007f9ab3e38038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: 0000000000010106 RBX: 00007f9ab31e6090 RCX: 00007f9ab2f8eec9
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000004
RBP: 00007f9ab3011f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9ab31e6128 R14: 00007f9ab31e6090 R15: 00007ffe328076d8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/02 01:31 linux-next 3b9b1f8df454 a1859138 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in fuse_direct_IO
* Struck through repros no longer work on HEAD.