syzbot


INFO: task hung in fuse_simple_request (3)

Status: upstream: reported on 2025/03/01 01:36
Reported-by: syzbot+b46f8ec1218dbb83850d@syzkaller.appspotmail.com
First crash: 108d, last: 15h18m
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in fuse_simple_request (2) 3 240d 358d 0/3 auto-obsoleted due to no activity on 2025/01/28 01:40
linux-5.15 INFO: task hung in fuse_simple_request 12 599d 698d 0/3 auto-obsoleted due to no activity on 2024/02/03 13:59
upstream INFO: task hung in fuse_simple_request fuse C inconclusive error 273 267d 1646d 0/28 upstream: reported C repro on 2020/12/13 21:13
linux-6.1 INFO: task hung in fuse_simple_request 6 576d 665d 0/3 auto-obsoleted due to no activity on 2024/02/26 14:29
linux-6.1 INFO: task hung in fuse_simple_request (2) 18 8d08h 360d 0/3 upstream: reported on 2024/06/21 20:45
upstream INFO: task can't die in request_wait_answer fuse C error 14 1217d 1727d 0/28 auto-obsoleted due to no activity on 2023/04/16 22:02

Sample crash report:
INFO: task syz.3.2284:13049 blocked for more than 143 seconds.
      Not tainted 5.15.185-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.2284      state:D stack:28040 pid:13049 ppid:  5832 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376
 schedule+0x11b/0x1e0 kernel/sched/core.c:6459
 request_wait_answer fs/fuse/dev.c:411 [inline]
 __fuse_request_send fs/fuse/dev.c:430 [inline]
 fuse_simple_request+0x10e7/0x19c0 fs/fuse/dev.c:515
 fuse_lookup_name+0x279/0x700 fs/fuse/dir.c:383
 fuse_lookup+0x13b/0x5a0 fs/fuse/dir.c:428
 lookup_one_qstr_excl+0x10e/0x240 fs/namei.c:1563
 do_renameat2+0x4ab/0xf70 fs/namei.c:4935
 __do_sys_rename fs/namei.c:5031 [inline]
 __se_sys_rename fs/namei.c:5029 [inline]
 __x64_sys_rename+0x82/0x90 fs/namei.c:5029
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f9026b9f929
RSP: 002b:00007f90249e6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f9026dc7080 RCX: 00007f9026b9f929
RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000200000000280
RBP: 00007f9026c21b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9026dc7080 R15: 00007ffddd2662c8
 </TASK>
INFO: task syz.3.2284:13050 blocked for more than 145 seconds.
      Not tainted 5.15.185-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.2284      state:D stack:28128 pid:13050 ppid:  5832 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376
 schedule+0x11b/0x1e0 kernel/sched/core.c:6459
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518
 rwsem_down_read_slowpath+0x528/0x990 kernel/locking/rwsem.c:1055
 __down_read_common kernel/locking/rwsem.c:1239 [inline]
 __down_read kernel/locking/rwsem.c:1252 [inline]
 down_read+0x96/0x2e0 kernel/locking/rwsem.c:1500
 inode_lock_shared include/linux/fs.h:797 [inline]
 open_last_lookups fs/namei.c:3531 [inline]
 path_openat+0x7e4/0x2f30 fs/namei.c:3739
 do_filp_open+0x1b3/0x3e0 fs/namei.c:3769
 do_open_execat+0x123/0x740 fs/exec.c:918
 bprm_execve+0x511/0x17d0 fs/exec.c:1827
 do_execveat_common+0x51e/0x6d0 fs/exec.c:1957
 do_execve fs/exec.c:2027 [inline]
 __do_sys_execve fs/exec.c:2103 [inline]
 __se_sys_execve fs/exec.c:2098 [inline]
 __x64_sys_execve+0x8e/0xa0 fs/exec.c:2098
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f9026b9f929
RSP: 002b:00007f90249c5038 EFLAGS: 00000246 ORIG_RAX: 000000000000003b
RAX: ffffffffffffffda RBX: 00007f9026dc7160 RCX: 00007f9026b9f929
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000080
RBP: 00007f9026c21b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f9026dc7160 R15: 00007ffddd2662c8
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/27:
 #0: ffffffff8c11bfa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3936:
 #0: ffff88814cf54098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
 #1: ffffc900025d62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158
