syzbot


INFO: task hung in btrfs_buffered_write

Status: upstream: reported on 2024/06/10 15:10
Reported-by: syzbot+c7adaa0b36966cdaf268@syzkaller.appspotmail.com
First crash: 7d21h, last: 7d21h
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in btrfs_buffered_write 1 246d 246d 0/3 auto-obsoleted due to no activity on 2024/01/24 05:32
upstream INFO: task hung in btrfs_buffered_write btrfs 14 153d 473d 0/27 auto-obsoleted due to no activity on 2024/04/15 13:23

Sample crash report:
INFO: task syz-executor.0:5220 blocked for more than 143 seconds.
      Not tainted 6.1.92-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0  state:D stack:21536 pid:5220  ppid:3575   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 rwsem_down_write_slowpath+0xea1/0x14b0 kernel/locking/rwsem.c:1189
 inode_lock include/linux/fs.h:758 [inline]
 btrfs_inode_lock+0x49/0xd0 fs/btrfs/inode.c:155
 btrfs_buffered_write+0x229/0x1600 fs/btrfs/file.c:1191
 btrfs_direct_write fs/btrfs/file.c:1594 [inline]
 btrfs_do_write_iter+0xf3d/0x12f0 fs/btrfs/file.c:1675
 do_iter_write+0x6e6/0xc50 fs/read_write.c:861
 vfs_writev fs/read_write.c:934 [inline]
 do_pwritev+0x216/0x360 fs/read_write.c:1031
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/10 15:09 linux-6.1.y 88690811da69 048c640a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in btrfs_buffered_write
* Struck through repros no longer work on HEAD.