syzbot


INFO: task hung in fuse_direct_IO (2)

Status: auto-obsoleted due to no activity on 2025/01/12 09:59
Subsystems: fuse
[Documentation on labels]
First crash: 148d, last: 98d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in fuse_direct_IO 1 1065d 1065d 0/1 auto-closed as invalid on 2022/06/20 01:55
upstream INFO: task hung in fuse_direct_IO fuse 1 474d 474d 0/28 auto-obsoleted due to no activity on 2024/01/02 16:16

Sample crash report:
INFO: task syz.2.58:5594 blocked for more than 145 seconds.
      Not tainted 6.12.0-rc3-syzkaller-00007-g6485cf5ea253 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.58        state:D stack:22552 pid:5594  tgid:5590  ppid:5241   flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5322 [inline]
 __schedule+0x1895/0x4b30 kernel/sched/core.c:6682
 __schedule_loop kernel/sched/core.c:6759 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6774
 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2591
 do_wait_for_common kernel/sched/completion.c:95 [inline]
 __wait_for_common kernel/sched/completion.c:116 [inline]
 wait_for_common kernel/sched/completion.c:127 [inline]
 wait_for_completion+0x355/0x620 kernel/sched/completion.c:148
 fuse_direct_IO+0xace/0x1390 fs/fuse/file.c:3064
 generic_file_read_iter+0x22a/0x420 mm/filemap.c:2810
 fuse_cache_read_iter fs/fuse/file.c:1047 [inline]
 fuse_file_read_iter+0x4d7/0x5f0 fs/fuse/file.c:1706
 new_sync_read fs/read_write.c:488 [inline]
 vfs_read+0x9bd/0xbc0 fs/read_write.c:569
 ksys_read+0x183/0x2b0 fs/read_write.c:712
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7feb5f37dff9
RSP: 002b:00007feb60215038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007feb5f536058 RCX: 00007feb5f37dff9
RDX: 000000007ffff000 RSI: 0000000020012400 RDI: 0000000000000005
RBP: 00007feb5f3f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007feb5f536058 R15: 00007ffc97033728
 </TASK>

Showing all locks held in the system:
3 locks held by kworker/1:0/25:
 #0: ffff88801ac78948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
 #0: ffff88801ac78948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
 #1: ffffc900001f7d00 ((fqdir_free_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
 #1: ffffc900001f7d00 ((fqdir_free_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
 #2: ffffffff8f09bb38 (pool_lock){-.-.}-{2:2}, at: free_obj_work+0x13d/0x6d0 lib/debugobjects.c:293
1 lock held by khungtaskd/30:
 #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
 #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720
2 locks held by kworker/u8:9/2542:
2 locks held by getty/4981:
 #0: ffff8880326e80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
1 lock held by udevd/5289:
1 lock held by udevd/5361:
1 lock held by udevd/5469:
1 lock held by syz.2.58/5594:
 #0: ffff888026d52d38 (&f->f_pos_lock){+.+.}-{3:3}, at: fdget_pos+0x24e/0x320 fs/file.c:1160

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

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc3-syzkaller-00007-g6485cf5ea253 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
 watchdog+0xff4/0x1040 kernel/hung_task.c:379
 kthread+0x2f2/0x390 kernel/kthread.c:389
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.12.0-rc3-syzkaller-00007-g6485cf5ea253 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events_unbound kfree_rcu_work
RIP: 0010:lockdep_hardirqs_on_prepare+0x12d/0x780 kernel/locking/lockdep.c:4387
Code: c7 44 24 40 00 00 00 00 9c 8f 44 24 40 80 3c 13 00 74 12 4c 89 f7 e8 c2 7c 8e 00 48 ba 00 00 00 00 00 fc ff df f6 44 24 41 02 <0f> 85 8a 03 00 00 48 c7 c0 40 f9 3c 9a 48 c1 e8 03 0f b6 04 10 84
RSP: 0018:ffffc90000ab77e0 EFLAGS: 00000046
RAX: 0000000000000004 RBX: 1ffff92000156f04 RCX: ffffffff9a3cf903
RDX: dffffc0000000000 RSI: ffffffff8c60fc80 RDI: ffffffff8c60fc40
RBP: ffffc90000ab7888 R08: ffffffff901cf6ef R09: 1ffffffff2039edd
R10: dffffc0000000000 R11: fffffbfff2039ede R12: dffffc0000000000
R13: 1ffff92000156f14 R14: ffffc90000ab7820 R15: 1ffff92000156f00
FS:  0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f36ae735f88 CR3: 000000000e734000 CR4: 0000000000350ef0
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
 _raw_spin_unlock_irqrestore+0x8f/0x140 kernel/locking/spinlock.c:194
 debug_object_deactivate+0x2d5/0x390 lib/debugobjects.c:778
 debug_rcu_head_unqueue kernel/rcu/rcu.h:236 [inline]
 debug_rcu_bhead_unqueue kernel/rcu/tree.c:3301 [inline]
 kvfree_rcu_bulk+0xd4/0x4e0 kernel/rcu/tree.c:3378
 kfree_rcu_work+0x44b/0x500 kernel/rcu/tree.c:3464
 process_one_work kernel/workqueue.c:3229 [inline]
 process_scheduled_works+0xa65/0x1850 kernel/workqueue.c:3310
 worker_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x2f2/0x390 kernel/kthread.c:389
 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/14 09:51 upstream 6485cf5ea253 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in fuse_direct_IO
2024/10/09 12:09 upstream 75b607fab38d 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in fuse_direct_IO
2024/08/25 11:45 upstream 780bdc1ba776 d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in fuse_direct_IO
* Struck through repros no longer work on HEAD.