syzbot


INFO: task hung in fuse_set_nowrite

Status: premoderation: reported on 2025/09/28 07:57
Reported-by: syzbot+84cd4c0d453c564dda42@syzkaller.appspotmail.com
First crash: 12d, last: 12d
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in fuse_set_nowrite 1 1 96d 96d 0/3 upstream: reported on 2025/07/06 03:33
upstream INFO: task hung in fuse_set_nowrite (2) fuse 1 1 221d 221d 0/29 auto-obsoleted due to no activity on 2025/06/01 13:09
upstream INFO: task hung in fuse_set_nowrite fuse 1 1 391d 391d 0/29 auto-obsoleted due to no activity on 2024/12/12 21:26

Sample crash report:
INFO: task syz.4.7863:23753 blocked for more than 122 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.7863      state:D stack:0     pid:23753 tgid:23753 ppid:21977  flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5945 [inline]
 __schedule+0x1322/0x1df0 kernel/sched/core.c:7791
 __schedule_loop kernel/sched/core.c:7872 [inline]
 schedule+0xc6/0x240 kernel/sched/core.c:7887
 fuse_set_nowrite+0x1cd/0x310 fs/fuse/dir.c:2129
 fuse_sync_writes fs/fuse/file.c:526 [inline]
 fuse_flush+0x60f/0x1d50 fs/fuse/file.c:561
 filp_flush fs/open.c:1550 [inline]
 filp_close+0xc0/0x160 fs/open.c:1563
 __range_close fs/file.c:710 [inline]
 __close_range+0x50e/0x6c0 fs/file.c:767
 __do_sys_close_range fs/open.c:1616 [inline]
 __se_sys_close_range fs/open.c:1613 [inline]
 __x64_sys_close_range+0x7e/0x90 fs/open.c:1613
 x64_sys_call+0x1686/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:437
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f1a2358eec9
RSP: 002b:00007ffc9b89e9b8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: ffffffffffffffda RBX: 00007f1a237e7da0 RCX: 00007f1a2358eec9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f1a237e7da0 R08: 0000000000000240 R09: 0000001c9b89ecaf
R10: 00007f1a237e7cb0 R11: 0000000000000246 R12: 000000000007f50d
R13: 00007f1a237e5fa0 R14: ffffffffffffffff R15: 00007ffc9b89ead0
 </TASK>
INFO: task syz.4.7863:23757 blocked for more than 123 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.7863      state:D stack:0     pid:23757 tgid:23753 ppid:21977  flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5945 [inline]
 __schedule+0x1322/0x1df0 kernel/sched/core.c:7791
 __schedule_loop kernel/sched/core.c:7872 [inline]
 schedule+0xc6/0x240 kernel/sched/core.c:7887
 schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:7944
 rwsem_down_write_slowpath+0x9e8/0x1b90 kernel/locking/rwsem.c:1239
 __down_write_common kernel/locking/rwsem.c:1383 [inline]
 __down_write kernel/locking/rwsem.c:1392 [inline]
 down_write+0x152/0x2a0 kernel/locking/rwsem.c:1659
 inode_lock include/linux/fs.h:817 [inline]
 fuse_fsync+0x250/0x18f0 fs/fuse/file.c:639
 vfs_fsync_range+0x180/0x3a0 fs/sync.c:194
 generic_write_sync include/linux/fs.h:2894 [inline]
 generic_file_write_iter+0x30c/0x430 mm/filemap.c:4348
 fuse_cache_write_iter fs/fuse/file.c:1489 [inline]
 fuse_file_write_iter+0x1676/0x2650 fs/fuse/file.c:1840
 do_iter_readv_writev+0x628/0x810 fs/read_write.c:-1
 vfs_writev+0x485/0xcf0 fs/read_write.c:1076
 do_writev+0x14d/0x2d0 fs/read_write.c:1123
 __do_sys_writev fs/read_write.c:1196 [inline]
 __se_sys_writev fs/read_write.c:1193 [inline]
 __x64_sys_writev+0x81/0x90 fs/read_write.c:1193
 x64_sys_call+0x1fbb/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:21
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f1a2358eec9
RSP: 002b:00007f1a21fa1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007f1a237e6180 RCX: 00007f1a2358eec9
RDX: 0000000000000001 RSI: 0000200000000000 RDI: 0000000000000008
RBP: 00007f1a23611f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1a237e6218 R14: 00007f1a237e6180 R15: 00007ffc9b89e858
 </TASK>
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 37 Comm: khungtaskd Not tainted syzkaller #0 98bacdaf52065bb91416bd5578e49f5aee2639ea
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:94
 dump_stack_lvl+0x10c/0x190 lib/dump_stack.c:120
 dump_stack+0x19/0x20 lib/dump_stack.c:129
 nmi_cpu_backtrace+0x2bf/0x2d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x142/0x2c0 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:41
 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:267 [inline]
 watchdog+0xd8f/0xed0 kernel/hung_task.c:423
 kthread+0x2ca/0x370 kernel/kthread.c:389
 ret_from_fork+0x67/0xa0 arch/x86/kernel/process.c:153
 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: 0 Comm: swapper/1 Not tainted syzkaller #0 98bacdaf52065bb91416bd5578e49f5aee2639ea
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:pv_native_safe_halt+0x17/0x20 arch/x86/kernel/paravirt.c:106
Code: cc cc cc b8 a8 33 19 43 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d c3 32 3a 00 f3 0f 1e fa 55 48 89 e5 fb f4 <5d> e9 d3 54 02 00 cc cc cc b8 00 00 00 00 90 90 90 90 90 90 90 90
RSP: 0018:ffffc900001a7e00 EFLAGS: 000002c2
RAX: ffff8881f6f00000 RBX: ffff888103668000 RCX: ffffffff858d20be
RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000babf5c
RBP: ffffc900001a7e00 R08: ffff8881f6f39733 R09: 1ffff1103ede72e6
R10: dffffc0000000000 R11: ffffed103ede72e7 R12: 1ffff110206cd000
R13: 0000000000000001 R14: 0000000000000000 R15: ffffffff87cb1ce8
FS:  0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f97147b4198 CR3: 000000010629e000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 arch_safe_halt arch/x86/include/asm/paravirt.h:112 [inline]
 default_idle+0x17/0x30 arch/x86/kernel/process.c:754
 arch_cpu_idle+0xd/0x20 arch/x86/kernel/process.c:791
 default_idle_call+0x3f/0x80 kernel/sched/idle.c:117
 cpuidle_idle_call kernel/sched/idle.c:185 [inline]
 do_idle+0x1a0/0x470 kernel/sched/idle.c:326
 cpu_startup_entry+0x48/0x70 kernel/sched/idle.c:424
 start_secondary+0x12e/0x140 arch/x86/kernel/smpboot.c:314
 common_startup_64+0x13b/0x157
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/28 07:56 android16-6.12 e34340c0d860 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust INFO: task hung in fuse_set_nowrite
* Struck through repros no longer work on HEAD.