syzbot


INFO: task hung in fuse_open_common

Status: auto-obsoleted due to no activity on 2024/04/30 12:05
Subsystems: fuse
[Documentation on labels]
First crash: 569d, last: 569d

Sample crash report:
INFO: task syz-executor.2:27360 blocked for more than 143 seconds.
      Not tainted 6.8.0-rc2-syzkaller-00047-g1bbb19b6eb1b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:26392 pid:27360 tgid:27357 ppid:5102   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5400 [inline]
 __schedule+0x177f/0x49a0 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/0x30 kernel/sched/core.c:6874
 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178
 __down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306
 inode_lock include/linux/fs.h:802 [inline]
 fuse_open_common+0x213/0x680 fs/fuse/file.c:241
 do_dentry_open+0x907/0x15a0 fs/open.c:953
 do_open fs/namei.c:3641 [inline]
 path_openat+0x285f/0x3240 fs/namei.c:3798
 do_filp_open+0x234/0x490 fs/namei.c:3825
 do_sys_openat2+0x13e/0x1d0 fs/open.c:1404
 do_sys_open fs/open.c:1419 [inline]
 __do_sys_creat fs/open.c:1495 [inline]
 __se_sys_creat fs/open.c:1489 [inline]
 __x64_sys_creat+0x123/0x170 fs/open.c:1489
 do_syscall_64+0xf9/0x240
 entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7f410147dda9
RSP: 002b:00007f41021740c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f41015abf80 RCX: 00007f410147dda9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040
RBP: 00007f41014ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f41015abf80 R15: 00007ffce78ceba8
 </TASK>
INFO: task syz-executor.2:27362 blocked for more than 143 seconds.
      Not tainted 6.8.0-rc2-syzkaller-00047-g1bbb19b6eb1b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:26576 pid:27362 tgid:27357 ppid:5102   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5400 [inline]
 __schedule+0x177f/0x49a0 kernel/sched/core.c:6727
 __schedule_loop kernel/sched/core.c:6802 [inline]
 schedule+0x149/0x260 kernel/sched/core.c:6817
 request_wait_answer fs/fuse/dev.c:407 [inline]
 __fuse_request_send fs/fuse/dev.c:426 [inline]
 fuse_simple_request+0x1198/0x1b90 fs/fuse/dev.c:513
 fuse_send_open fs/fuse/file.c:50 [inline]
 fuse_file_open+0x50d/0xb60 fs/fuse/file.c:147
 fuse_do_open fs/fuse/file.c:174 [inline]
 fuse_open_common+0x302/0x680 fs/fuse/file.c:253
 do_dentry_open+0x907/0x15a0 fs/open.c:953
 do_open fs/namei.c:3641 [inline]
 path_openat+0x285f/0x3240 fs/namei.c:3798
 do_filp_open+0x234/0x490 fs/namei.c:3825
 do_sys_openat2+0x13e/0x1d0 fs/open.c:1404
 do_sys_open fs/open.c:1419 [inline]
 __do_sys_creat fs/open.c:1495 [inline]
 __se_sys_creat fs/open.c:1489 [inline]
 __x64_sys_creat+0x123/0x170 fs/open.c:1489
 do_syscall_64+0xf9/0x240
 entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7f410147dda9
RSP: 002b:00007f41021530c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f41015ac050 RCX: 00007f410147dda9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040
RBP: 00007f41014ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f41015ac050 R15: 00007ffce78ceba8
 </TASK>
INFO: task syz-executor.2:27369 blocked for more than 143 seconds.
      Not tainted 6.8.0-rc2-syzkaller-00047-g1bbb19b6eb1b #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:27416 pid:27369 tgid:27357 ppid:5102   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5400 [inline]
 __schedule+0x177f/0x49a0 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/0x30 kernel/sched/core.c:6874
 rwsem_down_write_slowpath+0xeea/0x13b0 kernel/locking/rwsem.c:1178
 __down_write_common+0x1ae/0x200 kernel/locking/rwsem.c:1306
 inode_lock include/linux/fs.h:802 [inline]
 fuse_open_common+0x213/0x680 fs/fuse/file.c:241
 do_dentry_open+0x907/0x15a0 fs/open.c:953
 do_open fs/namei.c:3641 [inline]
 path_openat+0x285f/0x3240 fs/namei.c:3798
 do_filp_open+0x234/0x490 fs/namei.c:3825
 do_sys_openat2+0x13e/0x1d0 fs/open.c:1404
 do_sys_open fs/open.c:1419 [inline]
 __do_sys_creat fs/open.c:1495 [inline]
 __se_sys_creat fs/open.c:1489 [inline]
 __x64_sys_creat+0x123/0x170 fs/open.c:1489
 do_syscall_64+0xf9/0x240
 entry_SYSCALL_64_after_hwframe+0x6f/0x77