3 locks held by syz.3.2284/13049:
 #0: ffff88804b238460 (sb_writers#30){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377
 #1: ffff888077128150 (&type->i_mutex_dir_key#19/1){+.+.}-{3:3}, at: lock_rename include/linux/fs.h:-1 [inline]
 #1: ffff888077128150 (&type->i_mutex_dir_key#19/1){+.+.}-{3:3}, at: do_renameat2+0x42a/0xf70 fs/namei.c:4924
 #2: ffff8880771285b8 (&fi->mutex){+.+.}-{3:3}, at: fuse_lock_inode+0xcd/0x120 fs/fuse/inode.c:491
2 locks held by syz.3.2284/13050:
 #0: ffff888025700bc0 (&sig->cred_guard_mutex){+.+.}-{3:3}, at: prepare_bprm_creds fs/exec.c:1479 [inline]
 #0: ffff888025700bc0 (&sig->cred_guard_mutex){+.+.}-{3:3}, at: bprm_execve+0xc4/0x17d0 fs/exec.c:1820
 #1: ffff888077128150 (&type->i_mutex_dir_key#19){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:797 [inline]
 #1: ffff888077128150 (&type->i_mutex_dir_key#19){++++}-{3:3}, at: open_last_lookups fs/namei.c:3531 [inline]
 #1: ffff888077128150 (&type->i_mutex_dir_key#19){++++}-{3:3}, at: path_openat+0x7e4/0x2f30 fs/namei.c:3739

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

NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.185-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
 watchdog+0xe0f/0xe50 kernel/hung_task.c:369
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4329 Comm: kworker/u4:8 Not tainted 5.15.185-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: phy34 ieee80211_iface_work
RIP: 0010:rcu_lock_acquire+0x0/0x30 include/linux/rcupdate.h:311
Code: 54 24 28 48 89 74 24 20 e8 5d 2d 90 f8 48 8b 74 24 20 48 8b 54 24 28 e9 6b fa ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <e8> 5b b5 4a f8 e8 56 b5 4a f8 48 c7 c7 a0 bf 11 8c 31 f6 31 d2 b9
RSP: 0018:ffffc900030af998 EFLAGS: 00000283
RAX: 0000000000000001 RBX: ffff888024be0768 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005
RBP: ffffc900030afbc0 R08: dffffc0000000000 R09: fffff52000615eec
R10: fffff52000615eec R11: 1ffff92000615eeb R12: ffff888060a2cc80
R13: ffff888060a2db08 R14: ffff888024be0768 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1e1d5a5ab8 CR3: 00000000181a4000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 rcu_read_lock include/linux/rcupdate.h:739 [inline]
 ieee80211_update_sta_info net/mac80211/ibss.c:1003 [inline]
 ieee80211_rx_bss_info net/mac80211/ibss.c:1121 [inline]
 ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1614 [inline]
 ieee80211_ibss_rx_queued_mgmt+0xd22/0x29c0 net/mac80211/ibss.c:1643
 ieee80211_iface_process_skb net/mac80211/iface.c:1459 [inline]
 ieee80211_iface_work+0x70e/0xc60 net/mac80211/iface.c:1513
 process_one_work+0x863/0x1000 kernel/workqueue.c:2310
 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/16 20:56 linux-5.15.y 1c700860e8bc d1716036 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in fuse_simple_request
2025/06/10 02:16 linux-5.15.y 1c700860e8bc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in fuse_simple_request
2025/06/02 03:43 linux-5.15.y 98f47d0e9b8c 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in fuse_simple_request
2025/05/18 21:16 linux-5.15.y a68c15152131 f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in fuse_simple_request
2025/05/17 20:33 linux-5.15.y 3b8db0e4f263 f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in fuse_simple_request
2025/04/07 12:43 linux-5.15.y 0c935c049b5c 1c65791e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in fuse_simple_request
2025/04/01 20:42 linux-5.15.y 0c935c049b5c b8645499 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in fuse_simple_request
2025/03/01 01:35 linux-5.15.y c16c81c81336 67cf5345 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in fuse_simple_request
* Struck through repros no longer work on HEAD.