RIP: 0033:0x7f410147dda9
RSP: 002b:00007f41021320c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f41015ac120 RCX: 00007f410147dda9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040
RBP: 00007f41014ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f41015ac120 R15: 00007ffce78ceba8
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/29:
 #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
 #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
 #0: ffffffff8e130ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by getty/4811:
 #0: ffff88802bbad0a0 (&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
4 locks held by kworker/u4:7/23068:
2 locks held by syz-executor.2/27360:
 #0: ffff88802c9a8420 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
 #1: ffff88804d391590 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
 #1: ffff88804d391590 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: fuse_open_common+0x213/0x680 fs/fuse/file.c:241
2 locks held by syz-executor.2/27362:
 #0: ffff88802c9a8420 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
 #1: ffff88804d391590 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
 #1: ffff88804d391590 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: fuse_open_common+0x213/0x680 fs/fuse/file.c:241
2 locks held by syz-executor.2/27369:
 #0: ffff88802c9a8420 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
 #1: ffff88804d391590 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
 #1: ffff88804d391590 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: fuse_open_common+0x213/0x680 fs/fuse/file.c:241
2 locks held by syz-executor.4/27539:
 #0: ffff888015bb6420 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
 #1: ffff88804d390810 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
 #1: ffff88804d390810 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: fuse_open_common+0x213/0x680 fs/fuse/file.c:241
2 locks held by syz-executor.4/27545:
 #0: ffff888015bb6420 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
 #1: ffff88804d390810 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
 #1: ffff88804d390810 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: fuse_open_common+0x213/0x680 fs/fuse/file.c:241
2 locks held by syz-executor.2/28760:
 #0: ffff888077e8c420 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
 #1: ffff88804d393750 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
 #1: ffff88804d393750 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: fuse_open_common+0x213/0x680 fs/fuse/file.c:241
2 locks held by syz-executor.2/28762:
 #0: ffff888077e8c420 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409
 #1: ffff88804d393750 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline]
 #1: ffff88804d393750 (&sb->s_type->i_mutex_key#41){+.+.}-{3:3}, at: fuse_open_common+0x213/0x680 fs/fuse/file.c:241

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

NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc2-syzkaller-00047-g1bbb19b6eb1b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e7/0x2e0 lib/dump_stack.c:106
 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:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xfaf/0xff0 kernel/hung_task.c:379
 kthread+0x2ef/0x390 kernel/kthread.c:388
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3872 Comm: kworker/u4:10 Not tainted 6.8.0-rc2-syzkaller-00047-g1bbb19b6eb1b #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Workqueue: bat_events batadv_purge_orig
RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline]
RIP: 0010:rcu_is_watching+0x10/0xb0 kernel/rcu/tree.c:700
Code: e2 09 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 53 65 ff 05 38 f2 88 7e <e8> ab be e2 09 89 c3 83 f8 08 73 7a 49 bf 00 00 00 00 00 fc ff df
RSP: 0018:ffffc9000d3d7900 EFLAGS: 00000283
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81713740
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8f842628
RBP: ffffc9000d3d7a58 R08: ffffffff8f84262f R09: 1ffffffff1f084c5
R10: dffffc0000000000 R11: fffffbfff1f084c6 R12: 1ffff92001a7af30
R13: ffffffff8b2b311a R14: ffffffff8b2b311a R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a504b01600 CR3: 000000000df32000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 trace_lock_release include/trace/events/lock.h:69 [inline]
 lock_release+0xbf/0x9d0 kernel/locking/lockdep.c:5765
 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:165 [inline]
 _raw_spin_unlock_bh+0x1b/0x40 kernel/locking/spinlock.c:210
 spin_unlock_bh include/linux/spinlock.h:396 [inline]
 batadv_purge_orig_ref+0x150a/0x1600 net/batman-adv/originator.c:1287
 batadv_purge_orig+0x19/0x60 net/batman-adv/originator.c:1300
 process_one_work kernel/workqueue.c:2633 [inline]
 process_scheduled_works+0x913/0x1420 kernel/workqueue.c:2706
 worker_thread+0xa5f/0x1000 kernel/workqueue.c:2787
 kthread+0x2ef/0x390 kernel/kthread.c:388
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/31 11:57 upstream 1bbb19b6eb1b 373b66cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs INFO: task hung in fuse_open_common
* Struck through repros no longer work on HEAD.